make install fails, unexpected '=' in install-pear.php, line 5,

From: Date: Fri, 02 Jul 2004 15:54:54 +0000
Subject: make install fails, unexpected '=' in install-pear.php, line 5,
Groups: php.install 
Request: Send a blank email to php-install+get-13782@lists.php.net to get a copy of this message
Hi all, I am building php 4.3.7 on x86(athlon) freebsd 4.9. Php builds fine, however the 'make install' script dies with the following errors. FYI I have tried this with both 4.3.7 and 4.3.6, they produce identical output, other than different directory names. I am including hte 4.3.6 version because it is still in my scrollback, but the 4.3.7 error was identical. root@socorro:/usr/local/opt/development/build/php-4.3.6
uname -a FreeBSD socorro.eece.unm.edu 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Mar
22 10:19:22 MST 2004     root@socorro.eece.unm.edu:/usr/obj/usr/src/sys/GENERIC  i386
root@socorro:/usr/local/opt/development/build/php-4.3.6
make install
Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/etc/apache/httpd.conf] cp libs/libphp4.so /usr/local/libexec/apache/libphp4.so chmod 755 /usr/local/libexec/apache/libphp4.so cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new
Installing PHP CLI binary:        /usr/local/opt/testing/php-4.3.6/bin/
Installing PHP CLI man page:      /usr/local/opt/testing/php-4.3.6/man/man1/
Installing PEAR environment:      /usr/local/opt/testing/php-4.3.6/lib/php/
Parse error: parse error, unexpected '=' in /usr/local/opt/development/src/php-4.3.6/pear/install-pear.php on line 5 *** Error code 255 Stop in /usr/local/opt/development/build/php-4.3.6. *** Error code 1 Stop in /usr/local/opt/development/build/php-4.3.6. root@socorro:/usr/local/opt/development/build/php-4.3.6
Also, source is installed in /usr/local/opt/development/src/php-4.3.7 and /usr/local/opt/development/src/php-4.3.6 I used the following configure, called from /usr/local/opt/development/build/php-4.3.7
/usr/local/opt/development/src/php-4.3.7/configure \ --prefix=/usr/local/opt/testing/php-4.3.7 --with-apxs \
--with-openssl --with-zlib --with-bz2 --with-jpeg-dir \ --with-imap --with-imap-ssl --with-ldap \ --with-mysql=/usr/local --with-pgsql and the same for 4.3.6, replacing 4.3.7 with 4.3.6. This really feels like a incompatability with installed software, and omg this server has some issues, so I would not suspect. Any help in tracing what is conflicting would be greatly apreciated. Thanks in advance all. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | Pete Greening email:peteman@ece.unm.edu | | Systems Analyst II phone:505-277-1082 | | ECE Dept. cell: 505-363-2406 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.install (#13782) next »