romakhin
Guest
Компиляция php 4.3
Компилирую php 4.3.4 (аналогичные же ошибки при компиляции 4.3.1):
# ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
Конфигурируется без проблем
# make
сразу же глохнет:
gcc -Iext/ctype/ -I/var/www/src/php-4.3.4/ext/ctype/ -DPHP_ATOM_INC -I/var/www/src/php-4.3.4/include -I/var/www/src/php-4.3.4/main -I/var/www/src/php-4.3.4 -I/var/www/src/php-4.3.4/Zend -I/var/www/src/php-4.3.4/ext/xml/expat -I/var/www/src/php-4.3.4/TSRM -g -c /var/www/src/php-4.3.4/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo
In file included from /var/www/src/php-4.3.4/Zend/zend.h:227,
from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend_hash.h:119: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/Zend/zend.h:228,
from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend_llist.h:34: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend.h:311: parse error before "va_list"
/var/www/src/php-4.3.4/Zend/zend.h:451: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:236,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/main/spprintf.h:40: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/main/php.h:289: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:389,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/TSRM/tsrm_virtual_cwd.h:182: warning: `struct utimbuf' declared inside parameter list
/var/www/src/php-4.3.4/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want
Шаманские пляски с параметрами configure никакого результата не дали. Система - ASP Linux 9, ядро 2.4.20, gcc 3.2.2
Скажите, пожалуйста, отчего не едут лыжи?
Компилирую php 4.3.4 (аналогичные же ошибки при компиляции 4.3.1):
# ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
Конфигурируется без проблем
# make
сразу же глохнет:
gcc -Iext/ctype/ -I/var/www/src/php-4.3.4/ext/ctype/ -DPHP_ATOM_INC -I/var/www/src/php-4.3.4/include -I/var/www/src/php-4.3.4/main -I/var/www/src/php-4.3.4 -I/var/www/src/php-4.3.4/Zend -I/var/www/src/php-4.3.4/ext/xml/expat -I/var/www/src/php-4.3.4/TSRM -g -c /var/www/src/php-4.3.4/ext/ctype/ctype.c -o ext/ctype/ctype.o && echo > ext/ctype/ctype.lo
In file included from /var/www/src/php-4.3.4/Zend/zend.h:227,
from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend_hash.h:119: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/Zend/zend.h:228,
from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend_llist.h:34: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:34,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/Zend/zend.h:311: parse error before "va_list"
/var/www/src/php-4.3.4/Zend/zend.h:451: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:236,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/main/spprintf.h:40: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/main/php.h:289: parse error before "va_list"
In file included from /var/www/src/php-4.3.4/main/php.h:389,
from /var/www/src/php-4.3.4/ext/ctype/ctype.c:23:
/var/www/src/php-4.3.4/TSRM/tsrm_virtual_cwd.h:182: warning: `struct utimbuf' declared inside parameter list
/var/www/src/php-4.3.4/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want
Шаманские пляски с параметрами configure никакого результата не дали. Система - ASP Linux 9, ядро 2.4.20, gcc 3.2.2
Скажите, пожалуйста, отчего не едут лыжи?