[cairo] Pixman 0.10 doesn't compile
Quentin Godfroy
godfroy at clipper.ens.fr
Tue Apr 29 07:34:59 PDT 2008
>Hi,
>
>I installed glib-2.16.3 in /usr/local/lib (./configure make make install),
>put PKG_CONFIG_PATH to /usr/local/lib/pkgconfig, LD_LIBRARY_PATH to
>/usr/local/lib, removed /usr/lib/libgobject-2.0.so,
>/usr/lib/libgthread-2.0.so, /usr/lib/libgmodule-2.0.so,
>/usr/lib/libgio-2.0.so, /usr/lib/libgio-2.0.so to prevent further linking
>with the old glib, and pixman doesn't compile.
>
>The makefile fails with
>
>/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall
>-fvisibility=hidden -o composite-test composite-test.o
>../pixman/libpixman-1.la -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0
>-latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
>-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>mkdir .libs
>gcc -g -O2 -Wall -fvisibility=hidden -o .libs/composite-test
>composite-test.o ../pixman/.libs/libpixman-1.so -L/usr/local/lib
>/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
>/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so
>/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so
>/usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so
>/usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lm
>/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl
>/usr/local/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib
>gcc: /usr/lib/libgmodule-2.0.so: No such file or directory
>gcc: /usr/lib/libgobject-2.0.so: No such file or directory
>gcc: /usr/lib/libglib-2.0.so: No such file or directory
>make[2]: *** [composite-test] Error 1
>make[2]: Leaving directory `/tmp/pixman-0.10.0/test'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/tmp/pixman-0.10.0'
>make: *** [all] Error 2
>
>I believe the error is within the stupid libtool.
In fact I am helping a friend to compile a new gtk in /usr/local, and he is
having problems with dependencies, and he has undefined symbols when libtool
tries to link with both the new and old glib.
The problem seems to be in /usr/lib/libgdk_pixbuf-2.0.la and others...
Sorry for the mess anyway.
More information about the cairo
mailing list