Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
menuconfig woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ighost
n00b
n00b


Joined: 28 Jun 2004
Posts: 8

PostPosted: Tue Jun 29, 2004 8:23 pm    Post subject: menuconfig woes Reply with quote

i'm trying to follow this howto, but i can't get menuconfig to work so i can configure the kernel.
Code:

bash-2.05b# ls -l /usr/src/linux


lrwxrwxrwx    1 root     root           30 Jun 26 20:18 /usr/src/linux -> /usr/src/linux-2.6.5-gentoo-r1
bash-2.05b# uname -r
2.6.5-gentoo-r1
bash-2.05b# cd /usr/src/linux
bash-2.05b# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.


i googled the error message but couldn't find solution. i used genkernel to install originally, in case that matters.
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jun 29, 2004 8:32 pm    Post subject: Reply with quote

Well I would suggest to make sure that you have the /usr/src/linux linked to the proper source folder.

*I have seen a few posts on this issue so there maybe a problem here...
_________________
Come and play in my land
Back to top
View user's profile Send private message
dhurt
Apprentice
Apprentice


Joined: 14 May 2003
Posts: 278
Location: Davis, CA

PostPosted: Tue Jun 29, 2004 8:36 pm    Post subject: Reply with quote

Looks like the link might be setup right. Could you post the results of a ls in these two directories:

Code:

# ls -l /usr/src

# ls /usr/src/linux

_________________
"And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick
Back to top
View user's profile Send private message
ighost
n00b
n00b


Joined: 28 Jun 2004
Posts: 8

PostPosted: Tue Jun 29, 2004 9:01 pm    Post subject: Reply with quote

Code:

bash-2.05b# ls -l /usr/src/
total 12
lrwxrwxrwx    1 root     root           30 Jun 26 20:18 linux -> /usr/src/linux-2.6.5-gentoo-r1
drwxr-xr-x   16 root     root         4096 Jun 29 10:43 linux-2.4.26-gentoo-r3
drwxr-xr-x   18 root     root         4096 Jun 29 10:43 linux-2.6.5-gentoo-r1
drwxr-xr-x   18 root     root         4096 Jun 29 15:04 linux-2.6.7-gentoo-r6
bash-2.05b# ls /usr/src/linux
System.map  crypto   fs       init  kernel  mm   scripts   sound  vmlinux
arch        drivers  include  ipc   lib     net  security  usr
Back to top
View user's profile Send private message
Lajasha
Veteran
Veteran


Joined: 17 Mar 2004
Posts: 1040
Location: Vibe Central

PostPosted: Tue Jun 29, 2004 9:08 pm    Post subject: Reply with quote

For the hell of it try to change your link to linux-2.4.26-gentoo-r3

Code:
rm /usr/src/linux
ln -sf /usr/src/linux-2.4.26-gentoo-r3 /usr/src/linux


then
Code:
cd /usr/src/linux

and post the output of
Code:
ls -l

_________________
Come and play in my land
Back to top
View user's profile Send private message
ighost
n00b
n00b


Joined: 28 Jun 2004
Posts: 8

PostPosted: Tue Jun 29, 2004 11:53 pm    Post subject: Reply with quote

Code:

bash-2.05b# rm /usr/src/linux
bash-2.05b# ln -sf /usr/src/linux-2.4.26-gentoo-r3/ /usr/src/linux
bash-2.05b# cd /usr/src/linux
bash-2.05b# ls -l
total 316
-rw-r--r--    1 root     root        18691 Jun 29 10:42 COPYING
-rw-r--r--    1 root     root        82270 Jun 29 10:42 CREDITS
drwxr-xr-x   33 root     root         4096 Jun 29 10:43 Documentation
-rw-r--r--    1 root     root        48637 Jun 29 10:42 MAINTAINERS
-rw-r--r--    1 root     root        48611 Jun 29 10:42 MAINTAINERS.orig
-rw-r--r--    1 root     root        19171 Jun 29 10:42 Makefile
-rw-r--r--    1 root     root        14287 Jun 29 10:42 README
-rw-r--r--    1 root     root         2818 Jun 29 10:42 REPORTING-BUGS
-rw-r--r--    1 root     root         9635 Jun 29 10:42 Rules.make
drwxr-xr-x   20 root     root         4096 Jun 29 10:43 arch
drwxr-xr-x    2 root     root         4096 Jun 29 10:42 crypto
drwxr-xr-x   40 root     root         4096 Jun 29 10:42 drivers
drwxr-xr-x   50 root     root         4096 Jun 29 10:42 fs
drwxr-xr-x    2 root     root         4096 Jun 29 10:43 grsecurity
drwxr-xr-x   28 root     root         4096 Jun 29 10:42 include
drwxr-xr-x    2 root     root         4096 Jun 29 10:42 init
drwxr-xr-x    2 root     root         4096 Jun 29 10:42 ipc
drwxr-xr-x    2 root     root         4096 Jun 29 10:42 kernel
drwxr-xr-x    4 root     root         4096 Jun 29 10:42 lib
drwxr-xr-x    2 root     root         4096 Jun 29 10:42 mm
drwxr-xr-x   30 root     root         4096 Jun 29 10:42 net
-rw-r--r--    1 root     root           52 Jun 29 10:42 patches.txt
drwxr-xr-x    4 root     root         4096 Jun 29 10:43 scripts
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Wed Jun 30, 2004 12:08 am    Post subject: Reply with quote

ighost wrote:
Code:

bash-2.05b# ls -l /usr/src/
total 12
lrwxrwxrwx    1 root     root           30 Jun 26 20:18 linux -> /usr/src/linux-2.6.5-gentoo-r1
drwxr-xr-x   16 root     root         4096 Jun 29 10:43 linux-2.4.26-gentoo-r3
drwxr-xr-x   18 root     root         4096 Jun 29 10:43 linux-2.6.5-gentoo-r1
drwxr-xr-x   18 root     root         4096 Jun 29 15:04 linux-2.6.7-gentoo-r6
bash-2.05b# ls /usr/src/linux
System.map  crypto   fs       init  kernel  mm   scripts   sound  vmlinux
arch        drivers  include  ipc   lib     net  security  usr


The result of ls /usr/src/linux looks like the kernel you're trying to configure was unmerged, there are only the remains of compilation in there, but not the source and not the Makefile, so make fails.

If you really want to compile kernel 2.6.5, you'll need to remerge it. Otherwise go to /usr/src/linux-2.6.7-gentoo-r6 and make menuconfig et al. there. After that change the symlink to point to that directory.

You can also remove the remains of 2.6.5-r1, then.
Back to top
View user's profile Send private message
ighost
n00b
n00b


Joined: 28 Jun 2004
Posts: 8

PostPosted: Wed Jun 30, 2004 12:14 am    Post subject: Reply with quote

thanks hepta_sean, i guess i'll use 2.6.7.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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