LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09:11 AM   #1
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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, 09:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 09:48 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

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

Rep: Reputation: 31
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, 10:35 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
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, 10:42 AM   #6
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
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, 10:47 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
Thanks captainstorm. I appreciate the instructions. Will do that now.
 
Old 07-15-2003, 11:07 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
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, 01:31 PM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
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



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

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

All times are GMT -5. The time now is 02:52 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
Open Source Consulting | Domain Registration