Operating System - HP-UX
1753415 Members
6958 Online
108793 Solutions
New Discussion юеВ

./configure will not detect GTK+2 2.2.2

 
Edgar Arroyo
Regular Advisor

./configure will not detect GTK+2 2.2.2

I installed GLIB 2 ver 2.2.2 and GTK+2 ver 2.2.2 and when running ./configure for gAIM 0.78 I get this message:

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.2.2)
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GTK+ - version >= 2.0.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:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.
[/var/share/install/gaim-0.78@unix1] #

I had previously installed GTK+1.4 for the Gnome for HP-UX, do I need to do something special in order to use version 2?

Thanks.
3 REPLIES 3
Edgar Arroyo
Regular Advisor

Re: ./configure will not detect GTK+2 2.2.2

Here is what's in the config.log file:

configure:25285: checking for GTK+ - version >= 2.0.0
configure:25401: gcc -o conftest -g -O2 -Wall -g3 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include conftest.c -Wl,-E -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXext -latk-1.0 -lgdk_pixbuf-2.0 -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm -lnsl -lintl >&5
/usr/ccs/bin/ld: Can't find library for -lXext
collect2: ld returned 1 exit status
configure:25404: $? = 1
configure: program exited with status 1
configure: failed program was:
| #line 25320 "configure"
Edgar Arroyo
Regular Advisor

Re: ./configure will not detect GTK+2 2.2.2

Edgar Arroyo
Regular Advisor

Re: ./configure will not detect GTK+2 2.2.2

This is a fix to gcc 3.3.2:

http://gcc.gnu.org/ml/gcc/2003-06/msg02325.html

:) I can compile now! Hurray!