-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 06 January 2003 11:38 am, Saadat Saeed wrote: > Yep I checked it - it IS installed.... any suggestions????
> > > I just compiled the freeglut package as > > > ./configure --includedir=/usr/include/glib-2.0 > > > > > > -fPIC -DPIC freeglut_callbacks.c -o .libs/freeglut_callbacks.lo > > > In file included from freeglut_callbacks.c:35: > > > ../include/GL/freeglut_internal.h:71:18: glib.h: No such file or > > > >Do you have the glib2-devel package installed? > > > >$ rpm -qf /usr/include/glib-2.0/glib.h > >glib2-devel-2.0.6-2 Yes, ask the author to fix his configure scripts to pick up the needed CFLAGS and LDFLAGS for glib. ;) Failing that, this should work: $ glib-config --cflags - -I/usr/include/glib-1.2 -I/usr/lib/glib/include $ glib-config --libs - -L/usr/lib -lglib Run the above commands, make sure you come up with the same flags on your system. Then, just export the values. Configure will use the exported values to set things up properly. $ export CFLAGS="-I/usr/include/glib-1.2 -I/usr/lib/glib/include" $ export LDFLAGS="-L/usr/lib -lglib" $ ./configure $ make Done. I tested it and it builds fine for me. - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+Glr6n/07WoAb/SsRAv8eAJ9K7RPA6N/vxOH+FmRlMxBzqQwE7wCgpyR1 KR8fbtrfOWLmOUdEXQ1nht8= =b9vl -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list