Re: [PHP4BETA] PHP4.0 Compile problem on Solaris NSAPI for NES

[email protected] (Stefan Ubbink) Wed, 31 May 2000 10:32:30 +0100
Newsgroups php.version4
Message-ID <[email protected]>
In article [email protected] ("Mark Faine") wrote:
> 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
> 
> 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'

If I'm right, you have to install bison 1.28 and then delete 
Zend/zend-parser.c

That has to do the trick.

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

I don't know if it works, because I can't get the server started when I 
try to include the php funcitions as descriped in 
sapi/nsapi/nsapi-readme.txt

> 
> -Mark
> 

Stefan Ubbink

-- 
 10:20am  up 34 days, 20:14,  6 users,  load average: 0.41, 0.33, 0.35
on IRIX64 antarctica 6.5 01221553 IP27