Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP emerge install error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
slaw219
n00b
n00b


Joined: 19 Dec 2005
Posts: 20

PostPosted: Wed Dec 06, 2006 7:09 am    Post subject: PHP emerge install error Reply with quote

I run the command
emerge dev-lang/php

It runs for about 2hours then ends with:

Code:
!!! ERROR: sys-devel/m4-1.4.3 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I'm running it yet again for a more complete list of any possible error messages. It said to refer to a config.log file but I could not find it. As far as I can tell my Apache2 configuration is working, even have per user web pages working. However, I can not get PHP to install.

Thanks for the help,
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Wed Dec 06, 2006 10:01 am    Post subject: Re: PHP emerge install error Reply with quote

This is probably the wrong forum "Networking and Security" for this and I'm afraid you don't give much detail ...

"m4" is the package that is giving you the error.

On my x86 box which I last sync'd the Portage tree over a week ago it wants to install 1.4.7 from 1.4.4 (which was installed quite some time ago). A quick check on:

http://packages.gentoo.org/search/?sstring=m4 shows that 1.4.3 isn't on thelist (too old). So please start with:

#emerge --sync

Now do:

# emerge -va --oneshot m4 (the oneshot stops m4 from going into the "world" file, see the docs for details)

That should install m4 with no problems and finally

#emerge -va php

Cheers
Jon
Back to top
View user's profile Send private message
slaw219
n00b
n00b


Joined: 19 Dec 2005
Posts: 20

PostPosted: Wed Dec 06, 2006 5:19 pm    Post subject: Reply with quote

There were about 20 more steps I needed to do to get everything updated. I'll be sure to run emerge --sync more frequently. I've been neglecting my server for a while now :(

Thanks a lot for pointing me in the right direction.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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