#19290 [Fbk]: NSAPI version compile fails, configure says ".../plugins: does not exist"

From: Date: Sun, 29 Sep 2002 22:22:47 +0000
Subject: #19290 [Fbk]: NSAPI version compile fails, configure says ".../plugins: does not exist"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20694@lists.php.net to get a copy of this message
ID: 19290 Updated by: sniper@php.net Reported By: fillmore@NRCan.gc.ca Status: Feedback Bug Type: iPlanet related Operating System: Solaris 8 PHP Version: 4.2.3 New Comment: And as you're on solaris, make sure you're using GNU sed. Previous Comments: ------------------------------------------------------------------------ [2002-09-29 17:22:27] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-29 14:56:56] fillmore@NRCan.gc.ca Here are a few lines from the new configure script: NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE" ... ep_dir="echo $NSAPI_INCLUDE|sed 's%/*[^/][^/]*/*$%%'" ep_realdir="(cd \"$ep_dir\" && pwd)" Notice that ep_dir will contain the -I string, causing the "cd" to fail. ------------------------------------------------------------------------ [2002-09-29 14:33:23] fillmore@NRCan.gc.ca I tried compiling the latest version from CVS (200209290900), and it still fails. Here are a few lines from the configure output: checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... /suitespot checking for NSAPI include files... iPlanet/4.x style checking for /suitespot/plugins/include/nsapi.h... yes ./configure: -I/suitespot/plugins: does not exist checking for PHTTPD support... no checking for Pi3Web Support... Here are the compile errors: /bin/sh libtool --silent --mode=compile gcc -Isapi/nsapi/ -I/home8/src/php/beta /php4-200209290900/sapi/nsapi/ -DPHP_ATOM_INC -I/home8/src/php/beta/php4-2002092 90900/include -I/home8/src/php/beta/php4-200209290900/main -I/home8/src/php/beta /php4-200209290900 -I/include -I/home8/src/php/beta/php4-200209290900/Zend -I/ho me8/src/php/beta/php4-200209290900/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -D_ POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/home8/src/php/beta/php4-200209290900/TSR M -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c /home8/src/php/beta/php4-20 0209290900/sapi/nsapi/nsapi.c -o sapi/nsapi/nsapi.lo /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:50: nsapi.h: No such fi le or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:51: base/pblock.h: No s uch file or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:52: base/session.h: No such file or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:53: frame/req.h: No suc h file or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:54: frame/protocol.h: N o such file or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:55: base/util.h: No suc h file or directory /home8/src/php/beta/php4-200209290900/sapi/nsapi/nsapi.c:56: frame/log.h: No suc h file or directory *** Error code 1 make: Fatal error: Command failed for target `sapi/nsapi/nsapi.lo' Thanks, Bob Fillmore ------------------------------------------------------------------------ [2002-09-26 19:57:02] sniper@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-09-08 13:15:02] kalowsky@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I think I see whats wrong. Any chance you can test out an unstable snapshot dated sometime after now. I just put in a fix which I hope corrects this issue for you. If it does, I'll back port it to 4.2 branch as well ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19290 -- Edit this bug report at http://bugs.php.net/?id=19290&edit=1

« previous php.bugs (#20694) next »