Re: PHP 4.0.x / NSAPI / HP-UX / Select.h

From: Date: Fri, 13 Oct 2000 15:41:12 +0000
Subject: Re: PHP 4.0.x / NSAPI / HP-UX / Select.h
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-311@lists.php.net to get a copy of this message
With help from another list user, I got past the pthreads problem, but
What was your pthreads problem?
now stopping at this:
         /bin/sh /opt/src/php/php-4.0.3/libtool --silent --mode=compile
         gcc  -I. -I/opt/src/php/php-4.0.3/sapi/nsapi -I/opt/src/php/p
hp-4.0.3 -I/opt/src/php/php-4.0.3/main -I/netscape/server5/plugins/include -I/opt/src/php/php-4.0.3/Zend -I/opt/src/php/php-4.0.3 -I /opt/src/php/php-4.0.3/ext/mysql/libmysql -I/opt/src/php/php-4.0.3/ext/xml/expat/xmltok -I/opt/src/php/php-4.0.3/ext/xml/expat/xmlpa rse -I/opt/src/php/php-4.0.3/TSRM -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -g -O2 -c nsapi.c In file included from nsapi.c:50: /netscape/server5/plugins/include/nsapi.h:285: sys/select.h: No such file or directory *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1
These are the lines of code that are causing the trouble: The file shouldn't be included...maybe just comment them out of the nsapi.h file completely!!! #if !defined(SUNOS4) && !defined(HPUX) #include <sys/select.h> #endif
Seems to be missing select.h, can't find it anywhere on the system. Any ideas?
on digital unix 4.0f it is found in /usr/local/include/sys -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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 -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-

« previous php.install (#311) next »