Compiling php 5.0.5 failed immediately because of a missing file. I've tried many combinations of apache and php with and without threads, and I've set mpm-peruser for apache too! Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/php-5.0.5-r1 2. 3. Actual Results: * If this package fails with a fatal error about Apache2 not having * been compiled with a compatible MPM, this is normally because you * need to toggle the 'threads' USE flag. * * If 'threads' is off, try switching it on. * If 'threads' is on, try switching it off. * >>> Unpacking source... >>> Unpacking php-5.0.5.tar.bz2 to /var/tmp/portage/php-5.0.5-r1/work * Applying php5.0.5-obj-serialize.patch ... [ ok ] * Applying php5_soap_persistence_session.diff ... [ ok ] * Applying php5-prefork.patch ... [ ok ] * Applying php5-libtool-1.5.patch ... [ ok ] * Running aclocal TSRM/tsrm.m4:71: file `TSRM/TSRM/threads.m4' does not exist !!! ERROR: dev-lang/php-5.0.5-r1 failed. !!! Function php5_0-sapi_src_unpack, Line 285, Exitcode 1 !!! Unable to run aclocal successfully !!! If you need support, post the topmost build error, NOT this status message. Yes, its probably a threads issue.
What does the following command say: emerge -pv m4 libtool automake automake-wrapper autoconf autoconf-wrapper Please post the output here, thanks. Best regards, CHTEKK.
Calculating dependencies ...done! [ebuild U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 298 kB [ebuild U ] sys-devel/libtool-1.5.20 [1.5.18-r1] 2,723 kB [ebuild U ] sys-devel/automake-1.9.6 [1.9.5] 747 kB [ebuild R ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild U ] sys-devel/autoconf-2.59-r7 [2.59-r6] -emacs 0 kB [ebuild U ] sys-devel/autoconf-wrapper-3.2 [3-r1] 0 kB
Ok, please update m4 to 1.4.3 and automake to 1.9.6, with the following command: emerge =sys-devel/m4-1.4.3 =sys-devel/automake-1.9.6 Then emerge dev-lang/php again, this should fix it. Best regards, CHTEKK.
See comment #3... Reopen if it still does not work then.
Works great, thanks for the speedy response!!
Closing.
*** Bug 107077 has been marked as a duplicate of this bug. ***
*** Bug 158430 has been marked as a duplicate of this bug. ***