| View previous topic :: View next topic |
| Author |
Message |
spacewalker n00b

Joined: 28 Jan 2004 Posts: 5
|
Posted: Wed Nov 08, 2006 2:29 pm Post subject: PHP5 wont emerge / TSRM.m4 error |
|
|
hi folks,
spending one entire day on this now, driving me completely nuts. i cant get php5 to emerge. tried different ebuilds. always the sam error:
| Code: | * php5.1.6-zlib_fixes.patch ... [ ok ]
* Done with patching
* Running aclocal
TSRM/tsrm.m4:71: file `TSRM/TSRM/threads.m4' does not exist
!!! ERROR: dev-lang/php-5.1.6-r8 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
php-5.1.6-r8.ebuild, line 160: Called php5_1-sapi_src_unpack
php5_1-sapi.eclass, line 331: Called die
!!! Unable to run aclocal successfully
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
can someone help please? |
|
| Back to top |
|
 |
Hagar Guru

Joined: 11 Feb 2003 Posts: 444
|
Posted: Wed Nov 08, 2006 3:37 pm Post subject: |
|
|
Do you have sys-devel/automake-1.9* installed?
Somehow aclocal bails when it can't find threads.m4
This file is included with 'sinclude' which should make it optional, but in your cases it's not. |
|
| Back to top |
|
 |
br41n n00b

Joined: 16 Nov 2006 Posts: 13
|
Posted: Thu Jan 04, 2007 6:48 am Post subject: |
|
|
sorry for ressurecting an old thread but...
i have the same problem while trying to emerge latest php
.. the error occured while trying to emerge a bigger list of packages including:
1167906670: ::: completed emerge (13 of 23) sys-devel/libtool-1.5.22 to /
1167906737: ::: completed emerge (14 of 23) sys-devel/m4-1.4.7 to /
1167906741: ::: completed emerge (15 of 23) virtual/libiconv-0 to /
1167906751: ::: completed emerge (16 of 23) sys-devel/automake-wrapper-3-r1 to /
1167906762: ::: completed emerge (17 of 23) sys-devel/autoconf-wrapper-4-r3 to /
1167906792: ::: completed emerge (18 of 23) sys-devel/autoconf-2.61 to /
1167906813: ::: completed emerge (19 of 23) sys-devel/automake-1.10 to /
| Code: |
* Running aclocal
TSRM/tsrm.m4:71: file `TSRM/TSRM/threads.m4' does not exist
!!! ERROR: dev-lang/php-5.1.6-r6 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
php-5.1.6-r6.ebuild, line 160: Called php5_1-sapi_src_unpack
php5_1-sapi.eclass, line 331: Called die
!!! Unable to run aclocal successfully
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
|
|
| Back to top |
|
 |
ackspam n00b

Joined: 05 Jan 2007 Posts: 2
|
Posted: Fri Jan 05, 2007 1:21 pm Post subject: |
|
|
| I'm getting the same error. I've already ran emerge --sync and tried updating m4 libtool automake automake-wrapper autoconf autoconf-wrapper , but still no go. |
|
| Back to top |
|
 |
ackspam n00b

Joined: 05 Jan 2007 Posts: 2
|
Posted: Fri Jan 05, 2007 3:22 pm Post subject: |
|
|
| I wiped the machine and installed the 2006.1 release, php compiles fine now. It had previously been using the 2005.1 release. |
|
| Back to top |
|
 |
br41n n00b

Joined: 16 Nov 2006 Posts: 13
|
Posted: Fri Jan 05, 2007 5:21 pm Post subject: |
|
|
| Well that box is our gw and i can't do that so easy on a network with ~400 users + servers and stuff but i wanted to test lighttpd on it so if anyone can give me a hint on how to solve the problem i would be gratefull, thank you. |
|
| Back to top |
|
 |
br41n n00b

Joined: 16 Nov 2006 Posts: 13
|
Posted: Sat Jan 06, 2007 5:59 pm Post subject: |
|
|
Anybody has a clue?  |
|
| Back to top |
|
 |
sax2000man n00b

Joined: 22 Mar 2005 Posts: 4 Location: Texas
|
Posted: Mon Jan 08, 2007 1:24 am Post subject: |
|
|
| I'm having the same problem, any progress on a solution? I also would not like to reinstall the entire system. |
|
| Back to top |
|
 |
sax2000man n00b

Joined: 22 Mar 2005 Posts: 4 Location: Texas
|
Posted: Mon Jan 08, 2007 7:34 pm Post subject: |
|
|
After a lot of digging, I found out that the emerge fails with WANT_AUTOMAKE=1.9 but succeeds with WANT_AUTOMAKE=1.10. I looked at the versions of automake that I have installed, and my 1.9* version was from an outdated ebuild:
# equery list automake
[I--] [ ] sys-devel/automake-1.4_p6 (1.4)
[I--] [ ] sys-devel/automake-1.5 (1.5)
[I--] [ ] sys-devel/automake-1.6.3 (1.6)
[I--] [ ] sys-devel/automake-1.7.9-r1 (1.7)
[I--] [ ] sys-devel/automake-1.8.5-r3 (1.8)
[I--] [M ] sys-devel/automake-1.9.4 (1.9)
[I--] [ ] sys-devel/automake-1.10 (1.10)
[I--] [ ] sys-devel/automake-wrapper-3-r1 (0)
I did an upgrade on automake-1.9*:
# emerge --verbose --ask =sys-devel/automake-1.9*
This seems to fix the problem, and php is building now.
By the way, I have run into this problem quite a bit recently (an old ebuild is installed, and masked, but is no longer maintained). This happened because my system was not upgraded for many months in a row, and now I've been performing many updates. Is there a way to detect any installed packages that are no longer supported? I don't want to do an upgrade on world, becuase that would take a very long time on my system. Rather, I would like to only upgrade the packages that are no longer supported. |
|
| Back to top |
|
 |
br41n n00b

Joined: 16 Nov 2006 Posts: 13
|
Posted: Tue Jan 09, 2007 3:43 am Post subject: |
|
|
wow, that worked perfectly for me too, thanks alot  |
|
| Back to top |
|
 |
stonegate n00b


Joined: 01 Jan 2005 Posts: 26 Location: Munich, Germany
|
Posted: Sat Jan 13, 2007 10:11 am Post subject: |
|
|
great solve mate !
emerge --verbose --ask =sys-devel/automake-1.9*
helped me on my system too.
Thanks for that!
Stonegate |
|
| Back to top |
|
 |
kendricbeachey n00b


Joined: 06 Aug 2002 Posts: 7 Location: Kansas City
|
Posted: Mon Feb 19, 2007 6:56 pm Post subject: Same here! |
|
|
| Another frustrated user saved by this tip. Thanks! |
|
| Back to top |
|
 |
serotonin n00b

Joined: 23 Dec 2003 Posts: 43
|
Posted: Wed Feb 21, 2007 3:30 pm Post subject: |
|
|
Same problem here, fix worked as well. Thank you for the post! _________________ http://www.tankprofiler.com |
|
| Back to top |
|
 |
|