From:             Yoshikuni dot Yanagiya at  dot sun dot com
Operating system: solaris 10 sparc64
PHP version:      5CVS-2007-04-20 (snap)
PHP Bug Type:     Compile Failure
Bug description:  make install fail ( at isolated network )

Description:
------------
"make install" fails with Installing PEAR environment: 
when PHP is compiled as a 64-bit module for Apache 2.2.4 on Solaris 10
(sparc) in isolated by internet.(gcc version 3.4.6)

I've tried four different sources as follows
and get the same result.
It seems File Not Found, named (pear/install-pear-nozlib.phar) 
or not supported to "make install" in isolated network?

  php5.2-200704180830.tar.gz
  php5.2-200704190630.tar.gz
  php5.2-200704190830.tar.gz
  php5.2-200704200030.tar.gz

Download "install-pear-nozlib.phar" from
http://pear.php.net/install-pear-nozlib.phar
and put $SRC/pear/install-pear-nozlib.phar and it works.

But i cant find any description in documents to download
install-pear-nozlib.phar. 
Is it Document bug or another?

Reproduce code:
---------------
if test ! -f pear/install-pear-nozlib.phar; then \
if test -f
/usr/local/src/php5.2-200704190630/pear/install-pear-nozlib.phar; then \
cp /usr/local/src/php5.2-200704190630/pear/install-pear-nozlib.phar
pear/install-pear-nozlib.phar; \
else \
if test ! -z "`which wget 2>/dev/null`" && test -x "`which wget
2>/dev/null`"; then \
"`which wget 2>/dev/null`" http://pear.php.net/install-pear-nozlib.phar
-nd -P pear/; \
elif test ! -z "`which fetch 2>/dev/null`" && test -x "`which fetch
2>/dev/null`"; then \
"`which fetch 2>/dev/null`" -o pear/
http://pear.php.net/install-pear-nozlib.phar; \
else \
echo ""; \
echo "No download utilities found. Don't know how to download PEAR
archive."; \
echo ""; \
fi \
fi \
fi





Expected result:
----------------
echo "No download utilities found. Don't know how to download PEAR

Actual result:
--------------
Installing PEAR environment: /opt/sfw/lib/php/
--18:48:32-- http://pear.php.net/install-pear-nozlib.phar
=> `pear/install-pear-nozlib.phar'
Resolving pear.php.net... failed: Host not found.
*** Error code 1
The following command caused the error:
if test ! -f pear/install-pear-nozlib.phar; then \
if test -f
/usr/local/src/php5.2-200704190630/pear/install-pear-nozlib.phar; then \
cp /usr/local/src/php5.2-200704190630/pear/install-pear-nozlib.phar
pear/install-pear-nozlib.phar; \
else \
if test ! -z "`which wget 2>/dev/null`" && test -x "`which wget
2>/dev/null`"; then \
"`which wget 2>/dev/null`" http://pear.php.net/install-pear-nozlib.phar
-nd -P pear/; \
elif test ! -z "`which fetch 2>/dev/null`" && test -x "`which fetch
2>/dev/null`"; then \
"`which fetch 2>/dev/null`" -o pear/
http://pear.php.net/install-pear-nozlib.phar; \
else \
echo ""; \
echo "No download utilities found. Don't know how to download PEAR
archive."; \
echo ""; \
fi \
fi \
fi
make: Fatal error: Command failed for target `install-pear'
# ls pear/
Makefile.frag install-pear.txt scripts

-- 
Edit bug report at http://bugs.php.net/?id=41143&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41143&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41143&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41143&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41143&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41143&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41143&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41143&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41143&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41143&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41143&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41143&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41143&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41143&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41143&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41143&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41143&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41143&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41143&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41143&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41143&r=mysqlcfg

Reply via email to