[cairo] build failed

UtG erolele at gmail.com
Tue Feb 18 03:10:27 CET 2014


I tried to compile cairo with 32bit support (on Chakra Linux 64bit) :

    export CC="gcc -m32"
    export CXX="g++ -m32"
    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
    
    cd "${srcdir}/${_pkgbasename}-${pkgver}"

    autoreconf -vfi
    ./configure --prefix=/usr \
    --libdir=/usr/lib32 \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static \
    --enable-tee \
    --disable-xlib-xcb
    make



but it did not work.
This is the log:

[..]

CC     cairo_test_suite-fallback-resolution.o
  CC     cairo_test_suite-cairo-test-constructors.o
  CC     any2ppm-any2ppm.o
  CCLD   any2ppm
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libpoppler-glib.so when
searching for -lpoppler-glib
/usr/bin/ld: skipping incompatible /usr/lib/libpoppler-glib.so when
searching for -lpoppler-glib
/usr/bin/ld: cannot find -lpoppler-glib
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../librsvg-2.so when
searching for -lrsvg-2
/usr/bin/ld: skipping incompatible /usr/lib/librsvg-2.so when searching for
-lrsvg-2
/usr/bin/ld: cannot find -lrsvg-2
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libgdk-x11-2.0.so when
searching for -lgdk-x11-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgdk-x11-2.0.so when searching
for -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libpangocairo-1.0.so
when searching for -lpangocairo-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libpangocairo-1.0.so when
searching for -lpangocairo-1.0
/usr/bin/ld: cannot find -lpangocairo-1.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libgdk_pixbuf-2.0.so
when searching for -lgdk_pixbuf-2.0
/usr/bin/ld: skipping incompatible /usr/lib/libgdk_pixbuf-2.0.so when
searching for -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libpango-1.0.so when
searching for -lpango-1.0
/usr/bin/ld: skipping incompatible /usr/lib/libpango-1.0.so when searching
for -lpango-1.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../libspectre.so when
searching for -lspectre
/usr/bin/ld: skipping incompatible /usr/lib/libspectre.so when searching for
-lspectre
/usr/bin/ld: cannot find -lspectre
collect2: error: ld returned 1 exit status
make[4]: *** [any2ppm] Error 1
make[4]: Leaving directory `/home/manu2/Build/prova/src/cairo-1.12.16/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/manu2/Build/prova/src/cairo-1.12.16/test'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/manu2/Build/prova/src/cairo-1.12.16/test'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/home/manu2/Build/prova/src/cairo-1.12.16'
make: *** [all] Error 2




More information about the cairo mailing list