Summary: | compilation of dev-php/php-4.4.0 fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Sebastian Gerus <ar> |
Component: | [OLD] Server | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | jakub, php-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robert Sebastian Gerus
2005-08-27 02:22:57 UTC
Hi, Thanks for the bug report. The PHP team only support the 'stable' gcc. I'm re-assigning this bug to the toolchain team, who currently provide support for gcc-4. Best regards, Stu With compiler switched to gcc-3.4.4-vanilla and recompilation of openssl with it i get a little less error msgs: gcc -Iext/openssl/ -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ - DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/include -I/var/tmp/ portage/php-4.4.0/work/php-4.4.0/main -I/var/tmp/portage/php-4.4.0/work/php-4.4. 0 -I/usr/include/libxml2 -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/ mbstring/mbregex -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/ libmbfl -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/mbstring/libmbfl/mbfl - I/usr/include/pspell -I/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat - I/var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM -I/var/tmp/portage/php-4.4.0/ work/php-4.4.0/Zend -march=athlon-xp -O2 -pipe -s -fomit-frame-pointer -c / var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/openssl.c -o ext/openssl/ openssl.o && echo > ext/openssl/openssl.lo In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:245, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_hash.h:119: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:246, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend_llist.h:34: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:34, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:330: error: parse error before "va_list" /var/tmp/portage/php-4.4.0/work/php-4.4.0/Zend/zend.h:470: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:239, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/snprintf.h:69: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:240, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/spprintf.h:40: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:292: error: parse error before "va_list" In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/main/php.h:392, from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/openssl/ openssl.c:27: /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: "struct utimbuf" declared inside parameter list /var/tmp/portage/php-4.4.0/work/php-4.4.0/TSRM/tsrm_virtual_cwd.h:182: warning: its scope is only this definition or declaration, which is probably not what you want make: *** [ext/openssl/openssl.lo] Błąd 1 !!! ERROR: dev-php/php-4.4.0 failed. !!! Function php-sapi_src_compile, Line 5956, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Just noting that php-4.4.0 from the Gentoo PHP overlay [1] compiles perfectly well with dev-libs/openssl-0.9.7e-r1 and gcc-4.0.2-beta20050818, so you might try the ebuild from overlay, it works for me. [1] http://svn.gnqs.org/projects/gentoo-php-overlay/ post a patch Php from stable Gentoo PHP Overlay [1] compiled cleanly with gcc-4, thanks. [1] http://dev.gentoo.org/~stuart/php/php-overlay.tar.gz This may be closed then, thanks for reporting back. |