Re: [gnome-love] Jhbuild fails during cairo linking



On 5/24/06, Markus Jonsson <marjo691 student liu se> wrote:
Hello gnome lovers

I'm trying to build gnome using jhbuild but it fails during linking of
the cairo library, here is the output:

make[2]: Entering directory `/opt/jhbuild/cvs/gnome2/cairo/test'
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -o svg2png
svg2png-svg2png.o -L/opt/jhbuild/prefix/lib -lrsvg-2 -lgdk-x11-2.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0   -lmgcc -g -O2 -o svg2png
svg2png-svg2png.o
-L/opt/jhbuild/prefix/lib /usr/lib/librsvg-2.so /opt/jhbuild/prefix/lib/libgdk-x11-2.0.so 
/opt/jhbuild/prefix/lib/libgdk_pixbuf-2.0.so /opt/jhbuild/prefix/lib/libpangocairo-1.0.so 
/opt/jhbuild/prefix/lib/libpango-1.0.so /usr/lib/libcairo.so /opt/jhbuild/prefix/lib/libgobject-2.0.so 
/opt/jhbuild/prefix/lib/libgmodule-2.0.so -ldl /opt/jhbuild/prefix/lib/libglib-2.0.so -lm -Wl,--rpath 
-Wl,/opt/jhbuild/prefix/lib -Wl,--rpath -Wl,/opt/jhbuild/prefix/lib
/opt/jhbuild/prefix/lib/libpangocairo-1.0.so: undefined reference to
`cairo_scaled_font_get_font_options'
/opt/jhbuild/prefix/lib/libpangocairo-1.0.so: undefined reference to
`cairo_scaled_font_text_extents'
/opt/jhbuild/prefix/lib/libpangocairo-1.0.so: undefined reference to
`cairo_scaled_font_get_ctm'
collect2: ld returned 1 exit status
make[2]: *** [svg2png] Error 1
make[2]: Leaving directory `/opt/jhbuild/cvs/gnome2/cairo/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/jhbuild/cvs/gnome2/cairo'
make: *** [all] Error 2
*** error during stage build of cairo: could not build module ***
[14/129]

Any ideas? Thanks in advance.

It's running the tests?  First time through?  I wonder if that was my
problem too earlier.  Anyway, there's an almost-circular dependency.
The cairo tests cannot be built unless librsvg and poppler are first
built, and both of those depend on cairo being built.  So, if you
really want to build the cairo tests, you first must build cairo
without the tests, then build librsvg and poppler, and then redo cairo
this time with the tests.

Those who had a previous installation of Gnome and are just updating
it won't have seen this bug, because naturally the already had a
version of librsvg and poppler installed...

Hope that helps,
Elijah



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