Re: configure fails due to glib test, even when "disabled"

Jeff Smith <[email protected]> Sun, 2 Dec 2007 13:53:42 -0800 (PST)
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
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 <[email protected]>
To: [email protected]
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





      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

_______________________________________________
mdbtools-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mdbtools-dev