Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make menuconfig error while installing
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
nesapio
n00b
n00b


Joined: 27 Jul 2004
Posts: 11

PostPosted: Wed Jul 28, 2004 8:23 am    Post subject: make menuconfig error while installing Reply with quote

hi
i am trying to install my first gentoo, but now i am at point 7c. but when i try to start the command "make menuconfig" i get an error telling me:

entering directory `/usr/src/linux-2.4.26-gentoo-r6/scripty/lxdialog' /usr/bin/gcc-config: line 7: /etc/init.d/functions.sh: No such file or directory
Could not run/locate "gcc"

>>UNable to find the Ncurses libraries
>>
>>You must have Ncurses installed in order
>>to use 'make menuconfig'

make[1]: ***[ncurses] Error 1
...
please help me
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 8:28 am    Post subject: Reply with quote

Hmmm... did you make sure to include the p option when extracting the stage tarball? What does the output of this command say?
Code:
ls -l /usr/bin/gcc

_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Wed Jul 28, 2004 8:28 am    Post subject: Reply with quote

Seems VERY clear.. you need ncurses.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 8:35 am    Post subject: Reply with quote

miqorz wrote:
Seems VERY clear.. you need ncurses.

Ncurses gets installed during part of stage 1, so it'll definitely be there by the time you compile the kernel, regardless of which stage you use. That's why I think it's a permissions issue...
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Wed Jul 28, 2004 8:36 am    Post subject: Reply with quote

Hmm.. I allways run make menuconfig as root so that's why I -didn't- think it was a permission issue. :wink:
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 8:39 am    Post subject: Reply with quote

miqorz wrote:
Hmm.. I allways run make menuconfig as root so that's why I -didn't- think it was a permission issue. :wink:

Ah no, not that kind - I mean gcc not having any execute permissions at all... Which could happen if you just use tar -jxvf to unpack the tarball.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
nesapio
n00b
n00b


Joined: 27 Jul 2004
Posts: 11

PostPosted: Wed Jul 28, 2004 8:42 am    Post subject: Reply with quote

the command
ls -l /usr/bin/gcc
gives back:
-rwxr-xr-x 1 root root 6960 Jul 18 02:25 /usr/bin/gcc

i used the stage3 tarball. but had to reboot one time. but i mounted again and did emerge sync
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 8:45 am    Post subject: Reply with quote

nesapio wrote:
the command
ls -l /usr/bin/gcc
gives back:
-rwxr-xr-x 1 root root 6960 Jul 18 02:25 /usr/bin/gcc

i used the stage3 tarball. but had to reboot one time. but i mounted again and did emerge sync

Hmmm... that looks right. How odd! Did you do env-update and source /etc/profile when you chrooted after rebooting? Try it now and see if it makes any difference.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
nesapio
n00b
n00b


Joined: 27 Jul 2004
Posts: 11

PostPosted: Wed Jul 28, 2004 9:35 am    Post subject: Reply with quote

i did env-update as well as source /env/profile, and i did it again, but still the same error.
@Maedhros
i did tar -xvjpf /mnt/cdrom/stages/stage3-install-x86-2004.2.tar.bz2
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 9:51 am    Post subject: Reply with quote

It looks like you've done everything right... did you check the iso of the tarball? Maybe it's somehow corrupted... :?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
nesapio
n00b
n00b


Joined: 27 Jul 2004
Posts: 11

PostPosted: Wed Jul 28, 2004 10:06 am    Post subject: Reply with quote

i checked the md5 checksum before i burned the cd it said it was ok

could genkernel help?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 10:52 am    Post subject: Reply with quote

Well, maybe... Try it and see!
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
nesapio
n00b
n00b


Joined: 27 Jul 2004
Posts: 11

PostPosted: Wed Jul 28, 2004 3:40 pm    Post subject: Reply with quote

well started new at the beginning, but i think it was because i changed the chost variable against all warnings. so gcc was effected.
:) sorry
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jul 28, 2004 4:36 pm    Post subject: Reply with quote

Ah well... Glad you got it working anyway! :D
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Tsuskasa
n00b
n00b


Joined: 22 Jul 2004
Posts: 1
Location: The Solar System of Alpha Centauri

PostPosted: Thu Jul 29, 2004 3:49 am    Post subject: Reply with quote

Just trying to install gentoo, and when "make menuconfig" is used, i get the error "make: *** No rule to make target 'menuconfig'. Stop"

I'm using vanilla-2.4.25, and the correct symlink is in "/usr/src/linux".
I want to know if uninstalling and reinstalling the kernel would help.
_________________
w00t

http://www.urbandictionary.com/define.php?term=w00t
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