Compiling Software from Source, Part IV

Compiling Software from Source, Part IV

You might remember from last week that I’d gotten to the gnome-vfs
package and ended up with it telling me to install the same
library I’d just finished installing. Oops! Well, I tried running
make install again for that
library, just in case I forgot that silly step, but that didn’t
fix the problem. So, this probably means that the bonobo libraries
aren’t being installed where gnome-vfs expects them. The specific
message is:

configure: error: Library
requirements (libbonobo-2.0 >= 2.0.0) not met; consider adjusting
the PKG_CONFIG_PATH environment variable if your libraries are in
a nonstandard prefix so pkg-config can find them.

I open a separate terminal window and type locate libbonobo | more to see where the libraries
were installed. There’s lots of them in /usr/lib, /usr/local/include/libbonobo-2.0, /usr/local/lib/… and I think I saw pkgconfig pass by there as well.
So, I type:

$ locate libbonobo | grep pkgconfig

That’s likely what it’s looking for, so why isn’t it finding it?
Ah ha:


The environment variable is empty. Now, I type the following in
the window I’m using for the compilation (so the variable will be
set in the proper subshell):


and try ./configure again.
Nope. Same error. I use echo
again in the compilation screen and yes, the environment variable
is set correctly. Time to use ./configure --help | more for further assistance.

That’s it for this week. I’m going to keep going with this series

  1. Lots of people beg me to stop.
  2. I stop running
    into new and interesting problems.

Next week: Will Dee-Ann ever get gnome-vfs compiled?