Help with make and ncurses

General support questions including new installations
Post Reply
Gerkygatzos
Posts: 6
Joined: 2009/12/05 09:02:02

Help with make and ncurses

Post by Gerkygatzos » 2009/12/05 09:08:24

Ive been following this short guide: http://www.howtoforge.com/kernel_compilation_centos_p2
I'm trying to reconfigure this 2.6 kernel because I need to raise the config_hz value. I'm getting stuck with this ncurses error however when i use make menuconfig:

[root@localhost linux]# make menuconfig
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2


I also tried a Yum to be sure, Package ncurses-5.5-24.20060715.i386 already installed and latest version
Nothing to do

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Help with make and ncurses

Post by AlanBartlett » 2009/12/05 15:06:17

[quote]Ive been following this short guide: http://www.howtoforge.com/kernel_compilation_centos_p2[/quote]
Briefly: [i]Don't[/i].

Please use the [i]CentOS[/i] documentation -- [url=http://wiki.centos.org/HowTos/Custom_Kernel]I Need to Build a Custom Kernel[/url]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Help with make and ncurses

Post by pschaff » 2009/12/05 18:26:17

[quote]
Gerkygatzos wrote:
...
I'm trying to reconfigure this 2.6 kernel because I need to raise the config_hz value. ...[/quote]
Would you mind sharing why the default "CONFIG_HZ=1000" is not sufficient? Some people argue that it is too high already, although the "divider=" kernel boot parameter can be used to adjust at runtime.

Gerkygatzos
Posts: 6
Joined: 2009/12/05 09:02:02

Re: Help with make and ncurses

Post by Gerkygatzos » 2009/12/07 15:17:24

Couple things, mostly my own ignorance.

The last time I ran centOS the configh_hz was 250 which caused problems for me achieving a server side fps for a game server.

So this time, I installed using the 2.6 kernel which you know is set to 1000. I grep'd the value but read the readout incorretly seeing 250 was not set. So I wasted a bunch of time on my own acct. Anyhow once I installed the yum package ncurses-devel i was ok to do the makemenuconfig, which also showed hz 1000.

Thanks.

Post Reply