Trying to install PHP with nsapi & oci support...
I have the follow configure:
$ configure
--prefix=/usr/local
--with-config-file-path=/usr/local/ini
--disable-debug
--with-nsapi=/usr/local/netscape
--enable-dbase
--enable-filepro
--enable-ftp
--with-oci8=/oracle/product/8.0.5
--with-oracle=/oracle/product/8.0.5
--with-gd=/usr/local/gdlib
--with-pdflib=/usr/local/pdflib
--with-zlib=/02/ejecutable
--with-jpeg-dir=/usr/local/jpeglib
--with-png-dir=/usr/local/pnglib
--with-tiff-dir=/usr/local
--with-zlib-dir=/usr/local/zlib
$ make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -c zend-scanner-cc.cc
In file included from zend.h:89,
from ./zend-scanner.l:42:
/usr/include/alloca.h:71: warning: declaration of void * alloca(int)'
/usr/include/alloca.h:71: warning: conflicts with built-in declarationvoid alloca(long unsigned int)'
/bin/sh ../libtool --silent --mode=link c++ -o libZend_cc.la zend-scanner-cc.lo
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -c zend-parser.c
/usr/lib/bison.simple:153: conflicting types for zendparse'
zend_globals_macros.h:37: previous declaration ofzendparse'
/usr/lib/bison.simple: In function `zendparse':
/usr/lib/bison.simple:219: number of arguments doesn't match prototype
/usr/lib/bison.simple:153: prototype declaration
Exit 1
Stop.
* Exit 1
Stop.
Why?
If I configure PHP without "nsapi" (as cgi sapi) it works fine...
Thanks,