« Return to Thread: newcomer wonders about reading contents of queries and reports

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

by Dane Springmeyer :: Rate this Message:

Reply to Author | View in Thread

Jeff and Simon,

Thanks so much for the help. Setting theĀ PKG_CONFIG_PATH was exactly what I needed. Here are the steps I used to get mdbtools to find the right version of glib that I installed:


-----

installed a local build of pkg-config:

wget http://pkgconfig.freedesktop.org/releases/pkgconfig-0.18.tar.gz
tar xzvf pkgconfig-0.18.tar.gz
cd pkgconfig-0.18
./configure --prefix=/home/dspringmeyer/usr/local

then set my .bash_profile to have these lines:

PKG_CONFIG_PATH=/home/dspringmeyer/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

LD_LIBRARY_PATH=/home/dspringmeyer/usr/local/lib:/usr/lib:/usr/X11R6/lib:/usr/lib/libc5-compat:/lib/libc5-compat:/usr/i486-linuxlibc1/lib
export LD_LIBRARY_PATH

then, finally, pkg-config found the right pkgconfig directory I set. Here is the configure output:

------
checking for pkg-config... /home/dspringmeyer/usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.12.0)
checking pkg-config is at least version 0.9.0... yes
checking for GNOME... checking gtk-doc version >= 1.0... no
------

makeĀ 
make install


-----

The key seemed to be both setting the LD_LIBRARY_PATH and installing my own local copy of pkg-config after setting the PKG_CONFIG_PATH



Thanks so much. Quite a grueling process but I understand Linux a whole lot better than I did before.

Cheers,

Dane







-------------------------------------------------------------------------
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
mdbtools-dev@...
https://lists.sourceforge.net/lists/listinfo/mdbtools-dev

 « Return to Thread: newcomer wonders about reading contents of queries and reports

LightInTheBox - Buy quality products at wholesale price!