Al
Новичок
Помогите собрать РНР4 под Солярис 10 х86
Добрый день!
Требуется пересобрать РНР с поддержкой сокетов, заодно и последнюю версию (4.4.4) поставить.
Сейчас есть Apache 1.3.33rusPL30.21 + PHP 4.4.2 на SunOS 5.10 s10_69 i86pc
4.4.2 собран так:
Апач
Пытаюсь 4.4.4 сделать так:
Получаю после make:
Отказ от gd приводит в аналогичной ошибке при сборке модуля mysql.
Куда и что бежать читать?
Беда в том что весной (время сборки 4.4.2) все было ок и за лето/осень вроде ничего не менялось на сервере.
Заранее спасибо.
P.S. Кстати 4.4.2 тоже не собирается, ошибка аналогичная, так что дело в сервере ...
P.P.S Сервер, понятное дело, останавливать нельзя
Добрый день!
Требуется пересобрать РНР с поддержкой сокетов, заодно и последнюю версию (4.4.4) поставить.
Сейчас есть Apache 1.3.33rusPL30.21 + PHP 4.4.2 на SunOS 5.10 s10_69 i86pc
4.4.2 собран так:
PHP:
./configure --prefix=/WWW/php --with-apache=../apache_1.3.33rusPL30.21 --with-mysql=/usr/local/mysql --with-gd=/WWW/gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-oci8 --with-freetype-dir=/WWW/freetype2
PHP:
./configure --prefix=/WWW --activate-module=src/modules/php4/libphp4.a --enable-module=headers --enable-module=rewrite --enable-module=expires --disable-module=userdir --activate-module=src/modules/extra/mod_realip.o
PHP:
./configure --prefix=/WWW/php --with-apache=../apache_1.3.33rusPL30.21 --with-mysql=/usr/local/mysql --with-gd=/WWW/gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-oci8 --with-freetype-dir=/WWW/freetype2 --enable-sockets
PHP:
gcc -I/WWW/gd/include -Iext/gd/ -I/WWW/distrib/php-4.4.4/ext/gd/ -DPHP_ATOM_INC -I/WWW/distrib/php-4.4.4/include -I/WWW/distrib/php-4.4.4/main -I/WWW/distrib/php-4.4.4 -I/usr/local/include -I/WWW/freetype2/include -I/WWW/freetype2/include/freetype2 -I/WWW/gd/include -I/usr/local/mysql/include/mysql -I/oracle/rdbms/public -I/oracle/rdbms/demo -I/WWW/distrib/php-4.4.4/ext/xml/expat -I/WWW/distrib/php-4.4.4/TSRM -I/WWW/distrib/php-4.4.4/Zend -D_POSIX_PTHREAD_SEMANTICS -g -O2 -c /WWW/distrib/php-4.4.4/ext/gd/gd.c -o ext/gd/gd.o && echo > ext/gd/gd.lo
In file included from /usr/include/sys/wait.h:24,
from /WWW/distrib/php-4.4.4/ext/gd/gd.c:41:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /WWW/distrib/php-4.4.4/ext/gd/gd.c:41:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /WWW/distrib/php-4.4.4/ext/gd/gd.c:41:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make: *** [ext/gd/gd.lo] Error 1
Куда и что бежать читать?
Беда в том что весной (время сборки 4.4.2) все было ок и за лето/осень вроде ничего не менялось на сервере.
Заранее спасибо.
P.S. Кстати 4.4.2 тоже не собирается, ошибка аналогичная, так что дело в сервере ...
P.P.S Сервер, понятное дело, останавливать нельзя
