From: Dane S. <bl...@ha...> - 2007-12-03 18:29:42
|
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 |