php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48103 compile error with sjsws 7 sp5 on fedora core 10
Submitted: 2009-04-29 00:57 UTC Modified: 2009-05-01 03:22 UTC
From: inetquestion at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.9 OS: Fedora core 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: inetquestion at hotmail dot com
New email:
PHP Version: OS:

 

 [2009-04-29 00:57 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-30 08:45 UTC] jani@php.net
If your system is totally missing nsapi.h then your iplanet installation 
is not complete. This is not a PHP bug -> bogus.
 [2009-05-01 03:22 UTC] inetquestion at hotmail dot com
root cause with webserver installation.  

See fix here:  http://forums.sun.com/thread.jspa?threadID=5383286
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 05 17:01:31 2024 UTC