From: Dario A. <aba...@si...> - 2004-11-17 11:01:59
|
Hi! I have trouble compiling the 0.6cvs version of mdbtools: # ./configure checking Are we using flex ... yes checking for pkg-config... /usr/local/bin/pkg-config 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. I look in config.log and see configure:9153: gcc -o conftest -g -O2 -DSQL conftest.c >&5 configure:9163:18: glib.h: No such file or directory So glib.h is not found. I add the path to the compiler flags (glibconfig.h was not found as well so I add the second path respectively): CPPFLAGS="-I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/" ./configure Still I get the same error on configure: 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. Ok, so I look into config.log again and find: configure:9153: gcc -o conftest -g -O2 -DSQL -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/ conftest.c >&5 /tmp/cc0gK6T1.o(.text+0x8): In function `main': /installs/mdbtools/cvs/configure:9169: undefined reference to `glib_major_version' /tmp/cc0gK6T1.o(.text+0x17):/installs/mdbtools/cvs/configure:9169: undefined reference to `glib_minor_version' /tmp/cc0gK6T1.o(.text+0x32):/installs/mdbtools/cvs/configure:9172: undefined reference to `glib_micro_version' This is where my knowledge ends. What can I do to make mdbtools compile? Thanks for your time! Yours, Dario Abatianni |