I run configure as follows:
./configure --with-oci8=/u01/app/oracle/product/ias1022 \
--with-apxs=/u01/app/oracle/product/ias1022/Apache/Apache/bin/apxs \
--enable-track-vars \
--with-oracle=/u01/app/oracle/product/ias1022 --enable-sigchild
Then I run make and I get the following output:
make
/bin/sh /u01/home/php/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ctype/ -I/u01/home/php/php-4.3.2/ext/ctype/ -DPHP_ATOM_INC -I/u01/home/php/php-4.3.2/include -I/u01/home/php/php-4.3.2/main -I/u01/home/php/php-4.3.2 -I/u01/home/php/php-4.3.2/Zend -I/u01/app/oracle/product/ias1022/rdbms/public -I/u01/app/oracle/product/ias1022/rdbms/demo -I/u01/home/php/php-4.3.2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/u01/home/php/php-4.3.2/TSRM -g -O2 -prefer-pic -c /u01/home/php/php-4.3.2/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /u01/home/php/php-4.3.2/main/php_streams.h:28,
from /u01/home/php/php-4.3.2/main/php.h:362,
from /u01/home/php/php-4.3.2/ext/ctype/ctype.c:23:
/usr/include/sys/stat.h:253: parse error before "blksize_t"
/usr/include/sys/stat.h:257: parse error before '}' token
/usr/include/sys/stat.h:313: parse error before "blksize_t"
/usr/include/sys/stat.h:314: conflicting types for st_blocks'
/usr/include/sys/stat.h:254: previous declaration ofst_blocks'
/usr/include/sys/stat.h:317: parse error before '}' token
In file included from /u01/home/php/php-4.3.2/main/php.h:362,
from /u01/home/php/php-4.3.2/ext/ctype/ctype.c:23:
/u01/home/php/php-4.3.2/main/php_streams.h:111: field sb' has incomplete type
/u01/home/php/php-4.3.2/main/php_streams.h:114: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for targetext/ctype/ctype.lo'
Can anyone help me resolve this problem?
Thanks,
Ted