Guest Account for PHP/AQ Team Member
| From: | Ville Walveranta | Date: | Tue, 14 Dec 2004 20:04:56 +0000 |
| Subject: | Guest Account for PHP/AQ Team Member | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-22006@lists.php.net to get a copy of this message | ||
5.0.3RC2 compilation fails on FreeBSD 4.10-REL-p3
=================================================
5.0.3RC2 doesn't compile on my system while 5.0.3RC1 compiles without
problems.
The error message that is produced during make is:
---
In file included from
/usr/local/src/apache-modules/php-5.0.3RC2/ext/iconv/iconv.c:40:
/usr/local/src/apache-modules/php-5.0.3RC2/ext/iconv/php_iconv.h:42:
ext/iconv/php_php_iconv_h_path.h: No such file or directory
*** Error code 1
Stop in /usr/local/src/apache-modules/php-5.0.3RC2.
---
The relavent segment of php_iconv.h:
...
#ifdef PHP_ATOM_INC
#include "ext/iconv/php_have_iconv.h"
#include "ext/iconv/php_have_libiconv.h"
#include "ext/iconv/php_have_glibc_iconv.h"
#include "ext/iconv/php_have_bsd_iconv.h"
#include "ext/iconv/php_iconv_supports_errno.h"
#include "ext/iconv/php_php_iconv_impl.h"
#include "ext/iconv/php_php_iconv_h_path.h"
#endif
...
The last file to be included in the PHP_ATOM_INC section,
"php_php_iconv_h_path.h" does not exist, hence the error is produced.
The configure command I use is as follows:
./configure \
--with-apache=../../apache_1.3.33 \
--with-mhash=../../mhash-0.9.1 \
--with-mysql=/usr/local \
--with-config-file-path=/usr/local/etc \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=../../jpeg-6b \
--with-png-dir=../../libpng-1.2.7 \
--with-zlib-dir=../../zlib-1.2.1 \
--with-freetype-dir=../../freetype-2.1.9 \
--with-mcrypt \
--with-curl \
--enable-ftp \
--enable-sockets \
--enable-track-vars \
--enable-force-cgi-redirect \
--enable-bcmath \
--enable-calendar \
--enable-wddx \
--with-xml \
--with-xsl \
--with-gettext \
--with-mime-magic \
--enable-exif \
--enable-soap \
--with-openssl=/usr/local \
--with-pear=/usr/local
The system is a dual PIII-1.4 (Tualatin) box with 2Gb of memory, running
FreeBSD 4.10-REL-p3.
gcc version 2.95.4
If you need further info, please send email at ville at walveranta.org
Thanks,
Ville Walveranta