Summary: | mod_php-5.0.3-r1 doesn't compile because "mm is not thread-safe" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Holly <holly-gentoo-bugzilla> |
Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 60438 |
Description
Holly
2005-03-10 02:04:53 UTC
please include the output of 'apache2 -l' prometheus ~ # apache2 -l Compiled in modules: core.c prefork.c http_core.c mod_so.c I have the same problem here. Output of 'apache2 -l': Compiled in modules: core.c prefork.c http_core.c mod_so.c The PHP guys are just nice and prevent you from shooting yourself in the foot: http://docs.php.net/en/faq.installation.html#faq.installation.apache2 Maybe the php ebuild should prevent this compilation error by checking the MPM? J The PHP guys are just nice and prevent you from shooting yourself in the foot: http://docs.php.net/en/faq.installation.html#faq.installation.apache2 Maybe the php ebuild should prevent this compilation error by checking the MPM? Jürgen I see the same error with 5.0.3-r2. I've added the following to my /etc/portage/package.keywords file: >=dev-php/mod_php-5.0.0 -sasl -threads prefork ~x86 Here is the error: /bin/sh /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/libtool --silent --preserve-dup-deps --mode=compile /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/meta_ccld -Iext/session/ -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/session/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/include -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/main -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3 -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/Zend -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/mbstring/oniguruma -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -D_REENTRANT -I/var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/TSRM -DTHREAD=1 -O2 -pipe -fomit-frame-pointer -pthread -DZTS -prefer-pic -c /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/session/mod_user.c -o ext/session/mod_user.lo /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/ext/session/mod_mm.c:37:3: #error mm is not thread-safe make: *** [ext/session/mod_mm.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-php/mod_php-5.0.3-r2 failed. !!! Function php5-sapi_src_compile, Line 437, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Consider my comment 24 to bug 77556. (You may want to try without the sharedmem useflag.) Hi, This is now fixed in the dev-lang/php package in the Gentoo PHP Overlay. The overlay is available for general use, or you can wait until we add the packages to Portage. http://svn.gnqs.org/projects/gentoo-php-overlay/ Best regards, Stu |