Re: nsapi make error
| From: | Tirza Doniger | Date: | Tue, 05 Dec 2000 19:08:30 +0000 |
| Subject: | Re: nsapi make error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1073@lists.php.net to get a copy of this message | ||
I think if I understand correctly Zend is a scripting engine that drives php. I think there is no way to build any php module without it. I am totally unfamiliar with aix, but I think there are other pple who have built php on aix. I would check the php-install archives, and see if anyone else experienced a similar problem.
URL to search php-install archives:
http://marc.theaimsgroup.com/?l=php-install&r=1&w=2
I know there are several pple who successfully built php as a nsapi on solaris. I tried very hard to build php as a nsapi on digital unix and was unsuccessful. Good luck!!!
--On Tuesday, December 5, 2000 1:18 PM -0500 "Paul J. Sala" <psala@btv.ibm.com> wrote:
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 Research Computing Resource NYU Medical School Systems Manager MSB 174/183 email:donigt01@med.nyu.edu phone:212-263-7135 fax:212-263-8542 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-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 ZendWhat 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:Tirza Doniger said:/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-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net