ID:               41143
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Yoshikuni dot Yanagiya at  dot sun dot com
 Status:           Open
-Bug Type:         Compile Failure
+Bug Type:         Documentation problem
 Operating System: solaris 10 sparc64
 PHP Version:      5CVS-2007-04-20 (snap)
 New Comment:

If you're installing a snapshot and chose to install PEAR, it'll try to
download the PEAR package. The package is bundled into the release
packages.
You can download it separately, put into pear/ directory and the
installation will use this package.
You can also disable PEAR using --without-pear configure option.
Reclassified as docu problem.


Previous Comments:
------------------------------------------------------------------------

[2007-04-20 02:08:09] Yoshikuni dot Yanagiya at  dot sun dot com

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 this bug report at http://bugs.php.net/?id=41143&edit=1

Reply via email to