On Wed, 2003-02-26 at 11:28, Bret Comstock Waldow wrote:
> Hi,
> 
> I'm trying to upgrade to a recent kernel, and I'm running into an odd
> problem.
> 
> When I try to run 'make xconfig' I receive this output:
> 
> 
> ganesha:/usr/src/linux# make xconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
> echo "set ARCH \"i386\"" >> kconfig.tk
> cat tail.tk >> kconfig.tk
> chmod 755 kconfig.tk
> make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
> wish -f scripts/kconfig.tk
> make: wish: Command not found
> make: *** [xconfig] Error 127
> ganesha:/usr/src/linux# 
> 
> "wish"?
> 
> When I try 'make menuconfig' I receive this output:
> 
> ganesha:/usr/src/linux# make menuconfig
> 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.20/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.20/scripts/lxdialog'
> make: *** [menuconfig] Error 2
> ganesha:/usr/src/linux# 
> 
> However, dselect says ncurses-bin is indeed installed.  Can anyone
> suggest what I might fix or do to correct this?
> 
> Thanks,
> Bret
> 
You're trying to compile things, so you need the development packages - 
libncurses4-dev for menuconfig, tk8.4-dev for xconfig.  Both of these
are listed in the description field for the kernel source, and
libncurses-dev is a recommended package for the kernel source packages. 
Since you obviously haven't done this before, or else those packages
would already be installed, note that you'll probably also need to
install bin86, which is needed to compile kernels on x86 platforms (this
is noted in the description for Manoj Srivastava's excellent
kernel-package package, which automates everything else about compiling
a kernel and making a Debian package out of it.
-- 
Stephen Ryan                                        Debian Linux 3.0
Technology Coordinator
Center for Educational Outcomes
at Dartmouth College

Reply via email to