Error installing php5.0.4 in freebsd 5.4 Stable
RdBSD
slaveszeroes at gmail.com
Wed Oct 26 18:57:51 PDT 2005
Dear All,
I Have a Problem when installing php5.0.4 from source or from ports.
Here's the detail of errors :
www:>make
gcc -Iext/libxml/
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/
-DPHP_ATOM_INC -I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/include
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/main
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4-I/usr/local/include/libxml2
-I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/mysql/include
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/TSRM
-I/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/Zend -g -O2 -c
/data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4/ext/libxml/libxml.c
-o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
In file included from /usr/local/include/libxml2/libxml/parser.h:781,
from /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4
/ext/libxml/libxml.c:38:
/usr/local/include/libxml2/libxml/encoding.h:136: error: syntax error before
"iconv_t"
*** Error code 1
Stop in /data/source/www/Apachetoolbox-1.5.72.orig/src/php-5.0.4.
Can anybody help me ?
My System :
FreeBSD 5.4 Stable
Apache 1.3.1
PHP 5.0.4
Mysql 5
And other modules for Apache
Thanks.
More information about the freebsd-questions
mailing list