nsapi make error
| From: | Paul J. Sala | Date: | Tue, 05 Dec 2000 15:11:46 +0000 |
| Subject: | nsapi make error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1067@lists.php.net to get a copy of this message | ||
I am trying to compile PHP as a plugin for a netscape/iplanet 4.1 webserver.
Here is how I run configure:
$ env CC=cc ./configure --with-nsapi=/web/iplanet/es.4.1sp3
That goes fine. Then I run make and here's the error I get:
----------------- output ----------------------------------
$ make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I.
- -I. -I.. -D_THREAD_SAFE -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -c zend-sca
nner-cc.cc
In file included from ../TSRM/TSRM.h:36,
from zend_globals.h:39,
from zend_compile.h:208,
from zend-scanner-cc.cc:2565:
/usr/include/pthread.h:113: warning: missing white space after `#define PTH
READ_MUTEX_INITIALIZER'
/usr/include/pthread.h:128: warning: missing white space after `#define PTH
READ_COND_INITIALIZER'
/usr/include/pthread.h:147: warning: missing white space after `#define PTH
READ_RWLOCK_INITIALIZER'
/usr/include/pthread.h:157: warning: missing white space after `#define PTH
READ_ONCE_INIT'
In file included from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:43,
from ../TSRM/TSRM.h:36,
from zend_globals.h:39,
from zend_compile.h:208,
from zend-scanner-cc.cc:2565:
/usr/include/sys/proc.h:203: syntax error before `;'
/usr/include/sys/proc.h:212: syntax error before `;'
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
----------------------------------------------------------------
Why is it trying to compile the zend-scanner-cc and making all in
Zend when I am making a nsapi? What am I doing wrong?
Thanks.....Paul