Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Was in process of upgrading kernel then this happened?????
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chek
n00b
n00b


Joined: 03 Oct 2007
Posts: 5

PostPosted: Fri Oct 12, 2007 3:46 am    Post subject: Was in process of upgrading kernel then this happened????? Reply with quote

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
View user's profile Send private message
wdsci
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2007
Posts: 149
Location: US

PostPosted: Fri Oct 12, 2007 3:56 am    Post subject: Re: Was in process of upgrading kernel then this happened??? Reply with quote

chek wrote:
cd /usr/src
make menuconfig

Try
cd /usr/src/linux
make menuconfig

:) David
Back to top
View user's profile Send private message
chek
n00b
n00b


Joined: 03 Oct 2007
Posts: 5

PostPosted: Fri Oct 12, 2007 4:06 am    Post subject: Re: Was in process of upgrading kernel then this happened??? Reply with quote

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


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Fri Oct 12, 2007 4:10 am    Post subject: Reply with quote

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. :wink:

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


Joined: 03 Oct 2007
Posts: 5

PostPosted: Fri Oct 12, 2007 4:16 am    Post subject: Reply with quote

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. :wink:

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
View user's profile Send private message
wdsci
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2007
Posts: 149
Location: US

PostPosted: Fri Oct 12, 2007 4:22 am    Post subject: Reply with quote

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


Joined: 03 Oct 2007
Posts: 5

PostPosted: Fri Oct 12, 2007 4:26 am    Post subject: Reply with quote

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