Problems with "configure" in building open source software (pango + cairo + wxWidgets, etc.)



Hello,

I've been assigned by my company to compile open source software on a SLES 9 system. This is to enable it to run on newer systems. I have a question about using "configure" prior to make; make install.

Specifically, I'm compiling pango 1.10.2 and it wants a version of glib2 >= 2.5.7. OK, so I downloaded glib-2.12.11, compiled it with a prefix= pointing to a temporary area for the install. I am now compiling pango and trying to get it to point to this newer version of glib. Here's what the line looks like:

./configure --prefix=/tmp/external.sw  \
--with-cairo=yes \
--enable-static \
LDFLAGS=-L/tmp/external.sw/lib CPPFLAGS=-I/tmp/external.sw/include


So, it fails on configure, and I can't compile.  here's the relevant output:

checking for cairo >= 0.5.2-head... Package libpixman was not found in the
pkg-config search path.
Perhaps you should add the directory containing `libpixman.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpixman', required by 'cairo', not found
checking for glib-2.0 >= 2.5.7 gobject-2.0 gmodule-no-export-2.0...
Requested 'glib-2.0 >= 2.5.7' but version of GLib is 2.2.3
configure: error:
*** Glib 2.5.7 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.


The glib stuff is in the /tmp/external.sw directory, but configure doesn't find it. How can I get it to find the things I've previously built and want to feed it? This is actually a building block for a larger build, and I want to build all the dependency software, then link it all statically for the company requirement. I'm not proficient yet with open source sw, so if someone could explain, or point me to where I can find the info on how to configure these builds, it would be greatly
appreciated.

Thanks,

Ron



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]