View previous topic :: View next topic |
Author |
Message |
chek n00b
Joined: 03 Oct 2007 Posts: 5
|
Posted: Fri Oct 12, 2007 3:46 am Post subject: Was in process of upgrading kernel then this happened????? |
|
|
I was in the process of reconfiguring my kernel so I set out on this path:
emerge --sync
emerge portage (because it was suggested)
emerge --update --deep --newuse world (31 various packages updated)
emerge --depclean
revdep-rebuild
cd /usr/src
make menuconfig
then I get this error message
make: *** No rule to make target `menuconfig'. Stop.
So I tried
emerge gentoo-sources
no help
then
rm /usr/src/linux
ln -s /usr/src/linux-2.6.23-gentoo
no help
Tried various ways to fix problem, as reported in other post, but have had no luck.
Bottom line, when I run "make menuconfig" I get this error message "make: *** No rule to make target `menuconfig'. Stop."
Please help? any info appreciated _________________ Chekdalaypa Chimchumoushkin
Still looking for that perfect Gentoo setup.......Need more beer!
Desktop systems:
P4 3.0 ASRock 775I65G mobo 1 gig ram
PIII 866 512 megs ram |
|
Back to top |
|
|
wdsci Tux's lil' helper
Joined: 02 Oct 2007 Posts: 149 Location: US
|
Posted: Fri Oct 12, 2007 3:56 am Post subject: Re: Was in process of upgrading kernel then this happened??? |
|
|
chek wrote: | cd /usr/src
make menuconfig |
Try
cd /usr/src/linux
make menuconfig
David |
|
Back to top |
|
|
chek n00b
Joined: 03 Oct 2007 Posts: 5
|
Posted: Fri Oct 12, 2007 4:06 am Post subject: Re: Was in process of upgrading kernel then this happened??? |
|
|
wdsci wrote: | chek wrote: | cd /usr/src
make menuconfig |
Try
cd /usr/src/linux
make menuconfig
David |
nope still same prob, also don't have "linux" directory here is commands and output
mainfloor ~ # cd /usr/src/linux
bash: cd: /usr/src/linux: No such file or directory
mainfloor ~ # make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
Any other info or advice is welcome _________________ Chekdalaypa Chimchumoushkin
Still looking for that perfect Gentoo setup.......Need more beer!
Desktop systems:
P4 3.0 ASRock 775I65G mobo 1 gig ram
PIII 866 512 megs ram |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Fri Oct 12, 2007 4:10 am Post subject: |
|
|
Code: | cd /usr/src
ls -l
cd linux
ls -l |
that'll let us know hopefully whether or not there is actually something there to menuconfig.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
chek n00b
Joined: 03 Oct 2007 Posts: 5
|
Posted: Fri Oct 12, 2007 4:16 am Post subject: |
|
|
bunder wrote: | Code: | cd /usr/src
ls -l
cd linux
ls -l |
that'll let us know hopefully whether or not there is actually something there to menuconfig.
cheers |
here is the results
mainfloor ~ # cd /usr/src
mainfloor src # ls -l
total 8
drwxr-xr-x 20 root root 4096 Sep 27 19:36 linux-2.6.22-gentoo-r8
drwxr-xr-x 19 root root 4096 Oct 11 18:04 linux-2.6.23-gentoo
mainfloor src # cd linux
bash: cd: linux: No such file or directory
mainfloor src # ls
linux-2.6.22-gentoo-r8 linux-2.6.23-gentoo
mainfloor src # _________________ Chekdalaypa Chimchumoushkin
Still looking for that perfect Gentoo setup.......Need more beer!
Desktop systems:
P4 3.0 ASRock 775I65G mobo 1 gig ram
PIII 866 512 megs ram |
|
Back to top |
|
|
wdsci Tux's lil' helper
Joined: 02 Oct 2007 Posts: 149 Location: US
|
Posted: Fri Oct 12, 2007 4:22 am Post subject: |
|
|
Seems like you just deleted your linux symlink. Probably the easiest way to fix it is, if you want to use your 2.6.23-gentoo kernel, run this:
Code: | ln -s /usr/src/linux-2.6.23-gentoo /usr/src/linux
cd /usr/src/linux
make menuconfig |
Or if you want to use the 2.6.22-gentoo-r8 kernel, just replace the kernel version appropriately - like this:
Code: | ln -s /usr/src/linux-2.6.22-gentoo-r8 /usr/src/linux
cd /usr/src/linux
make menuconfig |
David |
|
Back to top |
|
|
chek n00b
Joined: 03 Oct 2007 Posts: 5
|
Posted: Fri Oct 12, 2007 4:26 am Post subject: |
|
|
wdsci wrote: | Seems like you just deleted your linux symlink. Probably the easiest way to fix it is, if you want to use your 2.6.23-gentoo kernel, run this:
Code: | ln -s /usr/src/linux-2.6.23-gentoo /usr/src/linux
cd /usr/src/linux
make menuconfig |
Or if you want to use the 2.6.22-gentoo-r8 kernel, just replace the kernel version appropriately - like this:
Code: | ln -s /usr/src/linux-2.6.22-gentoo-r8 /usr/src/linux
cd /usr/src/linux
make menuconfig |
David |
SaaaaaaaaaaWeeeeeeet
thanks man
it worked.
Have a nice night _________________ Chekdalaypa Chimchumoushkin
Still looking for that perfect Gentoo setup.......Need more beer!
Desktop systems:
P4 3.0 ASRock 775I65G mobo 1 gig ram
PIII 866 512 megs ram |
|
Back to top |
|
|
|