I have configured php-4.4.6 as follows...
./configure --with-mysql=/usr --with-apxs=/www/bin/apxs --with-gd --with-zlib
--with-jpeg-dir --with-freetype-dir --with-ttf --with-zlib-dir=/usr --with-gettext --with-ldap --with-openssl=/usr --with-gettext=/www/gettext --with-mm=/usr/mm --with-iconv --enable-mbstring --with-curl --with-mcrypt
which I have always done with PHP4 and get the following immediately upon make. Does anyone know why php_config.h would be missing in this case? I've gone back and deleted the php build area and tried again without ssl and without mcrypt, always the same error. Does anyone see any silly mistakes in how I am configuring this?
[php-4.4.6]#make
/bin/sh /usr/src/php-4.4.6/libtool --silent --preserve-dup-deps --mode=compile gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -DEBCDIC=0 -I/usr/src/php-4.4.6/ext/pcre/pcrelib -Iext/pcre/ -I/usr/src/php-4.4.6/ext/pcre/ -DPHP_ATOM_INC -I/usr/src/php-4.4.6/include -I/usr/src/php-4.4.6/main -I/usr/src/php-4.4.6 -I/usr/include/freetype2 -I/usr/src/php-4.4.6/ext/mbstring/mbregex -I/usr/src/php-4.4.6/ext/mbstring/libmbfl -I/usr/src/php-4.4.6/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/mm/include -I/usr/src/php-4.4.6/ext/xml/expat -I/usr/src/php-4.4.6/TSRM -I/usr/src/php-4.4.6/Zend -g -O2 -prefer-non-pic -c /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_chartables.c -o ext/pcre/pcrelib/pcre_chartables.lo
/bin/sh /usr/src/php-4.4.6/libtool --silent --preserve-dup-deps --mode=compile gcc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -DMAX_NAME_SIZE=32 -DMAX_NAME_COUNT=10000 -DMAX_DUPLENGTH=30000 -DEBCDIC=0 -I/usr/src/php-4.4.6/ext/pcre/pcrelib -Iext/pcre/ -I/usr/src/php-4.4.6/ext/pcre/ -DPHP_ATOM_INC -I/usr/src/php-4.4.6/include -I/usr/src/php-4.4.6/main -I/usr/src/php-4.4.6 -I/usr/include/freetype2 -I/usr/src/php-4.4.6/ext/mbstring/mbregex -I/usr/src/php-4.4.6/ext/mbstring/libmbfl -I/usr/src/php-4.4.6/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/mm/include -I/usr/src/php-4.4.6/ext/xml/expat -I/usr/src/php-4.4.6/TSRM -I/usr/src/php-4.4.6/Zend -g -O2 -prefer-non-pic -c /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c -o ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo
In file included from /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c:44:
/usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_internal.h:75:25: php_config.h: No such file or directory
In file included from /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre.h:42,
from /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_internal.h:188,
from /usr/src/php-4.4.6/ext/pcre/pcrelib/pcre_ucp_searchfuncs.c:44:
/usr/src/php-4.4.6/main/php_compat.h:7:24: php_config.h: No such file or directory
make: *** [ext/pcre/pcrelib/pcre_ucp_searchfuncs.lo] Error 1
[php-4.4.6]#