Hi all,
I am using Opensuse 10.1 on my Toshiba Laptop. I am still beginner inLinux OS.
I am trying to compile the kernel 2.4.18 and as i read, first of all we have to configure the kernel we want to build by using "make config" (not preferable since user is asked for lots lots of question), "make xconfig", or "make menuconfig".
Until here am I right?
When i use "make xconfig", the following error happened:
Code:
# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/home/leo/Test1_100206/kernel/linux-2.4.18/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 `/home/leo/Test1_100206/kernel/linux-2.4.18/scripts'
wish -f scripts/kconfig.tk
make: *** [xconfig] Segmentation fault
And if use "make menuconfig", this problem arises:
Code:
LSuse:/home/leo/Test1_100206/kernel/linux-2.4.18 # make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/home/leo/Test1_100206/kernel/linux-2.4.18/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 `/home/leo/Test1_100206/kernel/linux-2.4.18/scripts'
wish -f scripts/kconfig.tk
make: *** [xconfig] Segmentation fault
It seems that I dont have the ncurses library. But what happened after i tried to install the rpm module of ncurses is very confusing me.
i tried to install the rpm package of the ncurses but here what i found:
Code:
LSuse:/home/leo/Documents/ncurses # rpm -q ncurses-5.5-16.i586.rpm
package ncurses-5.5-16.i586.rpm is not installed
LSuse:/home/leo/Documents/ncurses # rpm -i ncurses-5.5-16.i586.rpm
package ncurses-5.5-16 is already installed
LSuse:/home/leo/Documents/ncurses # rpm -e ncurses-5.5-16.i586.rpm
error: package ncurses-5.5-16.i586.rpm is not installed
i even tried to check the installed package:
Code:
LSuse:/home/leo/Documents/ncurses # rpm -qa | grep ncurses
ncurses-5.5-16
yast2-ncurses-2.13.27-3
it is confusing. does anybody can help me?
thanks for any help..