#22944 [Opn]: Java - "make install" fails after "installing php SAPI"
| From: | dubious at 2xtreme dot net | Date: | Sat, 29 Mar 2003 00:12:13 +0000 |
| Subject: | #22944 [Opn]: Java - "make install" fails after "installing php SAPI" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36669@lists.php.net to get a copy of this message | ||
ID: 22944
User updated by: dubious at 2xtreme dot net
Reported By: dubious at 2xtreme dot net
Status: Open
Bug Type: Java related
Operating System: Linux (2.5.66)
PHP Version: 4.3.2RC1
New Comment:
UPDATE - this appears to be a bug specifically related to
"--disable-cgi" (i.e. I want ONLY the CLI version of php). If I
remove the "--disable-cgi" it seems to compile AND install
fine.
Previous Comments:
------------------------------------------------------------------------
[2003-03-28 17:58:33] dubious at 2xtreme dot net
Configuring with:
./configure --enable-gd-native-ttf '--enable-sockets'
'--with-ncurses' '--with-gd' '--enable-ftp' '--with-mysql'
'--with-dom' '--with-zlib' '--enable-exif' '--with-bz2'
'--with-curl' '--with-imap=/tmp/temp/imap-2002'
'--with-imap-ssl=/tmp/temp/imap-2002' '--disable-cgi'
--with-java=/usr/local/jdk
compile seems fine, but on "make install" it dies at:
Installing PHP SAPI module
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `; /tmp/temp/php-4.3.2RC1/build/shtool
mkdir -p -f -m 0755 /usr/local/lib/php;
/tmp/temp/php-4.3.2RC1/build/shtool install -c -m 0755
/tmp/temp/php-4.3.2RC1/ext/java/php_java.jar
/usr/local/lib/php'
make: *** [install-sapi] Error 2
I've tried this with an earlier Blackdown 1.4.1 as well as Sun's
most recent 1.4.1_02 release. If I compile without the java
option, it seems to install fine (but of course then there's not
Java support...)
This also seems to occur with 4.3.0.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22944&edit=1