PHP4.0 Compile problem on Solaris NSAPI for NES

[email protected] ("Mark Faine") Tue, 30 May 2000 07:54:21 -0500
Newsgroups php.version4
Message-ID <[email protected]>
Is it just not possible to compile PHP4.0 for Netscape Enterprise Server as
an NSAPI module.
I'm running Sun Solaris 2.6 NES 3.6 and PHP 4.0

I used the following flags in the configure:

--enable-discard-path
--enable-magic-quotes
--enable-track-vars
--with-openssl
--with-oracle
--enable-trans-sid
--enable-memory-limit
--enable-versioning
--enable-sysvshm
--with-nsapi=path/to/my/netscape/server/root
I even tried it with the --enable-experimental-zts, cause someone suggested
it.

The following is copied from my terminal.

I gave it a try and I didn't even get past the Zend dir.

Making all in Zend
/bin/sh ../libtool --silent --mode=compile
+ -DHAVE_CONFIG_H -I. -I. -I..   -D
_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD
=1
-pthreads -c zend-scanner-cc.cc
/bin/sh ../libtool --silent --mode=link c++  -pthreads  -o libZend_cc.la
zend-
scanner-cc.lo
/bin/sh ../libtool --silent --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I..   -D
_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD
=1
-g -O2 -pthreads  -Wall -c zend-parser.c
/usr/lib/bison.simple:153: conflicting types for `zendparse'
zend_globals_macros.h:37: previous declaration of `zendparse'
/usr/lib/bison.simple: In function `zendparse':
/usr/lib/bison.simple:219: number of arguments doesn't match prototype
/usr/lib/bison.simple:153: prototype declaration
*** Error code 1
make: Fatal error: Command failed for target `zend-parser.lo'
Current working directory /raidb4/temp/php-4.0.0/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Anybody know how to make it work or is this not possible at present

-Mark