LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-08-2003, 11:31 AM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Installing Linux-2.4.20: Make menuconfig, connot find ncurses


I am at section 8.4.2 trying to install the kernel. When I give the command "make menuconfig", I get the error:

Cannot find ncurses library ...

Also, I am getting an error:

gcc: installation problem, cannot exec `as': No such file or directory.

But it appears that the lack of the ncurses library is causing the exit. I've checked my ncurses installation and everything appears to be installed. A selection of the programs that are supposed to go in appear to be there. I check <command> --version or "man <command>" and they show up. But, if I try to reinstall the package to see if that's the problem, I get an error during the ./configure part:

"Checking for C compiler default output ...
configure: error: C compiler connot create executables"

Anyone have any idea what is going on?

Last edited by SparceMatrix; 06-08-2003 at 11:36 AM.
 
Old 06-08-2003, 12:03 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I would suggest trying to remove ncurses and recompiling it again. Most likely it didn't install correctly if the kernel install isn't finding the library.
 
Old 06-08-2003, 06:00 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
"as" is a command that comes with the package binutils, I think, and it had not been installed. I installed it and the problem is solved.
 
Old 06-12-2003, 07:42 PM   #4
subh
Member
 
Registered: Jun 2003
Posts: 78

Rep: Reputation: 15
when I run command "make menuconfig" for kernel compiling. It gives message and tell to stop.

Last edited by subh; 06-12-2003 at 07:47 PM.
 
  


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
redhat linux 9-Make menuconfig chingyenccy Linux - Newbie 3 12-08-2004 01:05 AM
bash connot find the command Dunadan1821 Linux - Software 9 08-30-2004 08:04 AM
make xconfig/make menuconfig don't work acidblue Debian 2 07-27-2004 07:36 AM
menuconfig can't find ncurses alaios Slackware 8 06-02-2004 08:02 AM
/usr/src/linux/make menuconfig????? the_hommer Debian 2 03-10-2004 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:56 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