LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-06-2006, 07:11 PM   #1
lbdgwgt
Member
 
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
kernel compiling problem with menuconfig and xconfig option


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..
 
Old 10-06-2006, 10:49 PM   #2
EclipseAgent
Member
 
Registered: Oct 2005
Location: California
Distribution: SLED 10, openSuSE 10.2, Ubuntu Drapper
Posts: 713

Rep: Reputation: 30
Wow, that is very strange.

What happens if you do

rpm -Uvh ncurses*

or

rpm -ivh ncurses* --replacepkgs
 
Old 10-07-2006, 05:27 AM   #3
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Use Yast2 and install the development-packages for both QT and ncurses.
1. qt3-devel-XXXXXXX
2. ncurses-devel-XXXX
 
Old 10-08-2006, 07:26 AM   #4
lbdgwgt
Member
 
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Hi,

so i solved the "make menuconfig" problem with installing the ncurses-dev package.
But for the "make xconfig" problem i still confused since i check this:

Code:
# rpm -qa | grep qt3
qt3-devel-3.3.5-58
dbus-1-qt3-devel-0.60-30
qt3-devel-tools-3.3.5-58
qt3-3.3.5-58
dbus-1-qt3-0.60-30
qt3-devel-doc-3.3.5-58
that means i already have the qt3-devel package installed right? so what was the problem?

thanks for the help
 
Old 10-09-2006, 06:20 AM   #5
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Quote:
Originally Posted by lbdgwgt
Hi,

so i solved the "make menuconfig" problem with installing the ncurses-dev package.
Ok Im just guessing here, but doesn't "make xconfig" need libqt3-dev-package or is that the same as qt3-devel?

Although there might also be problems with the tk/tcl-packages.

Ncurses-devel package is mandatory for "make menuconfig".
If you have GTK installed you can also try "make gconfig"

You can use any configuration tool you like, it doesn't matter which one.
 
Old 10-10-2006, 11:12 AM   #6
lbdgwgt
Member
 
Registered: Aug 2006
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by onjoo
Ok Im just guessing here, but doesn't "make xconfig" need libqt3-dev-package or is that the same as qt3-devel?
i can not find libqt3-devel for Opensuse. Might it be that for Opensuse, it is the same as qt3-devel? I am giving up, i use "make menuconfig" anyway.

Thanks,
 
  


Reply



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 the Kernel - errors in make menuconfig ARCH=um donoh Ubuntu 2 04-11-2005 01:43 PM
xconfig, menuconfig holdenowen Linux - Newbie 2 07-17-2004 09:58 AM
Question about selecting opetion in menuconfig when compiling a new kernel ICO Linux - General 1 01-22-2004 09:13 AM
Problem with xconfig and menuconfig Snabber Linux - General 3 07-08-2003 10:52 AM
compiling kernel, option xconfig j-charles Linux - General 3 12-06-2002 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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