I am trying to install a more recent version of a program than what is available via Synaptic, but I am running into a few problems. And I have one question beyond those problems. This is what I've done so far.
I downloaded the .tar.gz2
, created a folder in /usr/local/
for the program. Call it app
. So I now have a folder /usr/local/app
. Inside the folder I extracted the archive. I then navigated a terminal to that folder and ran
sudo apt-get build-dep app
It downloaded and installed several libraries and I thought I was set. However, when I ran sh ./configure
I encountered the following problem:
checking for GLIB - version >= 2.14.0...
'pkg-config --modversion glib-2.0' returned 2.14.0, but GLIB (2.28.6)
was found! If pkg-config was correct, then it is best
to remove the old version of GLib. You may also be able to fix the error
by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
/etc/ld.so.conf. Make sure you have run ldconfig if that is
required on your system.
If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
to point to the correct configuration files
Ok, no problem. I went out and found Glib 2.14.0. I created a new folder /usr/local/glib
. I extracted the archive to that folder. I ran the sh ./configure
for Glib, and it went off without a hitch. I then ran make install for Glib. Again, no problems. It installed successfully. So now I was ready to rock! Back I went into /usr/local/app
, and once again I ran sh ./configure
. And I got the exact same error message. I am not understanding the message as it appears to say that ./configure
requires GLib version 2.14.0 or later, and it found version 2.28.6, which would more than meet the requirement. I'm not great with shell scripts so I am somewhat, well, entirely, confused as to what it is this thing wants from me.
I am running Ubuntu 11.04 on a Toshiba Satellite. As you can see I'm not exactly a terminal warrior, but I can usually scratch my way through most problems and have learned quite a bit as I go. This one just has me stumped.