E-Mail:

Compiling Software from Source, Part V

Compiling Software from Source, Part V

Last week, I finally got that fussy GTK+ package compiled. My
whole purpose for working on GTK+ was that I was trying to compile
the entire GNOME 2.2.1 beta from source, and was starting with the
gnome-desktop package since it is likely the core program I’ll
need. When I tried to compile it, I received the following:

configure: error: Library requirements (gdk-pixbuf-2.0 >= 2.0.3 gtk+-2.0 >= 2.1.2 libgnomeui-2.0 >= 2.1.0 gnome-vfs-2.0 >= 2.0.0 ) not met

So, now the GTK+ issue is resolved. There is no package with “gdk”
in it, so that is no doubt part of another one of the packages
included in my massive GNOME 2.2.1 source directory. I look in
this directory for items related to libgnomeui and find:

# ls libgnome*
libgnome-2.2.0.1.tar.bz2        libgnomeprintui-2.2.1.2.tar.bz2
libgnomecanvas-2.2.0.2.tar.bz2  libgnomeui-2.2.0.1.tar.bz2
libgnomeprint-2.2.1.2.tar.bz2

Since libgnomeui very likely relies on libgnome, I’ll start by
compiling libgnome. First I uncompress it. It’s a bz2 file and not
a tarball, so I use:

bunzip2 libgnome-2.2.0.1.tar.bz2

Then I unpackage it with:

tar xvf libgnome-2.2.0.1.tar

This action creates the directory libgnome-2.2.0.1, which I move into. A quick glance
in the INSTALL file tells me this is a ./configure, make, make install process, and I don’t
get past the ./configure
stage:

configure: error: Library
requirements (glib-2.0 >= 2.0.3 gmodule-2.0 >= 2.0.3 gnome-vfs-2.0 >= 1.9.16 libxml-2.0 >= 2.4.22 libbonobo-2.0 >= 2.0.0 gconf-2.0 >=
1.1.11 audiofile >= 0.2.3 esound >= 0.2.26) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find
them.

Here we go again. The gnome-vfs entry is listed in both gnome-desktop’s errors and libgnome’s errors, so I’ll
start there. After uncompressing, unpackaging, and changing to the
gnome-vfs-2.2.3 directory, the INSTALL file once again tells me
this is a simple three steps. Even the error is relatively simple:

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 follow the usual drill, run ./configure, and yay, no errors. make and make
install
finish the job so I can go back to gnome-vfs. The gnome-vfs ./configure, however, just repeats
the previous error. It’s possible that an environment variable
didn’t get properly updated, so I exit my su session and head back
in, then run the configuration tool again. Same problem. Guess
I’ll have to try some tweaking.

Next week: The saga continues …

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

64 queries / 0.388 seconds.