LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-02-2004, 11:55 AM   #1
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Rep: Reputation: 15
compiling a new kernel


i've just installed debian with the latest installer. there weren't any problems but for when i had selected kernel 2.6 to boot with. but now i've installed everything with 2.4 and want to upgrade to 2.6.5. i've downloaded the 2.6.5 sources but am not able to compile the source. i've tried all the possible ways :

Code:
/usr/src/linux# make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** [scripts/kconfig/.tmp_gtkcheck] Error 1
make: *** [gconfig] Error 2

Code:
make xconfig
*
* 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
Code:
make menuconfig
/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
are there any other 'make .*config' to try?

i tried including the gtk path /usr/lib/gtk-2.0 and /usr/lib/qt3, but nothing works. any help is appreciated
 
Old 05-02-2004, 12:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Have you definately installed the development packages?
 
Old 05-02-2004, 05:22 PM   #3
IvanJ
LQ Newbie
 
Registered: Oct 2003
Location: Kraljevo, Serbia
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Install libncurses5-dev for menuconfig
 
Old 05-02-2004, 09:51 PM   #4
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
For xconfig to work you should install libqt3-dev
 
Old 05-02-2004, 10:15 PM   #5
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Original Poster
Rep: Reputation: 15
thank you guys, i will try those and reply back
 
Old 05-02-2004, 10:21 PM   #6
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
newbiedoc.sf.net

From http://newbiedoc.sourceforge.net/sys...ALL-KERNEL-PKG :

Quote:
apt-get install gcc kernel-package kernel-source-2.4.18 libc6-dev tk8.3 libncurses5-dev
Your obviously going to want to change the "kernel-source-2.4.18" to whatever kernel-source you want to use.. This should install the necessary packages to use "make menuconfig".. Also remember to install module-init-tools since your going to be using a 2.6 kernel.. You also might want to read newbiedoc for help on other things (even tho its for the 2.4 kernel series)..
 
Old 05-03-2004, 12:43 AM   #7
usercsr
Member
 
Registered: Sep 2003
Location: Little Rock, Arkansas
Distribution: Slackware-Current
Posts: 129

Original Poster
Rep: Reputation: 15
thank you guys, its working fine now. i'm sorry, it was my mistake. i thought qt was installed but it wasn't. i installed it and am compiling the new kernel now. thanks zuralin for the guide, it helped a lot.
 
Old 05-23-2004, 05:21 AM   #8
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
Angry help

As i have found it here
http://www.linuxquestions.org/questi...hreadid=176975



I need the libncurses library for using the make menuconfig...
I have installed all the ncurses package from my Slackware Distro... but still can't find the ncurses library...... Running the locate i can find the files installed..I think that the problem may be in the compiler which can't "see" it.. Do u know if i can alter this using some envrionmental variables.
Thx
 
Old 05-23-2004, 09:24 AM   #9
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
Did you install the ncurses development packages? Also, make sure /etc/ld.so.conf has /lib and /usr/lib in it because those are the library paths and programs that you install will look in this file for the paths.
 
Old 05-23-2004, 10:09 AM   #10
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
Post xm..

At first i would like to thank u about your reply
.
I have just look the /etc/ld.so.conf and either /lib or /usr/lib were included so i have added them.
Then i change dir to /usr/src/linux and run again the make menuconfig command. Everything look still the same... What do u propose?
What do u mean by saying the ncurses devel package?
I has slackware 9. I have found this file at the first cd
/mnt/cdrom/slackware/l/ncurses-5.3-i386-1.tgz

The txt file says
ncurses: ncurses
ncurses:
ncurses: The ncurses (new curses) library is a free software emulation of
ncurses: curses in System V Release 4.0, and more. It uses terminfo format,
ncurses: supports pads and color and multiple highlights and forms characters
ncurses: and function-key mapping, and has all the other SYSV-curses
ncurses: enhancements over BSD curses.
ncurses:
ncurses:
ncurses:
ncurses:
~
~


This is the error :

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.22/scripts/lxdialog'
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.22/scripts/lxdialog'
make: *** [menuconfig] Error 2
root@skia:/usr/src/linux# init 6
root@skia:/usr/src/linux# exit
 
Old 05-23-2004, 10:35 AM   #11
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
Quote:
Originally posted by IvanJ
Install libncurses5-dev for menuconfig
Same as this post.
 
Old 05-23-2004, 12:59 PM   #12
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
axa

I have found and installed this package...but still the same problems
libncurses-devel-5.3-4.tar.bz2
Do u know if the needed package is in the slackware distro?
Do u know where i can find it?
 
Old 05-23-2004, 01:42 PM   #13
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
There are also two other packages you need. libncurses5 and libncurses5-dev, these are the ncurses library packages. Install both of these and then see if that fixed your problem.
 
Old 05-24-2004, 12:51 AM   #14
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
what about for gconfig? i forgot what the deps are for that.
 
  


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 01:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 07:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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