View previous topic :: View next topic |
Author |
Message |
nesapio n00b
Joined: 27 Jul 2004 Posts: 11
|
Posted: Wed Jul 28, 2004 8:23 am Post subject: make menuconfig error while installing |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 8:28 am Post subject: |
|
|
Hmmm... did you make sure to include the p option when extracting the stage tarball? What does the output of this command say?
_________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Wed Jul 28, 2004 8:28 am Post subject: |
|
|
Seems VERY clear.. you need ncurses. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 8:35 am Post subject: |
|
|
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 |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Wed Jul 28, 2004 8:36 am Post subject: |
|
|
Hmm.. I allways run make menuconfig as root so that's why I -didn't- think it was a permission issue. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 8:39 am Post subject: |
|
|
miqorz wrote: | Hmm.. I allways run make menuconfig as root so that's why I -didn't- think it was a permission issue. |
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 |
|
|
nesapio n00b
Joined: 27 Jul 2004 Posts: 11
|
Posted: Wed Jul 28, 2004 8:42 am Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 8:45 am Post subject: |
|
|
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 |
|
|
nesapio n00b
Joined: 27 Jul 2004 Posts: 11
|
Posted: Wed Jul 28, 2004 9:35 am Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 9:51 am Post subject: |
|
|
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 |
|
|
nesapio n00b
Joined: 27 Jul 2004 Posts: 11
|
Posted: Wed Jul 28, 2004 10:06 am Post subject: |
|
|
i checked the md5 checksum before i burned the cd it said it was ok
could genkernel help? |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 10:52 am Post subject: |
|
|
Well, maybe... Try it and see! _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
nesapio n00b
Joined: 27 Jul 2004 Posts: 11
|
Posted: Wed Jul 28, 2004 3:40 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jul 28, 2004 4:36 pm Post subject: |
|
|
Ah well... Glad you got it working anyway! _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Tsuskasa n00b
Joined: 22 Jul 2004 Posts: 1 Location: The Solar System of Alpha Centauri
|
Posted: Thu Jul 29, 2004 3:49 am Post subject: |
|
|
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 |
|
|
|