DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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)..
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.
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
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.
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'
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.