LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-22-2006, 11:02 AM   #1
cobweb
LQ Newbie
 
Registered: Feb 2006
Posts: 14

Rep: Reputation: 0
configuring linux kernel


Hi,

i have just installed the linux kernel source code of 2.6.12
In my /usr/src/linux-2.6.12 directory I have also a defconfig file, but when I run the "make xconfig" command, I get the error message:

*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2

What is QT installation? What should I do to get rid of that error and to be able see the menu window?

Btw, I have also tried "make menuconfig" and the error this time was:

/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must install ncurses-devel in order
>> to use 'make menuconfig'

make[2]: *** [scripts/lxdialog/ncurses] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2


thanks for any help!
 
Old 02-22-2006, 11:08 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.1
Posts: 1,469

Rep: Reputation: 46
well, basically you are missing some software.

qt is for graphics (kde et al). make xconfig will only work if you have X open and the qt software installed.



ncurses allows you to uses menus etc in the terminal.

so you probably just need to install ncurses for "make menuconfig" to work.

Quote:
ncurses-devel
i dont know what your distro is, but you'll need to insall /compile that package....
 
Old 02-22-2006, 11:35 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,183

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
But you can also make menuconfig ...
 
Old 02-22-2006, 11:48 AM   #4
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
and not only. xconfig and menuconfig are jus a few options. Read the makefile for details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configuring and compiling kernel to reduce the size of linux near to 54 MB RohitChawla Fedora 3 12-10-2004 08:46 AM
configuring a kernel buffed317 Linux - General 19 08-10-2004 05:13 PM
linux hangs after configuring kernel shanmugapriyan Linux - Software 0 08-07-2003 08:22 PM
configuring kernel in linux mandrake 9.1 ryg Linux - General 1 06-19-2003 05:44 PM
Configuring kernel.... Bogdan Linux - General 6 03-28-2002 02:49 PM


All times are GMT -5. The time now is 11:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration