LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-01-2002, 12:04 PM   #1
Sigmund Gudvang
LQ Newbie
 
Registered: Apr 2002
Posts: 14

Rep: Reputation: 0
Kernel configuration


Hi,

I am attempting to recompile the Linux kernal, under Red Hat v. 7.2. However when I run "make config" I get the response
make: *** No rule to make target 'menuconfig. Stop.
Attemping to run "make config" results in the same response.
It appears that some configuration file is missing, but which one?

Thanks in advance.
Sigmund.
 
Old 04-01-2002, 12:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
where are you trying to do this? do you have the kernel source installed? it'll normally be /usr/src/linux/ run it form there.
 
Old 04-01-2002, 01:13 PM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Did you do
cd /usr/src/linux
in a shell?
That takes you to the directory of the sources (at least with suse).
Also you need to log in as root.
 
Old 04-01-2002, 02:29 PM   #4
Sigmund Gudvang
LQ Newbie
 
Registered: Apr 2002
Posts: 14

Original Poster
Rep: Reputation: 0
No, I ran it from /. So, it's not in the path. The command works from /usr/src/linux-2.4.7-10, but it quits after a few lines of output:
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
maks -C scripts/lxdialog all
make[1]: Entering directory '/usr/src/linux-2.4.7-10/scripts/lxdialog'
/usr/src/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>>You must have NCurses installed in order
>> to use 'make menuconfig'


etc.
etc.

Perhaps I was too restrictive during innstallation. I am attempting to set up a fire-wall on the cheap, so I only want to include what's really required.

Where should I put the Ncurses lib? /usr/lib?

Regards
Sigmund.
 
Old 04-01-2002, 02:41 PM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
ncurses is a rpmpackage. It should be on one of the RHcds. Just install it from there.
 
  


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
using an old configuration for a new kernel mushmaster Linux - Software 2 02-16-2005 01:07 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Kernel Configuration berti Debian 2 02-08-2004 11:34 AM
kernel configuration hotrodowner Linux - Software 2 02-19-2003 09:04 AM
kernel configuration Syncrm Linux - General 2 03-07-2002 06:56 PM


All times are GMT -5. The time now is 02:12 PM.

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