Bug #68272 [Com]: Installation of pecl package apcu fails clearly because of missing dependencies
| From: | remi@php.net | Date: | Tue, 21 Oct 2014 04:42:57 +0000 |
| Subject: | Bug #68272 [Com]: Installation of pecl package apcu fails clearly because of missing dependencies | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-12357@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68272&edit=1
ID: 68272
Comment by: remi@php.net
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