View previous topic :: View next topic |
Author |
Message |
slaw219 n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Wed Dec 06, 2006 7:09 am Post subject: PHP emerge install error |
|
|
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 |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Wed Dec 06, 2006 10:01 am Post subject: Re: PHP emerge install error |
|
|
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 |
|
|
slaw219 n00b
Joined: 19 Dec 2005 Posts: 20
|
Posted: Wed Dec 06, 2006 5:19 pm Post subject: |
|
|
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 |
|
|
|