ID: 39192 User updated by: ormandj at corenode dot com Reported By: ormandj at corenode dot com Status: Open Bug Type: Compile Failure Operating System: Solaris 10 6/06 PHP Version: 5.1.6 New Comment:
http://blogs.sun.com/dzm Look at the June 10 entry. It's the same issue experienced by somebody else. David Previous Comments: ------------------------------------------------------------------------ [2006-10-19 17:42:37] ormandj at corenode dot com If you are interested, I will setup a Solaris zone for you with everything you need to attempt to build php, so you can further diagnose this error. If you would be willing, please respond here or contact me via email. I will provide you the login information. Thanks, David ------------------------------------------------------------------------ [2006-10-19 14:54:58] [EMAIL PROTECTED] Look into sapi/nsapi/config.m4, this is the file you need to edit (and run ./buildconf --force after that). I fail to see how -I/sun/webserver7/include may be missing, but I don't have a SJSWS to try it. ------------------------------------------------------------------------ [2006-10-19 01:42:41] ormandj at corenode dot com Description: ------------ When I first ran: ./configure --prefix=/opt/php --with-nsapi=/sun/webserver7 --with-libxml-dir=/opt/libxml --with-mysql=/opt/mysql --with-mysqli=/opt/mysql/bin/mysql_config --enable-libgcc It ran with no errors. I then attempted to "gmake" and got an error that nsapi.h was not found when compiling nsapi.c. # ls /sun/webserver7/include/nsapi.h /sun/webserver7/include/nsapi.h # I had to edit "configure" and change this line (this is not the correct fix I think, I just did it as a quick fix because I don't know how configure scripts work): *) ac_srcdir="$abs_srcdir/sapi/nsapi/"; ac_bdir="sapi/nsapi/"; ac_inc="-I$ac_bdir -I$ac_srcdir" ;; To: *) ac_srcdir="$abs_srcdir/sapi/nsapi/"; ac_bdir="sapi/nsapi/"; ac_inc="-I$ac_bdir -I$ac_srcdir -I$NSAPI_INCLUDE" ;; Then, ran configure as so: ./configure --prefix=/opt/php --with-nsapi=/sun/webserver7 --with-libxml-dir=/opt/libxml --with-mysql=/opt/mysql --with-mysqli=/opt/mysql/bin/mysql_config --enable-libgcc At this point, it compiled fine, and is now running fine. In other words, something is wrong with configure and this webserver. If more output is needed it can be provided. :) Thanks, David ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39192&edit=1