From:             filebackup at 126 dot com
Operating system: centos5.3
PHP version:      5.2.10
PHP Bug Type:     Compile Failure
Bug description:  cannot open phar 
"/path/php-5.2.10/pear/install-pear-nozlib.phar"

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 bug report at http://bugs.php.net/?id=48625&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48625&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48625&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48625&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48625&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48625&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48625&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48625&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48625&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48625&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48625&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48625&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48625&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48625&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48625&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48625&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48625&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48625&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48625&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48625&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48625&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48625&r=mysqlcfg

Reply via email to