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 07-15-2003, 10:11 AM   #1
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Ncurses error message building kernel


I installed RedHat 9 fresh today. My previous installs have booted slow, and run slow. Today I first tried with LILO, Server install, and selecting packages from the tree. Forget it! That was a mess. So I installed again, and chose the Personal Desktop installation, and KDE only - no Gnome. Just selected some packages that I knew I would use, and no development tools for now.

I am attempting to build a kernel with linux-2.4.21, because I've been told that will really clean things up and make Linux run faster than Windoze - which it hasn't so far. There was no symlink in /usr/src, so I made one, untarred linux-2.4.21.tar.gz into it, and did make mrproper. Next I did make menuconfig, and got this error message.

[root@localhost linux]# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.21/scripts/lxdialog'
/bin/sh: line 1: gcc: command not found

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

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.21/scripts/lxdialog'
make: *** [menuconfig] Error 2
[root@localhost linux]#


What do I do now?

TIA
 
Old 07-15-2003, 10:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
that's not an ncurses problem, you just don't even have gcc installed on your system. if you want to compile a kernel, it helps to have a compiler installed ;-)

btw. kde sucks...
 
Old 07-15-2003, 10:48 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
How much is that supposed to *help* me?
 
Old 07-15-2003, 11:32 AM   #4
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
Oh, I think you need the gcc, g++, make, (automake), and all the things coming along with the "development kit". If you did not install, just install it. It's about 300~400 MB.
 
Old 07-15-2003, 11:35 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by captainstorm
Oh, I think you need the gcc, g++, make, (automake), and all the things coming along with the "development kit". If you did not install, just install it. It's about 300~400 MB.
Could I get that off one of the 3 CD's made from the iso images, or from someplace like Apt? I'm installing Apt at the moment, but seems like if I could figure out how, it would be easier to install it from the CD's.

TIA
 
Old 07-15-2003, 11:42 AM   #6
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
Sure you could. And the 3 CDs from the iso images are enough. I think now you have the RH9. So from the system tools, you can choose "adding or removing files", then select the "development kit". You'll be asked to insert the CD.
 
Old 07-15-2003, 11:47 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
Thanks captainstorm. I appreciate the instructions. Will do that now.
 
Old 07-15-2003, 12:07 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
Just to clarify those instructions, in case some other new user like myself tries to follow this, the correct path is:
System Settings, Add/Remove Applications
 
Old 07-15-2003, 02:31 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Original Poster
Rep: Reputation: 124Reputation: 124
bug

During the make bzImage portion of building the kernel, there were errors. Can someone help me learn how to post a bug report? This is the info. after what looks to be the last good line.

namei.c: In function `vfs_rename_dir':
namei.c:1785: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [namei.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21/fs'
make: *** [_dir_fs] Error 2
[root@localhost linux]#

TIA
 
  


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
error building nvidia kernel module beeblequix Debian 1 10-07-2005 06:21 PM
Question about building glibc and ncurses tomdkat Linux - Software 2 02-18-2005 10:59 AM
Redefinition error when building 2.6.9 kernel with acpi asmund1 Linux - Laptop and Netbook 2 12-05-2004 03:18 PM
Error while building kernel linuxboy69 Linux - Software 10 08-26-2004 01:09 PM
VMware module building kernel error ^^ ZoNicONE Linux - Newbie 3 09-09-2003 02:52 PM


All times are GMT -5. The time now is 12:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration