#48625 [Com]: cannot open phar "/path/php-5.2.10/pear/install-pear-nozlib.phar"
ID: 48625
Comment by: filebackup at 126 dot com
Reported By: filebackup at 126 dot com
Status: Open
Bug Type: Compile Failure
Operating System: centos5.3
PHP Version: 5.2.10
New Comment:
gcc-4.1.2-44.el5
centos5.3 x86_64
Previous Comments:
------------------------------------------------------------------------
[2009-06-21 03:35:34] filebakck at 126 dot com
"/root/soft/php-5.2.10/pear/install-pear-nozlib.phar"
It's "/path/php-5.2.10/pear/install-pear-nozlib.phar".
------------------------------------------------------------------------
[2009-06-21 03:33:06] filebakck at 126 dot com
But I can compile php5.2.8 or php 5.2.9.
------------------------------------------------------------------------
[2009-06-21 03:28:09] filebackup at 126 dot com
Description:
------------
Hi,
I had happened an error when I 'make install' php5.2.10.
I make it like so:
tar zxvf php-5.2.10.tar.gz
gzip -cd php-5.2.10-fpm-0.5.11.diff.gz | patch -d php-5.2.10 -p1
cd php-5.2.10/
./configure --prefix=/usr/local/php
--with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir
--with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml
--disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath
--enable-shmop --enable-sysvsem --enable-inline-optimization
--enable-mbregex --enable-fastcgi --enable-fpm
--enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd
--enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl
--enable-sockets --disable-ipv6 --with-xmlrpc --enable-zip
--without-sqlite --with-xpm-dir=/usr --with-curl=/usr/local
--with-curlwrappers --enable-static
make ZEND_EXTRA_LIBS='-liconv'
make install
When I "make ZEND_EXTRA_LIBS='-liconv'", nothing display.
But when I "make install", it would display the next error
information:
Fatal error: Error: cannot open phar
"/root/soft/php-5.2.10/pear/install-pear-nozlib.phar" in
/path/php-5.2.10/pear/install-pear-nozlib.phar on line 795
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48625&edit=1
Thread (8 messages)