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

woher nimmt libtool seine pfade?



Hi,

Ich versuche gerade, eine Reihe von Paketen selber von source zu bauen. Eine beachtliche Anzahl an Bibliotheken mit dem prefix=/opt/gtk2.4/ existiert und ich versuche mich gerade an gtksourceview-0.8.0.

Es ist

> echo $PKG_CONFIG_PATH
/opt/gtk2.4/lib/pkgconfig/

und

> cat /etc/ld.so.conf
/opt/mono-beta2/lib
/opt/gtk2.4/lib
/usr/X11R6/lib
> sudo ldconfig
> echo $LD_CONFIG_PATH
/opt/gtk2.4/lib/

(wobei letzteres ueberfluessig sein sollte)
Dann mache ich

> make clean
[...]
> ./configure --prefix=/opt/mono-beta2/
[alles ok soweit]

und es passiert

> make
[...]
/bin/sh ../libtool --mode=link gcc -g -O2 -o test-widget test-widget.o ../gtksourceview/libgtksourceview-1.0.la -Wl,--export-dynamic -L/opt/gtk2.4//lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -pthread -Wl,--export-dynamic -L/opt/gtk2.4//lib -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lpthread -lz -lart_lgpl_2 -lpangoft2-1.0 -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
mkdir .libs
libtool: link: cannot find the library `/usr/lib/libgnomecanvas-2.la'
make[2]: *** [test-widget] Error 1
make[2]: Leaving directory `/var/local/install/mono/mono-beta2/gtksourceview-0.8.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/local/install/mono/mono-beta2/gtksourceview-0.8.0'
make: *** [all] Error 2


Ich sehe, dass libtool die Datei libgnomecanvas-2.la in /usr/lib sucht, was er aber nicht tun soll, ich will, dass er die existierende Datei in /opt/gtk2.4/lib linkt. Zusaetzlich sehe ich bei "libtool --config" eine Menge Variablen, die ich gerne setzen wuerde in der Hoffnung, das Problem zu umgehen, ich hab nur keine Ahnung wie. Die manpage ist leider wenig hilfreich mit dem Hinweis

--tag=TAG
              Use configuration variables from tag TAG


ohne eine Erklaerung, wie TAG auszusehen hat. Kann mir jemand einen Hinweis geben?
Rechte sind in Ordnung.

Gruss,
Matthias



Reply to: