Edit report at https://bugs.php.net/bug.php?id=68272&edit=1
ID: 68272 Comment by: [email protected] Reported by: teo8976 at gmail dot com Summary: Installation of pecl package apcu fails clearly because of missing dependencies Status: Open Type: Bug Package: PECL Operating System: debian 7 PHP Version: 5.6.2 Block user comment: N Private report: N New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [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
