LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-29-2007, 12:01 PM   #1
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Rep: Reputation: 33
Not able to configure the linux kernel


Hi

I have some servers i have to configure and compile the linux kernel, but im not able to run "make menuconfig" or similar. When i run this command i get a bunch of errors saying that there was an error on line 532 in that file and an error on line 314 on other file. I know it would help with some logs or messages from the erros, but i dont have that.

I have tried different kernel versions, but i the "make menuconfig" scripts just dont want to run and just gives med the errors explained above.

The system i have setup is a debian 4.0 etch system (stable) which only has the "standard system" installed, so its a text-based version of linux. I only choose "standard system" at installation time, because i wanted to just have a minimal system and add other software needed at a later time.

I would really appericiate help on this problem. thanks.
 
Old 09-29-2007, 12:15 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you probably need to install ncurses. does make config work?
 
Old 09-29-2007, 12:18 PM   #3
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
make config does not work, i get a bunch of errors when i execute it.
 
Old 09-29-2007, 12:28 PM   #4
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
You always can edit the .config file by hand, it's just a textfile what make menuconfig etc. edits.

After that, go ahead with the regular build.
 
Old 09-29-2007, 12:35 PM   #5
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Ok, but i want to be able to run the "make config" utility.
 
Old 09-29-2007, 12:49 PM   #6
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
I think i got it working now, a simple install of libncurses5-dev did the job and make config starts up fine now. Thanks a lot AceofSpades19
 
Old 09-29-2007, 12:59 PM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
I knew that was the problem
 
Old 09-29-2007, 01:04 PM   #8
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by hondo View Post
Hi

I have some servers i have to configure and compile the linux kernel, but im not able to run "make menuconfig" or similar. When i run this command i get a bunch of errors saying that there was an error on line 532 in that file and an error on line 314 on other file. I know it would help with some logs or messages from the erros, but i dont have that.

I have tried different kernel versions, but i the "make menuconfig" scripts just dont want to run and just gives med the errors explained above.

The system i have setup is a debian 4.0 etch system (stable) which only has the "standard system" installed, so its a text-based version of linux. I only choose "standard system" at installation time, because i wanted to just have a minimal system and add other software needed at a later time.

I would really appericiate help on this problem. thanks.
you can try my script automatic for installing /compiling any kernel ; it makes all :
Just reply the questions, and take a mug of coffee and look, it ll install your choosen kernel automatically:
http://yellowprotoss.ye.funpic.org/w...owtocompile.sh

:newbies:
 
Old 09-29-2007, 02:00 PM   #9
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
nice, you seem to know your way around bash in shell scripting
 
Old 09-29-2007, 03:29 PM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by hondo View Post
nice, you seem to know your way around bash in shell scripting
I am working now on 2.4 & 2.6 possibilities to build ...
I just uploaded it
-
edit: (I made mistake, should be fixed now)

Last edited by frenchn00b; 09-29-2007 at 03:58 PM.
 
Old 09-29-2007, 07:49 PM   #11
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
frenchn00b, you should make them for more then one distribution
 
Old 09-30-2007, 06:37 AM   #12
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Hi, I can unfortunately not make it available for the other distros, since I am crap in linux and have just few experience with debian and very little with other distros.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure the kernel jojojo Linux - Newbie 3 06-06-2006 10:27 AM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 11:19 AM
configure kernel 2.6.12.5 damoncf Debian 1 08-25-2005 12:44 PM
How do I configure Kernel Lordendu Linux - Newbie 1 09-25-2003 09:18 AM
Can I use the configure file from the last kernel on the new kernel? Pcghost Linux - General 6 07-15-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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