I'm doing a fresh install of ports on FreeBSD 9.2.
I cannot get php5-ctype to compile properly. Here is what I get:
Any ideas?
I cannot get php5-ctype to compile properly. Here is what I get:
Any ideas?
Code:
===> Building for php5-ctype-5.4.28
/bin/sh /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/libtool --mode=compile cc -I. -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype -DPHP_ATOM_INC -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/include -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/main -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/ctype.c -o ctype.lo
mkdir .libs
cc -I. -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype -DPHP_ATOM_INC -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/include -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/main -I/usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/ctype.c -fPIC -DPIC -o .libs/ctype.o
In file included from /usr/local/include/php/Zend/zend_config.h:1,
from /usr/local/include/php/Zend/zend.h:51,
from /usr/local/include/php/main/php.h:34,
from /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/ctype.c:23:
/usr/local/include/php/main/../main/php_config.h:2380:28: error: ext/php_config.h: No such file or directory
In file included from /usr/local/include/php/main/php_compat.h:27,
from /usr/local/include/php/main/php.h:36,
from /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/ctype.c:23:
/usr/local/include/php/main/php_config.h:2380:28: error: ext/php_config.h: No such file or directory
In file included from /usr/local/include/php/Zend/zend_compile.h:690,
from /usr/local/include/php/Zend/zend_modules.h:26,
from /usr/local/include/php/Zend/zend_API.h:26,
from /usr/local/include/php/main/php.h:38,
from /usr/ports/textproc/php5-ctype/work/php-5.4.28/ext/ctype/ctype.c:23:
/usr/local/include/php/Zend/zend_vm_opcodes.h:168:7: warning: no newline at end of file
*** [ctype.lo] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/textproc/php5-ctype.