Installing cairo_wrapper on Gentoo

First published at Wednesday 27 September 2006

Warning: This blog post is more then 18 years old – read and use with care.

Installing cairo_wrapper on Gentoo

I tried to install the cairo_wrapper by Hartmut on my gentoo machines, to play around with it, and probably writing an output driver for Image_3D , but I had some problems installing it, I want to share.

phpize failed with different php versions with this error:

/usr/bin/autoheader-2.13: Symbol `<file>' is not covered by /usr/share/autoconf/acconfig.h

The problem was, that on my Gentoo, the default autoheader version is 2.13, even I have 2.60 installed, too. After contacting Hartmut, who said that he uses autoheader in version 2.59 this line fixed my problems:

# export PHP_AUTOHEADER="autoheader-2.60" && pear install # php-baustelle/cairo_wrapper-beta

If you want to install cairo_wrapper, by yourself you should of course discover the channel first:

# pear channel-discover pear.php-baustelle.de

Thanks to Hartmut for providing this package! :-)


Comments

zeek at Wednesday, 25.6. 2008

I can't get it to work under Ubuntu 8.04

It always stops with this error:

checking for pkg-config... /usr/bin/pkg-config configure: error: 'cairo' not known to pkg-config ERROR: `/tmp/pear/cache/cairo_wrapper-0.2.4/configure --with-cairo' failed

Can somebody help?

Subscribe to updates

There are multiple ways to stay updated with new posts on my blog: