[cairo] build failed

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Thu Feb 20 03:01:24 CET 2014


Ahhhhhh, please try PKG_CONFIG_LIBDIR, instead of PKG_CONFIG_PATH.

Please consider "man pkg-config", you will understand that

* the directories specified by PKG_CONFIG_PATH are searched
AFTER the search in the default (in this case, amd64) directories.

* PKG_CONFIG_LIBDIR replaces the default directory, thus,
amd64 directories would not be searched.

I'm quite sorry for that I could not give this info
immediately, in spite of your first message stating
that you used PKG_CONFIG_PATH already.

Regards,
mpsuzuki

On 02/20/2014 10:03 AM, UtG wrote:
> suzuki toshiya <mpsuzuki <at> hiroshima-u.ac.jp> writes:
> 
>>
>> I guess amd64 libraries are still searched.
>> Could you check detailed linking instruction by adding "V=1" to make command?
>> Also there might be some hint in config.log whether i386 libraries are
> searched correctly.
>>
>> Regards,
>> mpsuzuki
>>
> 
> 
> 
> Hi!
> Also I tried to build cairo 1.12.16 (with or without 32bit support) but
> the build failed.
> I added "V=1" to make command, like your hint.
> 
> So, here you can see cairo's config.log: http://pastebin.com/mw5RXdWY
> A lot of lines :)....
> 
> Anyway this is my build function:
> 
> prepare() {
> cd "${srcdir}/${pkgname}-${pkgver}"
> for _f in $(cat "$srcdir/debian/patches/series" | grep -v '#') ; do
> patch -Np1 -i "$srcdir/debian/patches/$_f"
> done
> 
> sed '20 aAM_PROG_AR' -i "${srcdir}/${pkgname}-${pkgver}/configure.ac"
> }
> 
> build() {
> cd "${srcdir}/${pkgname}-${pkgver}"
> 
> autoreconf -if
> 
> ./configure --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --disable-static \
> --enable-tee \
> --enable-gl \
> --enable-egl \
> --enable-svg \
> --enable-ps \
> --enable-pdf \
> --enable-gobject
> make v=1
> }
> 
> package() {
> cd "$srcdir/$pkgname-$pkgver"
> make DESTDIR="$pkgdir" install
> }
> 
> 
> 
> And these my last build lines :
> 
> CCLD libcairo-gobject.la
> /bin/sed: can't read chakra/src/cairo-1.12.16/src/libcairo.la: No such
> file or directory
> libtool: link: `chakra/src/cairo-1.12.16/src/libcairo.la' is not a valid
> libtool archive
> make[4]: *** [libcairo-gobject.la] Error 1
> make[4]: Leaving directory `/home/manu2/Build/prova/cairo-official
> chakra/src/cairo-1.12.16/util/cairo-gobject'
> make[3]: *** [all-recursive] Error 1
> make: *** [all] Error
> 
> 
> 
> Let me know something .
> Many thanks.
> 
> Cheerio,
> Manuel
> 



More information about the cairo mailing list