Graeme 'Grimace' Jefferis wrote:

Hallo there,

I've recently been installing GTK+-2 on my RedHat 7.2 system, from binary
RPMs. I run ROX as my desktop environment of choice, and its applications
tend to use pyGTK extensively; but I've run into difficulties compiling
pyGTK 1.99.13.

make halts with the following:

---
[...]
Making all in gtk
make[2]: Entering directory `/home/grim/Apps/ROX-Apps/pygtk-1.99.13/gtk'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -std=c9x -o
_gtkmodule.la -rpath
/usr/local/lib/python2.2/site-packages/gtk-2.0/gtk -module -avoid-version -e
xport-symbols-regex init_gtk _gtkmodule_la-gtkmodule.lo
_gtkmodule_la-gtkobject-support.lo _gtkmodule_la-gtk-types.lo
_gtkmodule_la-pygtktreemodel.lo _gtkmodule_la-pygtkcellrenderer.lo
_gtkmodule_la-gtk.lo
_gtkmodule_la-gdk.lo -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-
1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2
.0 -lgmodule-2.0 -ldl -lglib-2.0
grep: /usr/local/lib/libglib-2.0.la: No such file or directory
sed: can't read /usr/local/lib/libglib-2.0.la: No such file or directory
libtool: link: `/usr/local/lib/libglib-2.0.la' is not a valid libtool
archive
make[2]: *** [_gtkmodule.la] Error 1
make[2]: Leaving directory `/home/grim/Apps/ROX-Apps/pygtk-1.99.13/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grim/Apps/ROX-Apps/pygtk-1.99.13'
make: *** [all] Error 2
---

My GTK2 install has been made from recent binary RPMs where possible:

glib2 2.0.4
atk 1.0.1-1
pango 1.0.3-2
gtk 2.0.5-1
pygtk 1.99.13

I also have freetype 2.1.2 built from source. I have not installed libglade
or gtkgl [yet].

My limited understanding of such things tells me that it is looking for a
libtools file which has somehow not been installed or is otherwise missing.
I am a little concerned that it is looking in /usr/local/lib, as my
glib2.0.so files (not .la files) reside in /usr/lib. Still, I'd be grateful
for any suggestions on ways to proceed.

This sounds like you have a mismatch of packages -- some that have had the .la files removed (probably your glib package), and some that were compiled in the presence of the .la files. Libtool really doesn't like this. You will probably need to remove any .la files in that reference /usr/local/lib/libglib-2.0.la (and do this recursively for any .la files you remove ...). Alternatively you could try removing all the .la files which will also likely fix your problem.

James.

--
Email: [EMAIL PROTECTED] | Linux.conf.au http://linux.conf.au/
WWW: http://www.daa.com.au/~james/ | Jan 22-25 Perth, Western Australia.


_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Reply via email to