Edit report at https://bugs.php.net/bug.php?id=68272&edit=1
ID: 68272 Updated by: [email protected] Reported by: teo8976 at gmail dot com Summary: Installation of pecl package apcu fails clearly because of missing dependencies -Status: Open +Status: Not a bug Type: Bug Package: PECL Operating System: debian 7 PHP Version: 5.6.2 Block user comment: N Private report: N New Comment: @teo8976 PECL will principally not install any system packages. Debian's package system is APT, not PECL. Just as Remi says. Otherwise PECL would have to catch any non homogenous behaviors on various distros, which were kinda more work than writing an extension it tries to install :) So this is an issue of PECL adoption in Debian, you should file a bug there. Cheers. Previous Comments: ------------------------------------------------------------------------ [2014-10-21 04:42:56] [email protected] This is not a APCU bug, but a packaging bug (debian). APCU doesn't directly include pcre.h, and can't be aware if PHP is build with system of bundled libpcre. Notice, AFAIK this have be fix by debian packager (but can't say in which version) ------------------------------------------------------------------------ [2014-10-20 23:46:19] teo8976 at gmail dot com Description: ------------ Automatically managing dependencies is all a package system is about, right? It is supposed to avoid you the hassle of figuring out each and every piece that you need to install, and do it for you. Test script: --------------- So, I first installed php5, php-pear and php5-dev via apt-get install. Then I ran: pecl install apcu Expected result: ---------------- should have installed apcu and whatever it depends on. Actual result: -------------- At first I got an error when it got to "make", because make itself was not installed. Ridiculous (if pecl needs it, it should have been already installed). So I installed make, but then I get this other error: In file included from /tmp/pear/temp/apcu/apc.c:44:0: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory compilation terminated. make: *** [apc.lo] Error 1 ERROR: `make' failed So now I guess I am supposed to figure out what's this "pcre" extension whose "dev" package I probably need (I notice it's missing a .h file), and then go for the next error due to the next missing dependency. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68272&edit=1 -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
