I am having trouble building 4.3.11 (I've also tried on 5.0.4 and get the same problem) for Solaris. I have run:
./configure --with-mysql=/usr/local/mysql --with-nsapi=/usr/appserver --enable-ftp --enable-libgcc The build fails because nsapi.h cannot be found. It is in /usr/appserver/includes, but the configuration does not include this directory. The only references to /usr/appserver in the Makefile are in the CONFIGURE_COMMAND and INSTALL_IT definitions while the compilation rule for sapi/nsapi/nsapi.c includes: -Isapi/nsapi/ -I/export/home/user/php/php-4.3.11/sapi/nsapi/ but not -I/usr/appserver/includes. Did I not use the configure command correctly? Thanks for any hints.