Re: Need help with NSAPI on Solaris - crashes server
| From: | Aki Häkkilä | Date: | Wed, 10 Oct 2001 14:33:44 +0000 |
| Subject: | Re: Need help with NSAPI on Solaris - crashes server | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4584@lists.php.net to get a copy of this message | ||
I have managed to start iPlanet with the latest snapshot, but I haven't
tested it too much yet. That version uses pthreads, the NSAPI functions
were removed for some reason.
Here is the knowledgebase article that suggests using NSAPI thread
functions.
http://knowledgebase.iplanet.com/ikb/kb/articles/4580.html
James Sloey wrote:
>
> I'm running Solaris 7 with iPlanet 4.1SP2 and trying to use NSAPI. I used:
>
> ./configure --with-oci8=/u01/app/oracle/product/8.0.5 --enable-sigchild
> --with-nsapi=/u01/app/netscape
>
> As soon as the php4_init is called the server crashes. I went to the iPlanet
> knowledge base and it says that pthreads can't be used with NSAPI.
>
> When I tried to turn them off in configure ZEND blows up with:
>
> Making all in Zend
> /bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
> -I../main
> -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DSUPPORT_
> UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -pthreads -c
> zend_language_scanne
> r_cc.cc
> In file included from zend_alloc.h:27,
> from zend.h:135,
> from zend_language_scanner_cc.cc:2661:
> ../TSRM/TSRM.h:83: type specifier omitted for parameter
> ../TSRM/TSRM.h:83: parse error before `*'
> ../TSRM/TSRM.h:101: syntax error before `('
> ../TSRM/TSRM.h:102: syntax error before `('
> ../TSRM/TSRM.h:103: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:103: parse error before `)'
> ../TSRM/TSRM.h:104: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:104: parse error before `)'
> ../TSRM/TSRM.h:105: `MUTEX_T' was not declared in this scope
> ../TSRM/TSRM.h:105: parse error before `)'
> ../TSRM/TSRM.h:107: `THREAD_T' was not declared in this scope
> ../TSRM/TSRM.h:107: parse error before `)'
> ../TSRM/TSRM.h:108: `THREAD_T' was not declared in this scope
> ../TSRM/TSRM.h:108: parse error before `)'
> *** Error code 1
> make: Fatal error: Command failed for target `zend_language_scanner_cc.lo'
> Current working directory /export/home/jsloey/php-4.0.6/Zend
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
> I'm clueless as this is my first php install. Any help would be
> appreciated.
>
> _____
>
> <mailto:james.sloey@usa.xerox.com> Jim Sloey
> 2613 W. Henrietta Rd. 868 - 01H
> Rochester, New York 14623 U.S.A.
> <http://www.xerox.com> Xerox - eServices
> Phone: 716.427.4584 / 8*227.4584
> Fax : 716.427.4196 / 8*227.4196
>
>
> <mailto:1613581@pagemart.net?subject=Please%20Call%20Me&cc=james.sloey%40usa¯Tw�Ú�3d•
> ÄõþZÌ
> .xerox.com> Pager: 716.246.2604 / 9*246.2604
>