Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No rule to make target `menuconfig'?
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
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Tue Jul 08, 2014 6:51 am    Post subject: [SOLVED] No rule to make target `menuconfig'? Reply with quote

Hi,

After long 'emerge world' and --depclean running, I can not enter to menuconfig and getting the message below:
Code:
linux # make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.

Here is the /usr/src directory:
Code:
src # ls -l
total 8
lrwxrwxrwx  1 root root   20 Apr 15 17:17 linux -> linux-3.12.13-gentoo
drwxr-xr-x 20 root root 4096 Jul  7 16:37 linux-3.12.13-gentoo
drwxr-xr-x 24 root root 4096 Jul  6 21:32 linux-3.12.21-gentoo-r1

Please advise!
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Wed Jul 09, 2014 9:20 am; edited 2 times in total
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Tue Jul 08, 2014 6:57 am    Post subject: Reply with quote

eselect kernel ... or ln -sf linux-3.23.13-gentoo-r1 linux
depclean remove the old linux-3.12.13-gentoo source tree, leave the intermit .o files, you can delete this orphan directory.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Tue Jul 08, 2014 7:08 am    Post subject: Reply with quote

As s4e8 says those sources are no longer available. You can either re-emerge them or update your kernel. Coping the old .config to the latest sources and running make oldconfig is one approach that minimizes the errors using your old sources and only requiring decisions on new options. Alternately, make oldnoconfig will not ask you and simply use the default options.

You might find this helpful http://wiki.gentoo.org/wiki/Kernel/Upgrade
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Tue Jul 08, 2014 7:08 am    Post subject: Reply with quote

Dear S4e8,

I am not sure I know how exactly type the command -
Can you please write down the needed command?

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Tue Jul 08, 2014 7:16 am    Post subject: Reply with quote

Code:

eselect kernel linux-3.12.21-gentoo-r1
cp /usr/src/linux-3.12.13-gentoo/.config /usr/src/linux-3.12.21-gentoo-r1/
#rm -rf /usr/src/linux-3.12.13-gentoo
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Tue Jul 08, 2014 7:36 am    Post subject: Reply with quote

Dear S4e8,

Sorry for re-asking but here is the output:
Code:
eselect kernel linux-3.12.21-gentoo-r1
!!! Error: Action linux-3.12.21-gentoo-r1 unknown
exiting


Dear Doctor: In order to figure out thoroughly your reply -
please inform me what option of the two you have mentioned, s4e8 suggested?

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Tue Jul 08, 2014 8:05 am    Post subject: Reply with quote

It is simply that the kernel isn't updated via portage. Portage simply updates the sources. In your case, the source code from the active kernel was removed because there was a newer one. Our advice has simply been to update to your kernel to the newest kernel. This has to be done manually since it is too complicated for portage to do automatically.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Tue Jul 08, 2014 9:04 am    Post subject: Reply with quote

Dear S4e8,

Sorry, This is the right error message:
Code:
eselect kernel linux-3.12.21-gentoo-r1
!!! Error: Action linux-3.12.21-gentoo-r1 unknown                                                                                                                                   
exiting

Please advise how to enable execute this command!

Thanks Doctor for the needed explanation!
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 732
Location: S.O. France

PostPosted: Tue Jul 08, 2014 11:57 am    Post subject: Reply with quote

Code:
eselect kernel list

then
Code:
eselect kernel set X
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Tue Jul 08, 2014 12:28 pm    Post subject: Reply with quote

Code:
eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.12.21-gentoo-r1

Then I should type:
Code:
eselect kernel set 1

and then continue with:
Code:
cp /usr/src/linux-3.12.13-gentoo/.config /usr/src/linux-3.12.21-gentoo-r1/
rm -rf /usr/src/linux-3.12.13-gentoo

Is it OK? All the above will 'update to your kernel to the newest kernel' as the Doctor said?

EDIT: OK - I have done all the above and it solved the problem.

Thanks you all
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
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