[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling a Kernel - Need ncurses



try using libncurses5 and libncurses5-dev


On Thu, 2003-12-11 at 00:16, Scarletdown wrote:
> I am once again giving a whirl at compiling a 2.4.22 kernel; this time
> on my test box which I am telnetted into so I don't have to keep
> switching back and forth via the KV switch.
> 
> Anyway, I managed to unpack the tarball and create the symbolic link
> to it.  But when I try make menuconfig, I get the following:
> 
> 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/bin/ld: cannot find -lncurses
> 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
> 
> I then tried installing ncurses using apt-get install ncurses
> 
> The dismal results follow:
> 
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Package ncurses has no available version, but exists in the database.
> This typically means that the package was mentioned in a dependency
> and
> never uploaded, has been obsoleted or is not available with the
> contents
> of sources.list
> E: Package ncurses has no installation candidate
> 
> Does this mean that ncurses simply can't be installed and I am SOL on
> getting this kernel compiled, or are there other ways besides apt-get
> install to get ncurses set up?
> 
> Also, after I get the new kernel compiled (if I get it compiled), how
> can I import it to another system without having to go through the
> whole process again?  Ultimately, this will be used on my primary
> workstation, which uses an Asus A7N8X Deluxe MB, and the NVidia
> drivers for this board require this new kernel (bf24 doesn't work for
> the NVidia drivers).



Reply to: