From:             teo8976 at gmail dot com
Operating system: debian 7
PHP version:      5.6.2
Package:          PECL
Bug Type:         Bug
Bug description:Installation of pecl package apcu fails clearly because of 
missing dependencies

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 bug report at https://bugs.php.net/bug.php?id=68272&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=68272&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=68272&r=trysnapshot55
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=68272&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=68272&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=68272&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=68272&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=68272&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=68272&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=68272&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=68272&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=68272&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=68272&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=68272&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68272&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=68272&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=68272&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=68272&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68272&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=68272&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=68272&r=mysqlcfg


-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to