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

Dane Springmeyer <[email protected]> Sun, 2 Dec 2007 16:00:07 -0800
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
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 <[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
>
> Be a better sports nut! Let your teams follow you with Yahoo  
> Mobile. Try it now.

-------------------------------------------------------------------------
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