Hi
I have a problem with installing the net/php5-xmlrpc port:
A complete PHP reinstall did not help. I'm building a port net/php5-xmlrpc in an ezjail jail.
Information about the system:
Help solve the problem.
I have a problem with installing the net/php5-xmlrpc port:
Code:
....
cc -I/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc -DVERSION=0.50 -I. -I/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc -DPHP_ATOM_INC -I/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/include -I/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/main -I/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc -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 -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/system_methods.c -fPIC -DPIC -o libxmlrpc/.libs/system_methods.o
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:51:19: error: iconv.h: No such file or directory
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c: In function 'convert':
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:67: error: 'iconv_t' undeclared (first use in this function)
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:67: error: (Each undeclared identifier is reported only once
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:67: error: for each function it appears in.)
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:67: error: expected ';' before 'ic'
/var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/encodings.c:73: error: 'ic' undeclared (first use in this function)
*** [libxmlrpc/encodings.lo] Error code 1
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 /var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/xmlrpc-epi-php.c:68:
/usr/local/include/php/Zend/zend_vm_opcodes.h:168:7: warning: no newline at end of file
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 /var/ports/basejail/usr/ports/net/php5-xmlrpc/work/php-5.4.28/ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c:36:
/usr/local/include/php/Zend/zend_vm_opcodes.h:168:7: warning: no newline at end of file
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 /basejail/usr/ports/net/php5-xmlrpc.
A complete PHP reinstall did not help. I'm building a port net/php5-xmlrpc in an ezjail jail.
Information about the system:
Code:
# uname -a
FreeBSD mx.domain.net 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265136: Wed Apr 30 15:25:13 EEST 2014 root@domain.net:/usr/obj/nanobsd.full/usr/src/sys/MY_KERNEL amd64
# cat /etc/make.conf
WRKDIRPREFIX= /var/ports
DISTDIR= /var/ports/distfiles
PACKAGES= /var/ports/packages
INDEXDIR= /var/ports
# PKGNG
WITH_PKGNG=yes
Help solve the problem.