#48625 [Com]: cannot open phar "/path/php-5.2.10/pear/install-pear-nozlib.phar"
ID: 48625
Comment by: mlavi at sgi dot com
Reported By: filebackup at 126 dot com
Status: Open
Bug Type: PHAR related
Operating System: centos5.3
PHP Version: 5.2.10
New Comment:
Appears to be a duplicate of bugs: 48603 and 48650.
http://bugs.php.net/bug.php?id=48603
http://bugs.php.net/bug.php?id=48650
Previous Comments:
------------------------------------------------------------------------
[2009-06-22 16:50:40] newsletter at rrelmy dot ch
same on debian lenny 2.6.26-2-vserver-amd64
and debian lenny 2.6.30 (64Bit system)
both used gcc 4.3.2
all versions before worked with the same configuration
./configure --prefix=/etc/php5 --with-apxs2=/usr/bin/apxs2
--enable-bcmath --enable-calendar --with-curl --with-curlwrappers
--with-freetype-dir=/usr/lib/ --enable-ftp --with-gd
--enable-gd-jis-conv --enable-gd-native-ttf --with-jpeg-dir=/usr/lib/
--enable-libxml --with-libxml-dir=/usr/lib --enable-magic-quotes
--enable-mbstring=all --with-mcrypt --with-mhash --with-mime-magic
--with-mysql --with-openssl --with-pdo-mysql --with-png-dir=/usr/include
--disable-posix --enable-simplexml --enable-sqlite-utf8 --with-ttf
--with-zlib --with-bz2 --with-tidy --with-xpm-dir=/usr/lib/
--with-t1lib=/usr/lib --with-gettext
------------------------------------------------------------------------
[2009-06-21 03:48:24] filebackup at 126 dot com
gcc-4.1.2-44.el5
centos5.3 x86_64
------------------------------------------------------------------------
[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)