View previous topic :: View next topic |
Author |
Message |
Grebekel n00b
Joined: 19 Jun 2004 Posts: 20
|
Posted: Fri Feb 25, 2005 2:01 pm Post subject: emerge <kernel name> FAILED! |
|
|
Tried to emerge gentoo-sources and it tells me all ebuilds that could satisfy "gentoo-sources" have been masked, but why?
Then I tried to emerge gentoo-dev-sources and vanilla-sources and got the following while emerging gettext:
configure: error: C compiler cannot create executables. See config.log for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
So I checked config.log but nothing gave me a hint of what could be wrong.
I'm on an amd64, 512mb ram, 40gb hdd. I`ve installed gentoo successfully on other machines, and I`ve never run into something like this :\ |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Fri Feb 25, 2005 3:27 pm Post subject: |
|
|
Is your CFLAGS and CHOST setting correct? Malconfigured compiler-variables such as these two can result in this type of error. |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Fri Feb 25, 2005 5:09 pm Post subject: |
|
|
post your make.conf please _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Grebekel n00b
Joined: 19 Jun 2004 Posts: 20
|
Posted: Fri Feb 25, 2005 10:51 pm Post subject: |
|
|
make.conf:
Code: |
USE="X alsa opengl dvd dvdr -qt -kde -gnome"
CFLAGS="march=athlon64 -O3"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
|
|
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sat Feb 26, 2005 2:54 am Post subject: |
|
|
Code: | CFLAGS="march=athlon64 -O3" | should be Code: | CFLAGS="-march=athlon64 -O3" |
_________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Grebekel n00b
Joined: 19 Jun 2004 Posts: 20
|
Posted: Sat Feb 26, 2005 4:13 am Post subject: |
|
|
It worked flawlessly!
I'd hug you but that would be weird, unless you're a girl. |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sat Feb 26, 2005 4:54 am Post subject: |
|
|
Glad it worked, thats what we're here for. You can hug me, theres nothing wrong with two men hugging. _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Grebekel n00b
Joined: 19 Jun 2004 Posts: 20
|
Posted: Sat Feb 26, 2005 1:04 pm Post subject: |
|
|
Seems like I spoke too soon, ran into another snag.
This time while emerging ncurses (vanilla-sources):
Code: |
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/curses.o] Error 127
make[1]: Leaving directory '/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++
make: *** [all] Error 2
!!! ERROR: sys-libs/ncurses-5.4-r5 failed.
!!! Function src_compile, line 78, Exitcode 2
!!! Make failed
|
|
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
Grebekel n00b
Joined: 19 Jun 2004 Posts: 20
|
Posted: Sat Feb 26, 2005 6:55 pm Post subject: |
|
|
Thanks, seems like I forgot the bootstrap. For some reason the latest Gentoo handbook doesn`t mention anything about it (or maybe I didn`t see it?). I`ll do the steps I missed and try again. |
|
Back to top |
|
|
|