Kore Nordmann - PHP / Projects / Politics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Kore Nordmann :Date: Fri, 27 Jul 2007 20:26:41 +0200 :Revision: 5 :Copyright: CC by-sa ================================== Installing cairo_wrapper on Gentoo ================================== :Description: After fixing problems with my autoheader version everything went fine. 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. __ http://cairo-wrapper.php-baustelle.de/trac/ __ http://www.php-groupies.de/blogs/ __ http://gentoo.org __ http://pear.php.net/Image_3D `phpize` failed with different php versions with this error: :: /usr/bin/autoheader-2.13: Symbol `' 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! :-) Trackbacks ========== Comments ======== - zeek at Wed, 25 Jun 2008 16:44:08 +0200 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?