php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41143 make install fail ( at isolated network )
Submitted: 2007-04-20 02:08 UTC Modified: 2007-08-25 01:00 UTC
Votes:8
Avg. Score:4.9 ± 0.3
Reproduced:8 of 8 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: Yoshikuni dot Yanagiya at dot sun dot com Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: 5CVS-2007-04-20 (snap) OS: solaris 10 sparc64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Yoshikuni dot Yanagiya at dot sun dot com
New email:
PHP Version: OS:

 

 [2007-04-20 02:08 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-20 07:16 UTC] tony2001@php.net
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.
 [2007-08-17 09:34 UTC] vrana@php.net
What exactly should be documented where?
 [2007-08-25 01:00 UTC] phpdoc at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC