Subject: pkg/33432: php-5.1.4 installation fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 05/07/2006 06:40:00
>Number:         33432
>Category:       pkg
>Synopsis:       php-5.1.4 installation fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 07 06:40:00 +0000 2006
>Originator:     Martti Kuparinen
>Release:        NetBSD 3.0_STABLE
>Organization:
>Environment:
System: NetBSD p130.mydomain.com 3.0_STABLE NetBSD 3.0_STABLE (P130) #0: Fri Apr 28 07:25:35 EEST 2006 root@p130.mydomain.com:/usr/src/sys/arch/i386/compile/P130 i386
Architecture: i386
Machine: i386
>Description:

I'm unable to "make install" the latest PHP 5.x package as it is trying
to use wget during installation. I don't have wget installed (why should I?)
and this worked just fine without wget in php-5.1.2nb1.

>How-To-Repeat:

CHROOT www:/usr/pkgsrc/lang/php5> make package clean clean-depends
...
===> Installing for php-5.1.4
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/pkg/bin/
Installing build environment:     /usr/pkg/lib/php/build/
Installing header files:          /usr/pkg/include/php/
Installing helper programs:       /usr/pkg/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/pkg/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/pkg/lib/php/
wget: not found
gmake: *** [install-pear] Error 127
*** Error code 2

>Fix: