Re: nsapi make error

From: Date: Tue, 05 Dec 2000 18:18:43 +0000
Subject: Re: nsapi make error
Groups: php.install 
Request: Send a blank email to php-install+get-1071@lists.php.net to get a copy of this message
My OS is AIX 4.3.3. I'm thinking that the Makefile generated by configure is wrong. Why is it trying to make zend-scanner-cc? What is ZEND? Does the nsapi need it? ....Paul ------------------------------------------- >>>Tirza Doniger said: > What OS are you building php on? I'm not sure what your problem is, but I > was unable to use cc to make php. I had to install gcc. > > Tirza > > --On Tuesday, December 5, 2000 10:11 AM -0500 "Paul J. Sala" > <psala@btv.ibm.com> wrote: > > > > > 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 > > >

« previous php.install (#1071) next »