LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Not able to configure the linux kernel (https://www.linuxquestions.org/questions/linux-general-1/not-able-to-configure-the-linux-kernel-588236/)

hondo 09-29-2007 12:01 PM

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.

AceofSpades19 09-29-2007 12:15 PM

you probably need to install ncurses. does make config work?

hondo 09-29-2007 12:18 PM

make config does not work, i get a bunch of errors when i execute it.

Su-Shee 09-29-2007 12:28 PM

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.

hondo 09-29-2007 12:35 PM

Ok, but i want to be able to run the "make config" utility.

hondo 09-29-2007 12:49 PM

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 :)

AceofSpades19 09-29-2007 12:59 PM

I knew that was the problem :D

frenchn00b 09-29-2007 01:04 PM

Quote:

Originally Posted by hondo (Post 2907629)
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:

hondo 09-29-2007 02:00 PM

nice, you seem to know your way around bash in shell scripting :)

frenchn00b 09-29-2007 03:29 PM

Quote:

Originally Posted by hondo (Post 2907726)
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)

AceofSpades19 09-29-2007 07:49 PM

frenchn00b, you should make them for more then one distribution

frenchn00b 09-30-2007 06:37 AM

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. :(


All times are GMT -5. The time now is 03:52 AM.