#48103 [Bgs]: compile error with sjsws 7 sp5 on fedora core 10

2009-04-30 Thread inetquestion at hotmail dot com
 ID:   48103
 User updated by:  inetquestion at hotmail dot com
 Reported By:  inetquestion at hotmail dot com
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: Fedora core 10
 PHP Version:  5.2.9
 New Comment:

root cause with webserver installation.  

See fix here:  http://forums.sun.com/thread.jspa?threadID=5383286


Previous Comments:


[2009-04-30 08:45:50] j...@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-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



#48103 [NEW]: compile error with sjsws 7 sp5 on fedora core 10

2009-04-28 Thread inetquestion at hotmail dot com
From: inetquestion at hotmail dot com
Operating system: Fedora core 10
PHP version:  5.2.9
PHP Bug Type: Compile Failure
Bug description:  compile error with sjsws 7 sp5 on fedora core 10

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 bug report at http://bugs.php.net/?id=48103&edit=1
-- 
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48103&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48103&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48103&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48103&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48103&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48103&r=alreadyfixed
Need backtrace:  
http://bugs.php.net/fix.php?id=48103&r=needtrace
Need Reproduce Script:   
http://bugs.php.net/fix.php?id=48103&r=needscript
Try newer version:   
http://bugs.php.net/fix.php?id=48103&r=oldversion
Not developer issue: 
http://bugs.php.net/fix.php?id=48103&r=support
Expected behavior:   
http://bugs.php.net/fix.php?id=48103&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=48103&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=48103&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48103&r=globals
PHP 4 support discontinued:  http://bugs.php.net/fix.php?id=48103&r=php4
Daylight Savings:http://bugs.php.net/fix.php?id=48103&r=dst
IIS Stability:   
http://bugs.php.net/fix.php?id=48103&r=isapi
Install GNU Sed: 
http://bugs.php.net/fix.php?id=48103&r=gnused
Floating point limitations:  
http://bugs.php.net/fix.php?id=48103&r=float
No Zend Extensions:  
http://bugs.php.net/fix.php?id=48103&r=nozend
MySQL Configuration Error:   
http://bugs.php.net/fix.php?id=48103&r=mysqlcfg