|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-19 17:49 UTC] kalowsky@php.net
[2003-01-20 01:24 UTC] sjanktie at imap dot cc
[2003-01-20 01:34 UTC] sjanktie at imap dot cc
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Mar 29 20:00:01 2026 UTC |
When I run this configure command (and any other options with apxs): ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql \ --enable-track-vars \ --with-openssl=/usr \ --enable-force-cgi-redirect \ --enable-sockets \ --with-gettext \ --with-mm Followed with the command: gmake I get the following error message: Server# gmake /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/usr/local/src/php-4.3.0/ext/ctype/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.0/include -I/usr/local/src/php-4.3.0/main -I/usr/local/src/php-4.3.0 -I/usr/local/src/php-4.3.0/Zend -I/usr/local/include -I/usr/local/src/php-4.3.0/ext/xml/expat -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/local/src/php-4.3.0/TSRM -g -O2 -prefer-pic -c /usr/local/src/php-4.3.0/ext/ctype/ctype.c -o ext/ctype/ctype.lo In file included from /usr/include/sys/param.h:104, from /usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14, from /usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:26, from /usr/local/src/php-4.3.0/main/php.h:360, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/include/machine/limits.h:81: warning: `LONG_MAX' redefined /usr/local/src/php-4.3.0/Zend/zend.h:189: warning: this is the location of the previous definition /usr/include/machine/limits.h:82: warning: `LONG_MIN' redefined /usr/local/src/php-4.3.0/Zend/zend.h:193: warning: this is the location of the previous definition In file included from /usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14, from /usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:26, from /usr/local/src/php-4.3.0/main/php.h:360, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/include/sys/param.h:193: warning: `MAXPATHLEN' redefined /usr/local/src/php-4.3.0/main/php.h:237: warning: this is the location of the previous definition In file included from /usr/local/src/php-4.3.0/Zend/zend.h:202, from /usr/local/src/php-4.3.0/main/php.h:34, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/Zend/zend_hash.h:119: syntax error before `va_list' In file included from /usr/local/src/php-4.3.0/Zend/zend.h:203, from /usr/local/src/php-4.3.0/main/php.h:34, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/Zend/zend_llist.h:34: syntax error before `va_list' In file included from /usr/local/src/php-4.3.0/main/php.h:34, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/Zend/zend.h:285: syntax error before `va_list' /usr/local/src/php-4.3.0/Zend/zend.h:423: syntax error before `va_list' In file included from /usr/local/src/php-4.3.0/main/php.h:224, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/main/spprintf.h:40: syntax error before `va_list' In file included from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/main/php.h:277: syntax error before `va_list' In file included from /usr/local/src/php-4.3.0/main/php.h:360, from /usr/local/src/php-4.3.0/ext/ctype/ctype.c:23: /usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:159: warning: `struct utimbuf' declared inside parameter list /usr/local/src/php-4.3.0/TSRM/tsrm_virtual_cwd.h:159: warning: its scope is only this definition or declaration, which is probably not what you want. gmake: *** [ext/ctype/ctype.lo] Error 1 -I have this problem sinds version 4.2.1. -Compilation worked when I replace the "--with-apxs=/usr/local/apache/bin/apxs" param with "--with-apache=../apache-1.3.27", but I don't want a static php installation. -When I disable ctype in configure (--disable-ctype) it hangs at gettext. (Also with the error: In file included from /usr/include/sys/param.h:104, from /usr/local/src/php-4.3.0/TSRM/tsrm_config_common.h:14, ... )