From: Jeff S. <why...@ya...> - 2007-12-03 18:16:26
|
Probably your best bet is to set the environmental variable PKG_CONFIG_PATH to the directory in which you found the .pc file. -- Jeff Smith ----- Original Message ---- From: Dane Springmeyer <bl...@ha...> To: Jeff Smith <why...@ya...> Cc: mdb...@li... Sent: Sunday, December 2, 2007 6:00:07 PM Subject: Re: [mdb-dev] configure fails due to glib test, even when "disabled" Jeff, I realized that if the disable-glib is not really an option (even though it is found in ./configure --help) then maybe I am misinterpreting that I can even set the path to glib during the configure... Is it even possible to do: ./configure --with-glib=/path to glib... ? I DO HAVE installed glib in a custom directory so maybe I need to do some hacking in the configure scripts? Since I'm new to linux any suggestions would be helpful... For instance, I am aware of setting the "LD_LIBRARY_PATH" and the "LD Flags" ideas but don't know how to go about that... Cheers, Dane On Dec 2, 2007, at 1:53 PM, Jeff Smith wrote: First, despite what may be inferred from the configure script, glib is required. Second, glib is used for data structures and other foundational functions, but has nothing to do with graphics (except that the gtk+ toolkit does use it as a foundation). Did you install glib using Debian packages (via dpkg or apt-get) or by compiling/installing? If you used the Debian packages, did you get the -dev package (i.e. libglib2.0-dev)? In either case, did a glib-2.0.pc file get installed? If glib was installed from Debian packages, it should be located in /usr/lib/pkgconfig . -- Jeff Smith ----- Original Message ---- From: Dane Springmeyer <bl...@ha...> To: mdb...@li... Sent: Saturday, December 1, 2007 5:40:03 PM Subject: [mdb-dev] configure fails due to glib test, even when "disabled" Hopefully someone can help here: I am tring to build mdbtools from cvs (I've also tried the prerelease using the same methods) and I keep on getting an error in the configure step. It is: __________ 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. glib 2.0 is required by MDB Tools. It can be downloaded at www.gtk.org __________ I am installing on Debian Linux on a remote server and I don't even need glib or any of the graphical tools. I just need to compile mdbtools with odbc support for use with the gdal PGEO driver, to convert ms access/ESRI geodatabases to csv output. I have tried both installing glib-2.12.0 and pointing mdbtools to the glib.h file in my directory : /home/dspringmeyer/usr/local/glib-2.0 and I have tried disabling glib as ./configure --help explains. Neither of these options help and I am still prevented from a successful configure step. Anyone have any ideas how to hack the source files to *truly* diable the glib check? Or any other ideas on a way to help? Thanks, Dane Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |