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 |
???? 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? |
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? :confused: |
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... |
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 |
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 |
All times are GMT -5. The time now is 04:37 AM. |