Re: [Evolution] evolution 1.5.90 compile issues(2nd try)



On Tue, 2004-08-10 at 20:21 -0500, AG wrote:
Ok.
I figured out my e-d-s 0.0.96 compile issues. Now I'm back to struggling w/
the environment variables for evo 1.5.90.

Nearly ready to throw in the towel, and use K-Mail..
If you really want to, go for it, no skin off our noses (or to paraphrase, threats hold little weight around here :).

What I've done:
I have setup the following enviroment variables on my slack box.

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LDFLAGS="-L/usr/local/lib"
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

You shouldn't need to set either ld_library_path (i presume its in your ld.so.config?  have you run ldconfig as root?), or especially LDFLAGS - LDFLAGS will be determined by the pkg-config stuff.  Although neither of those should cause harm either.
The problem:
Compile fails to find the appropriate libraries, despite the fact that said
libs exist on my system.

/* begin compile errors */

checking for glib-2.0 libbonoboui-2.0 >= 2.4.2 gnome-vfs-2.0 libgnomeui-2.0
libglade-2.0 libgnomecanvas-2.0 libxml-2.0 gconf-2.0 gal-2.2 >= 2.1.11...
Package gal-2.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gal-2.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gal-2.2' found

What does "pkg-config --modversion gal-2.2" show?  If nothing, then you don't have the pkg-config path setup properly or something to that effect.

configure: error: Library requirements (glib-2.0 libbonoboui-2.0 >= 2.4.2
gnome-vfs-2.0 libgnomeui-2.0 libglade-2.0 libgnomecanvas-2.0 libxml-2.0
gconf-2.0 gal-2.2 >= 2.1.11) not met; consider adjusting the
PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard
prefix so pkg-config can find them.

/* end compile errors */

gal-2.2 is located here -> /usr/local/gal-2.1.12/gal-2.2.pc

Well, that is'nt in /usr/local/lib/pkgconfig is it?  PKG_CONFIG_PATH needs to have the paths to where the .pc files are located.

It seems odd that it is there, is that the source tree or something, since the installed files aren't there at all.

I suggest just copying it to /usr/local/lib/pkgconfig.

/* contents of gal-2.2 */
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
GAL_API_VERSION=2.2

Name: GAL
Description: GNOME Application Library
Version: 2.1.12
Requires: gtk+-2.0 >= 2.2 libgnomecanvas-2.0 >= 2.2.0.2 libxml-2.0
libglade-2.0 libgnomeprint-2.2

Libs: -L${libdir} -lgal-2.2 -lgal-a11y-2.2
Cflags: -I${includedir}/gal-2.2
/* end contents of gal-2.2 */

'locate libbonoboui-2.0' yields ->
/usr/lib/pkgconfig/libbonoboui-2.0.pc
/usr/local/lib/pkgconfig/libbonoboui-2.0.pc
/usr/local/libbonoboui-2.4.4/po/libbonoboui-2.0.pot
/usr/local/libbonoboui-2.4.4/bonobo/libbonoboui-2.0.pc.in
/usr/local/libbonoboui-2.4.4/bonobo/libbonoboui-2.0.pc

'locate libgnomecanvas-2.0' yields ->
/usr/lib/pkgconfig/libgnomecanvas-2.0.pc

'locate gnome-vfs-2.0' yields ->
/usr/lib/pkgconfig/gnome-vfs-2.0.pc

'locate libglade-2.0' yields ->
/var/log/packages/libglade-2.0.1-i386-1
/usr/lib/pkgconfig/libglade-2.0.pc

'locate libgnomeui-2.0' yields ->
/usr/lib/pkgconfig/libgnomeui-2.0.pc

'locate libxml-2.0' yields ->
/usr/lib/pkgconfig/libxml-2.0.pc

'locate gconf-2.0' yields ->
/usr/lib/pkgconfig/gconf-2.0.pc

It's probably finding these, it will fail the test if just one of the tests fail.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


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