LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2001, 01:43 PM   #1
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Rep: Reputation: 0
Question menu makeconfig problem


Hi,

Am trying to edit my network settings as suggested in the Firewall howto using menu makeconfig. Problem is that bash tells me:

[root@firewall /]# menu makecofig
bash: menu: command not found

Can't find any resources that explain this problem. Can anyone help?

Thx, BH
 
Old 10-27-2001, 01:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
???? you're trying to recomplie the kernel i'd presume..?

there's no menu command... i'd guess you're confugsing it with

make menuconfig

no?
 
Old 10-27-2001, 01:56 PM   #3
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Wink Duh....

Yeah, how stupid. OK, so what it tells me is this:

[root@firewall /]# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.

Does that make more sense?

 
Old 10-27-2001, 02:06 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well, officially, the 'Makefile' file in the directory you're in doesn't have listed in it a makeconfig procedure, but you're in /, and you shouldn't put any files there ever, so there should even be abmake file...

kernel makefiles are the only ind i know of that use menuconfig, so i'm guessing you're trying to recompile the kernel... and if you are, i'd hate to say it, but erm... you don't really seem to know enough about it to do that.

if you do want to do that then you must change to the directory your kernel source cod is in e.g. /usr/src/linux

and try it there. ofcourse, read teh Kernel HOWTO first...
 
Old 10-27-2001, 09:32 PM   #5
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Fair comment

Yes I am trying to recompile the kernel, and no - I don't really know what I'm doing. It's something like a trial-and-error approach. So far I guess I've been lucky there haven't been too many errors.

The reason I'm attempting this is as follows. I want to get my Linux box working as a firewall, and reading the firewall howto I came across this bit (section 6.1) http://www.linux.org/docs/ldp/howto/...O-6.html#ss6.1

I got the impression that I probably don't NEED to recompile the kernel per se but thought it might be a good learning experience all the same. I've got nothing to lose - even if I damaged the kernel beyond the point of no return I could rebuild the machine (including the changes I've made to the standard install) in under a couple of hours.

I'll have a look at the Kernel Howto. BTW the /usr/src/linux directory doesn't exist on my machine - in fact there is nothing in /usr/src.

Cheers, BH
 
Old 10-28-2001, 04:41 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
please read the howto!!!

you can't compile the kernel unless you've got the kernel source installed!!! you can see that no?

when you install programs from source, you should always uncompress the data to /usr/src for reference, and ease to uninstall programs etc... the linux kernel source should also go there, install the rpm from your distro and the source will go there.

But erm.... treading on egg shells... i think you generally need more experience of linux in general before you try compiling the kernel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with KDE menu dmh11686 Slackware 6 03-26-2005 12:57 PM
Kernel makeconfig weirdness gamehack Slackware 2 09-25-2004 08:35 AM
Problem with menu alexr186 Linux - Software 2 06-22-2004 02:37 PM
Fluxbox menu problem thom Linux - General 1 01-29-2004 03:55 AM
Menu problem! stonehurstX11 Mandriva 1 01-06-2004 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration