Re: Problems building ATK 1.0.2



HI,

The variables glib_major_version, glib_minor_version, glib_micro_version should 
be defined in /usr/local/include/glib-2.0/glib/gutils.h which should be included 
by /usr/local/include/glib-2.0/glib.h.

Can you figure out what include files are being included?

Padraig

> Hi all,
> 
>     I'm trying to build GTK+ 2.0.5.  I installed GLIB 2.0.4 in /usr/local.
> 
>     When I try to build ATK 1.0.2, the configure script doesn't find GLIB
> >= 2.0.0 and aborts, sending the following error message:
> 
> checking for GLIB - version >= 2.0.0... no
> *** Could not run GLIB 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 GLIB is incorrectly
> installed.
> 
>     From the config.log file, I saw that the error was because 'configure'
> didn't find some header files (glib.h and glibconfig.h), so I ran
> configure again, but setting the variable CPPFLAGS:
> 
> ./configure CPPFLAGS="-I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include"
> 
>     But 'configure' failed again, giving the same error message pasted
> above.  However, the error in config.log changed to this:
> 
> configure:7289: checking for GLIB - version >= 2.0.0
> configure:7434: result: no
> configure:7470: gcc -o conftest -g -O2 -Wall
> -I/usr/local/include/glib-2.0 -I/u
> sr/local/lib/glib-2.0/include  conftest.c   >&5
> /tmp/ccMxhdvy.o: In function `main':
> /home/alexandre/src/atk-1.0.2/configure:7462: undefined reference to
> `glib_major
> _version'
> /home/alexandre/src/atk-1.0.2/configure:7462: undefined reference to
> `glib_minor
> _version'
> /home/alexandre/src/atk-1.0.2/configure:7462: undefined reference to
> `glib_micro
> _version'
> collect2: ld returned 1 exit status
> 
>     I tried some other things, like setting LDFLAGS="-lglib-2.0", but
> didn't work (although the error message was quite different).  I also ran
> 'ldconfig' after GLIB installation.
> 
>     Does anyone know what can be going on?
> 
> 
> []s
> 
> --af
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]