Results 1 to 4 of 4
Thread: Error with make xconfig
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
11-27-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Maryland
- Posts
- 67
Error with make xconfig
I'm trying to recompile my kernel but I can't do make xconfig.
The first time I ran and installed libqt4 which installed the core, qui, and a bunch of other files and libqt4-dev which also installed some other files, but I still get that error. Is ther esomething else I have to install?Code:dell:/home/dave/src/linux-2.6.14.3# 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
-
11-27-2005 #2
I have no first-hand experience (I just use menuconfig) but I've read that you need qt3 for this, not qt4 ...
If you can't make qt work, you can always try gconfig, which uses gtk.
All this seems to me a lot of fuss to config a kernel, though.noobus in perpetuum
-
11-27-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Maryland
- Posts
- 67
Yea, I know I can use menuconfig, but I'd like to get this working. I'll try using qt3 instead of 4.
-
11-27-2005 #4Well, in fact you need those package to build a kernel in Debian Sarge:
Originally Posted by squirrelplayingtag
And then I normally do something like that:Code:apt-get install build-essential debhelper devscripts dh-make module-assistant kernel-package rpm libncurses5-dev libqt3-mt-dev libxtst-dev xlibs-dev bzip2 fakeroot
I put myself in the src group... as root, you type:
Then the real work:Code:adduser <yourself> src
Of course you need to build the module for your video card as well, or wireless cards, etc. (the command modules_image do that -- it takes the modules in /usr/src/modules).Code:$ cd /usr/src $ tar jxf /path/to/linux-2.6.14.3.tar.bz2 $ cd linux-2.6.14.3/ $ cp /boot/config-2.6.8-2-686 .config $ make oldconfig $ make menuconfig - enable Code maturity level options -> Select only drivers expected to compile cleanly - set Processor type and features -> Processor family (Pentium 4) - set Processor type and features -> Preemptible Model -> Low Latency Desktop - whatever customisation you want... $ make-kpkg clean $ fakeroot make-kpkg --append-to-version "-<suffix>" --revision "<revision>" --initrd kernel_image $ fakeroot make-kpkg --append-to-version "-<suffix>" --revision "<revision>" modules_image $ cd .. $ su # dpkg -i kernel-image-2.6.14.3-<suffix>_<revision>_i386.deb # depmod -ae 2.6.14.3-<suffix>
I don't recommend the use of xconfig/gconfig, as they are more sensitive to buggy configuration input files than menuconfig (hence they tend to work less often than menuconfig) -- xconfig uses the qt libraries; gconfig uses the gtk libraries.
Check out this for more info:
http://www.atworkonline.it/~bibe/sarge
http://www-128.ibm.com/developerwork...show_all=false"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote