Hiya all, I'm trying to build an rpm of gpa, and I've got the src.rpm fine, but when I do: rpmbuild --rebuild <src.rpm> it ends with: checking for GTK+ - version >= 2.2.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: Cannot find GTK+ 2.0 I tried exporting GTK to /opt/gnome/lib (which is where I think GTK+ is), but it didn't make any difference. Anyone got any ideas how I can get around this? JB -- "In the beginning of a change, the patriot is a brave and scarce man, hated and scorned. When the cause succeeds, however, the timid join him...for then it costs nothing to be a patriot." - Mark Twain "Calling an illegal alien an undocumented immigrant is like calling a burglar an uninvited house guest." <www.illegalaliens.us>
On Friday 01 September 2006 12:16, JB wrote:
Hiya all,
I'm trying to build an rpm of gpa, and I've got the src.rpm fine, but when I do:
rpmbuild --rebuild <src.rpm>
it ends with:
checking for GTK+ - version >= 2.2.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: Cannot find GTK+ 2.0
I tried exporting GTK to /opt/gnome/lib (which is where I think GTK+ is), but it didn't make any difference. Anyone got any ideas how I can get around this?
Try installing gtk2-devel
On Friday 01 September 2006 05:27, Anders Johansson wrote:
On Friday 01 September 2006 12:16, JB wrote:
Hiya all,
I'm trying to build an rpm of gpa, and I've got the src.rpm fine, but when I do:
rpmbuild --rebuild <src.rpm>
it ends with:
checking for GTK+ - version >= 2.2.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: Cannot find GTK+ 2.0
I tried exporting GTK to /opt/gnome/lib (which is where I think GTK+ is), but it didn't make any difference. Anyone got any ideas how I can get around this?
Try installing gtk2-devel
It was and is. I've tried doing this: export GTK=/opt/gnome/include/gtk-2.0/gtk (and other places gtk-2.0 showed up in /opt/gnome), but it still can't find GTK+. What am I doing wrong? Should I be 'exporting'? If I try : export GTK+=<path> It's an invalid identifier. Is there anything I can show anyone to help figure out what I'm doing wrong? Thanks, JB
On Friday 01 September 2006 21:50, JB wrote:
Try installing gtk2-devel
It was and is. I've tried doing this:
export GTK=/opt/gnome/include/gtk-2.0/gtk
(and other places gtk-2.0 showed up in /opt/gnome), but it still can't find GTK+. What am I doing wrong? Should I be 'exporting'? If I try :
export GTK+=<path>
It's an invalid identifier. Is there anything I can show anyone to help figure out what I'm doing wrong?
Have a look at the file config.log in the compile directory. Towards the end, it should tell you what is going wrong. Sometimes the configure output can be grossly misleading, but config.log always holds the truth If you can't make sense of it, feel free to gzip it and send it to me, and I can have a look at it
participants (3)
-
Anders Johansson
-
Anders Johansson
-
JB