Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge <kernel name> FAILED!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Grebekel
n00b
n00b


Joined: 19 Jun 2004
Posts: 20

PostPosted: Fri Feb 25, 2005 2:01 pm    Post subject: emerge <kernel name> FAILED! Reply with quote

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
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Fri Feb 25, 2005 3:27 pm    Post subject: Reply with quote

Is your CFLAGS and CHOST setting correct? Malconfigured compiler-variables such as these two can result in this type of error.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Fri Feb 25, 2005 5:09 pm    Post subject: Reply with quote

post your make.conf please
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Grebekel
n00b
n00b


Joined: 19 Jun 2004
Posts: 20

PostPosted: Fri Feb 25, 2005 10:51 pm    Post subject: Reply with quote

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


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sat Feb 26, 2005 2:54 am    Post subject: Reply with quote

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


Joined: 19 Jun 2004
Posts: 20

PostPosted: Sat Feb 26, 2005 4:13 am    Post subject: Reply with quote

It worked flawlessly!

I'd hug you but that would be weird, unless you're a girl. :)
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Sat Feb 26, 2005 4:54 am    Post subject: Reply with quote

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


Joined: 19 Jun 2004
Posts: 20

PostPosted: Sat Feb 26, 2005 1:04 pm    Post subject: Reply with quote

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


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Feb 26, 2005 4:52 pm    Post subject: Reply with quote

Have a look at this post for the solution to that:

https://forums.gentoo.org/viewtopic-t-299349.html
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Grebekel
n00b
n00b


Joined: 19 Jun 2004
Posts: 20

PostPosted: Sat Feb 26, 2005 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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