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

Re: glib.h



On Thu, 17 Apr 2003 09:14:54 +0200
Borislav Petkov <borislav.petkov@t-online.de> wrote:

> Hi,
> i've been reading the mailing archive of xchat-discuss and came across your 
> mail concerning the compile problem of some guy not being able to point to 
> the compiler the right location og libglib2.0 dev. I acutally have the same 
> problem, and, it might sound quite funny, but my glib dev library header 
> files are located in the same dir /usr/include/glib-2.0 and i can't seem to 
> figure it out how to tell the preprocessor where to look for. Do you have an
> 
> idea what the problem is?

Configure uses the magic of pkg-config to find the location:

$ pkg-config glib-2.0 --cflags
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

If xchat can't find your Glib2, I suspect ANY gtk2 app won't find it. This is
because it uses the standard macro to detect it:

AM_PATH_GLIB_2_0(2.0.3, glib=yes, glib=no)
if test "$glib" = no; then
	AC_MSG_ERROR("Cannot find glib")
fi

Have a look at "config.log", it might give you some more clues.

-- 
Peter Zelezny.
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/