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



On Thu, 25 May 2006, Markus Jonsson wrote:

-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...

Thanks. Shloudn't that be disabled by default?

Note that the error messages about mean that you are linking to
cairo-1 module, not cairo.  Someone should investigate it more.

behdad


Hope that helps,
Elijah

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



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