PECL on Gentoo

If you try to install a PECL package without using Portage (thus using the PHP tool pecl), you might encounter an error like this snippet:


bender ~ # pecl install apc
downloading APC-3.0.8.tgz ...
[...]
autoconf: Undefined macros:
configure.in:63:AC_PROG_LIBTOOL
ERROR: `phpize' failed

The main problem lies with the use of automake v1.9.x. Since Gentoo comes with a bunch of different versions of the autotools, you can choose to use automake v1.8, which will result in a complete built.


bender ~ # WANT_AUTOMAKE="1.8" pecl install apc

As simple as it seems, it took me a while to fix it. Let me know if this helps.

Trackbacks

No Trackbacks

Comments

Display comments as (Linear | Threaded)

No comments


Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA