From: Dane S. <bl...@ha...> - 2007-12-02 23:31:55
|
Hi Jeff, Thanks for the clarification. That's helpful, now I know to persist in getting mdbtools to find glib. I installed, compiled, and built using: wget ftp://ftp.gtk.org/pub/glib/2.12/glib-2.12.0.tar.gz tar xzvf glib-2.12.0 cd glib-2.12.0 ./configure --prefix=/home/dspringmeyer/usr/local make make install The prefix is key because I don't have root access. But the glib build worked fine I thought. I have within my home/dspringmeyer/ directory: usr/local/lib/glib-2.0/include/glibconfig.h usr/local/lib/pkgconfig/glib-2.0.pc usr/local/lib/pkgconfig/glib-2.0.pc usr/local/lib/libglib-2.0.la usr/local/lib/libglib-2.0.so usr/local/lib/libglib-2.0.so.0 usr/local/lib/libglib-2.0.so.o.1200.0 So where would be the right place to point --with-glib ??? With no success I've tried: --with-glib=/home/dspringmeyer/usr/local/lib --with-glib=/home/dspringmeyer/usr/local/glib-2.0 --with-glib=/home/dspringmeyer/usr/local/lib/pkgconfig/ I am also getting these lines right before the error: checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, check Do I need to set the pkg-config directory seen above to this?: /home/ dspringmeyer/usr/local/lib/pkgconfig/ And if so, how would I do that within the ./configure command? Thanks, 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. |