Date: Mon, 3 Mar 2003 18:53:55 +0300 From: Odhiambo Washington <wash@wananchi.com> To: FBSD-STABLE <freebsd-stable@freebsd.org> Subject: php4 build fail from ports Message-ID: <18psGJ-000C3f-00@ns2.wananchi.com>
next in thread | raw e-mail | index | archive | help
Are there any experienced takers? FreeBSD-4.{7|8} cd /usr/ports/www/mod_php4/ && make fails with error below: ===> Building for mod_php4-4.3.1 /bin/sh libtool --silent --mode=compile cc -Iext/zlib/ -I/usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/ -DPHP_ATOM_INC -I/usr/ports/www/mod_php4/work/php-4.3.1/include -I/usr/ports/www/mod_php4/work/php-4.3.1/main -I/usr/ports/www/mod_php4/work/php-4.3.1 -I/usr/ports/www/mod_php4/work/php-4.3.1/Zend -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include/pspell -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI -DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I/usr/ports/www/mod_php4/work/php-4.3.1/TSRM -O -pipe -I/usr/local/include -prefer-pic -c /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c -o ext/zlib/zlib.lo In file included from /usr/include/sys/param.h:104, from /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_config_common.h:14, from /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_virtual_cwd.h:26, from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:360, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/include/machine/limits.h:81: warning: `LONG_MAX' redefined /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:189: warning: this is the location of the previous definition /usr/include/machine/limits.h:82: warning: `LONG_MIN' redefined /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:193: warning: this is the location of the previous definition In file included from /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_config_common.h:14, from /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_virtual_cwd.h:26, from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:360, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/include/sys/param.h:193: warning: `MAXPATHLEN' redefined /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:237: warning: this is the location of the previous definition In file included from /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:202, from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:34, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend_hash.h:119: syntax error before `va_list' In file included from /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:203, from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:34, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend_llist.h:34: syntax error before `va_list' In file included from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:34, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:285: syntax error before `va_list' /usr/ports/www/mod_php4/work/php-4.3.1/Zend/zend.h:423: syntax error before `va_list' In file included from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:224, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/main/spprintf.h:40: syntax error before `va_list' In file included from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:277: syntax error before `va_list' In file included from /usr/ports/www/mod_php4/work/php-4.3.1/main/php.h:360, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:28: /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: `struct utimbuf' declared inside parameter list /usr/ports/www/mod_php4/work/php-4.3.1/TSRM/tsrm_virtual_cwd.h:159: warning: its scope is only this definition or declaration, which is probably not what you want. In file included from /usr/ports/www/mod_php4/work/php-4.3.1/ext/standard/fsock.h:38, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/standard/php_standard.h:44, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:48: /usr/ports/www/mod_php4/work/php-4.3.1/main/php_network.h:113: syntax error before `socklen_t' /usr/ports/www/mod_php4/work/php-4.3.1/main/php_network.h:113: warning: `struct sockaddr' declared inside parameter list In file included from /usr/ports/www/mod_php4/work/php-4.3.1/ext/standard/php_standard.h:44, from /usr/ports/www/mod_php4/work/php-4.3.1/ext/zlib/zlib.c:48: /usr/ports/www/mod_php4/work/php-4.3.1/ext/standard/fsock.h:43: warning: `struct in_addr' declared inside parameter list *** Error code 1 Stop in /usr/ports/www/mod_php4/work/php-4.3.1. *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 Stop in /usr/ports/www/mod_php4. -Wash -- Odhiambo Washington <wash@wananchi.com> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) "Speed is subsittute fo accurancy." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18psGJ-000C3f-00>