ID: 48103 Updated by: j...@php.net Reported By: inetquestion at hotmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Fedora core 10 PHP Version: 5.2.9 New Comment:
If your system is totally missing nsapi.h then your iplanet installation is not complete. This is not a PHP bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2009-04-29 00:57:34] inetquestion at hotmail dot com Description: ------------ I am trying to compile php 5.2.9 and get the following error during make: sapi/nsapi/nsapi.c:62:19: error: nsapi.h: No such file or directory There was a post (http://developers.sun.com/webtier/reference/techart/php2.html) which seemed to address this problem, but it didn't fix the issue. Also, I have searched for nsapi.h and it is not on the system anywhere... Has anyone come across this problem or have suggestions on how to resolve it? OS: fedora core 10 SJSWS: 7.0 sp5 ./configure --with-mysql --with-nsapi=/opt/iplanet/current --enable-libgcc --with-gd=/usr --enable-sockets ... /bin/sh /root/installs/php/php-5.2.9/libtool --silent --preserve-dup-deps --mode=compile /root/installs/php/php-5.2.9/meta_ccld -Isapi/nsapi/ -I/root/installs/php/php-5.2.9/sapi/nsapi/ -DPHP_ATOMINC -I/root/installs/php/php-5.2.9/include -I/root/installs/php/php-5.2.9/main -I/root/installs/php/php-5.2.9 -I/opt/iplanet/current/include -I/opt/iplanet/current/plugins/include -I/usr/include/lbxml2 -I/root/installs/php/php-5.2.9/ext/date/lib -I/usr/include/mysql -I/root/installs/php/php-5.2.9/TSRM -I/root/installs/php/php-5.2.9/Zend -D_REENTRANT -DTHREAD=1 -I/usr/include -g -O2 -pthrad -DZTS -prefer-non-pic -c /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c -o sapi/nsapi/nsapi.lo ... /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:62:19: error: nsapi.h: No such file or directory /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:81: error: expected specifier-qualifier-list before 'pblock' /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c: In function 'nsapi_strdup': /root/installs/php/php-5.2.9/sapi/nsapi/nsapi.c:130: warning: return makes pointer from integer without a cast ... make: *** [sapi/nsapi/nsapi.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48103&edit=1