On Fri, 07 May 2004 11:29:59 EDT, Dov Kruger <dkruger stevens edu> said: > Hello, > configure:21804: gcc -o conftest -g -O2 -Wall conftest.c >&5 > conftest.c:27:18: glib.h: No such file or directory And there's your problem.... > I tried building glib-2.4.1 by hand from source, which puts the > libraries in /usr/local/lib, and my LD_LIBRARY_PATH is set to that > first. No difference. So what am I doing wrong? You may have gotten the lib*.so* files in the right place, but what this is complaining about is not being able to find the *.h files it needs. It's interesting that there's no -I parameter in the gcc command line - this probably means that 'pkg-config --cflags glib-2.0' doesn't return anything. At least on my Fedora system: % pkg-config --cflags glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include If it doesn't produce a -I that lists a directory that has glib.h in it, that's your problem right there.
Attachment:
pgprjo9R6MA9W.pgp
Description: PGP signature