Error while trying to install php-PEAR

Martin Jakob m.jakob at gmx.net
Fri Jul 18 10:36:37 PDT 2003


Sorry,

I had some problems with my mail webinterface, so i am sending the mail a
second time to be sure it gets delivered.

Im trying to install the php-PEAR via ports. But it cant finish the job.
It says that /usr/local/bin/php is not found (see below). Shouldn't 
/usr/local/bin/php be installed by the mod_php port? Any idea whats going
wrong?

Martin

The error message and some info:

[root:pear]#make
===>  Extracting for pear-4.3.3
>> No MD5 checksum file.
===>  Patching for pear-4.3.3
===>   pear-4.3.3 depends on file: /usr/local/bin/php-config - found
===>  Configuring for pear-4.3.3
[root:pear]#make install
===>  Installing for pear-4.3.3
===>   pear-4.3.3 depends on file: /usr/local/share/pear/DB.php - not found
===>    Verifying install for /usr/local/share/pear/DB.php in
/usr/ports/databases/pear-DB
===>  Extracting for pear-DB-1.5.0.rc1
>> Checksum OK for PEAR/DB-1.5.0RC1.tgz.
===>  Patching for pear-DB-1.5.0.rc1
===>   pear-DB-1.5.0.rc1 depends on file: /usr/local/share/pear/PEAR.php -
found
===>  Configuring for pear-DB-1.5.0.rc1
===>  Installing for pear-DB-1.5.0.rc1
===>   pear-DB-1.5.0.rc1 depends on file: /usr/local/share/pear/PEAR.php -
found
===>   Generating temporary packing list
===>  Checking if databases/pear-DB already installed
===> Documentation installed in /usr/local/share/pear/docs/DB.
exec: /usr/local/bin/php: not found
*** Error code 127

Stop in /mnt/data/ports/databases/pear-DB.
*** Error code 1

Stop in /mnt/data/ports/devel/pear.

[root:pear]#pkg_info | grep php
mod_php4-4.3.3.r1_1,1 PHP Apache Module
php-dbg-2.11.23     Debugger for PHP4

[root:bin]#ls -l php*
-rwxr-xr-x  1 root  wheel   983 30 Jun 14:38 php-config*
-rwxr-xr-x  1 root  wheel   593 30 Jun 14:38 phpextdist*
-rwxr-xr-x  1 root  wheel  1709 30 Jun 14:38 phpize*

[root:pear]#uname -a
FreeBSD freebsd.home 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Jul 17 14:34:11
CEST 2003     root at freebsd.home:/mnt/www/src/sys/compile/DAEMON  i386

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!



More information about the freebsd-ports mailing list