Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107029 - PHP 5.0.5-r1 fails with a TSRM does not exist error
Summary: PHP 5.0.5-r1 fails with a TSRM does not exist error
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 107077 158430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-23 12:23 UTC by Mark D.
Modified: 2006-12-18 01:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark D. 2005-09-23 12:23:22 UTC
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.
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-23 12:25:38 UTC
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.
Comment 2 Mark D. 2005-09-23 12:39:50 UTC
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

Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2005-09-23 12:54:49 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-09-23 13:06:39 UTC
See comment #3... Reopen if it still does not work then.
Comment 5 Mark D. 2005-09-23 14:52:16 UTC
Works great, thanks for the speedy response!!
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-09-24 00:40:30 UTC
Closing.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-09-24 04:41:20 UTC
*** Bug 107077 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-12-18 01:07:45 UTC
*** Bug 158430 has been marked as a duplicate of this bug. ***