ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #00971
[Bug 809467] Re: php53u pecl install failures
Hello Mark,
Thank you for your bug report, I have also been able to reproduce this
issue on a Redhat EL 5.6 server using the latest php53u-pear package:
# rpm -q php53u-pear
php53u-pear-1.9.3-1.ius.el5.noarch
# pecl install -n solr-1.0.1
warning: pecl/solr requires PHP extension "curl"
downloading solr-1.0.1.tgz ...
Starting to download solr-1.0.1.tgz (100,683 bytes)
......................done: 100,683 bytes
28 source files, building
ERROR: could not chdir to /var/tmp/solr/tests
Testing with the php53u-pear package from IUS Testing however showed more success:
# rpm -q php53u-pear
php53u-pear-1.9.4-1.ius.el5.noarch
# pecl install -n solr-1.0.1
warning: pecl/solr requires PHP extension "curl"
downloading solr-1.0.1.tgz ...
Starting to download solr-1.0.1.tgz (100,683 bytes)
......................done: 100,683 bytes
28 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
/usr/bin/phpize: /tmp/solr/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
After remounting /tmp with execute permission the install went fine:
# mount -o remount /dev/vda2 /tmp
# pecl install -n solr-1.0.1
warning: pecl/solr requires PHP extension "curl"
downloading solr-1.0.1.tgz ...
Starting to download solr-1.0.1.tgz (100,683 bytes)
......................done: 100,683 bytes
28 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Enable Solr (yes of course) [yes] :
It seems this may be a issue with the 1.9.3 PEAR package which has been addressed in 1.9.4,
if you would please try with the IUS Testing package and provide any feedback:
https://bugs.launchpad.net/ius/+bug/807109
Thank you
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/809467
Title:
php53u pecl install failures
Status in IUS Community Project:
New
Bug description:
I am seeing constant failures when attempting to install packages via
pecl using php53u-pear.
CentOS release 5.6 (Final)
php53u-common-5.3.6-1.ius.el5
php53u-cli-5.3.6-1.ius.el5
php53u-pear-1.9.3-1.ius.el5
php53u-mysql-5.3.6-1.ius.el5
php53u-process-5.3.6-1.ius.el5
php53u-5.3.6-1.ius.el5
php53u-devel-5.3.6-1.ius.el5
php53u-pdo-5.3.6-1.ius.el5
php53u-soap-5.3.6-1.ius.el5
Example:
[root@localhost vagrant]# pecl install -n solr-1.0.1
warning: pecl/solr requires PHP extension "curl"
downloading solr-1.0.1.tgz ...
Starting to download solr-1.0.1.tgz (100,683 bytes)
......done: 100,683 bytes
28 source files, building
ERROR: could not chdir to /var/tmp/solr/tests
The issues seem to reside around the extraction of the packages once
downloaded and inability to locate the config.m4 file once extracted
to run phpsize. The extracted path /var/tmp/solr/tests doesn't exist.
This problem isn't affecting all package installs via pecl, just some.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/809467/+subscriptions
References