Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP5 wont emerge / TSRM.m4 error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
spacewalker
n00b
n00b


Joined: 28 Jan 2004
Posts: 7

PostPosted: Wed Nov 08, 2006 7:29 pm    Post subject: PHP5 wont emerge / TSRM.m4 error Reply with quote

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
View user's profile Send private message
Hagar
Guru
Guru


Joined: 11 Feb 2003
Posts: 445

PostPosted: Wed Nov 08, 2006 8:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
br41n
n00b
n00b


Joined: 16 Nov 2006
Posts: 15

PostPosted: Thu Jan 04, 2007 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
ackspam
n00b
n00b


Joined: 05 Jan 2007
Posts: 2

PostPosted: Fri Jan 05, 2007 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
ackspam
n00b
n00b


Joined: 05 Jan 2007
Posts: 2

PostPosted: Fri Jan 05, 2007 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
br41n
n00b
n00b


Joined: 16 Nov 2006
Posts: 15

PostPosted: Fri Jan 05, 2007 10:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
br41n
n00b
n00b


Joined: 16 Nov 2006
Posts: 15

PostPosted: Sat Jan 06, 2007 10:59 pm    Post subject: Reply with quote

Anybody has a clue? :?
Back to top
View user's profile Send private message
sax2000man
n00b
n00b


Joined: 22 Mar 2005
Posts: 4
Location: Texas

PostPosted: Mon Jan 08, 2007 6:24 am    Post subject: Reply with quote

I'm having the same problem, any progress on a solution? I also would not like to reinstall the entire system.
Back to top
View user's profile Send private message
sax2000man
n00b
n00b


Joined: 22 Mar 2005
Posts: 4
Location: Texas

PostPosted: Tue Jan 09, 2007 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
br41n
n00b
n00b


Joined: 16 Nov 2006
Posts: 15

PostPosted: Tue Jan 09, 2007 8:43 am    Post subject: Reply with quote

wow, that worked perfectly for me too, thanks alot :)
Back to top
View user's profile Send private message
stonegate
n00b
n00b


Joined: 01 Jan 2005
Posts: 26
Location: Munich, Germany

PostPosted: Sat Jan 13, 2007 3:11 pm    Post subject: Reply with quote

great solve mate !

emerge --verbose --ask =sys-devel/automake-1.9*

helped me on my system too.

Thanks for that!
Stonegate
Back to top
View user's profile Send private message
kendricbeachey
n00b
n00b


Joined: 07 Aug 2002
Posts: 7
Location: Kansas City

PostPosted: Mon Feb 19, 2007 11:56 pm    Post subject: Same here! Reply with quote

Another frustrated user saved by this tip. Thanks!
Back to top
View user's profile Send private message
serotonin
n00b
n00b


Joined: 24 Dec 2003
Posts: 50

PostPosted: Wed Feb 21, 2007 8:30 pm    Post subject: Reply with quote

Same problem here, fix worked as well. Thank you for the post!
_________________
http://www.tankprofiler.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum