[CentOS] x86_64 kernel compilation

Thu Dec 8 08:26:32 UTC 2005
John Logsdon <j.logsdon at quantex-research.com>

If I can squeeze a message between the discussions on security (:-)) I
have been trying to compile a kernel on an x86_64 box under CentOS4.1 and
now 4.2.  

The problem is that neither make xconfig or make gconfig work:

make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*   
make[1]: *** [scripts/kconfig/.tmp_gtkcheck] Error 1
make: *** [gconfig] Error 2

and a similar message for xconfig:

make xconfig
  HOSTLD  scripts/kconfig/qconf
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2

Yet I have the following libraries installed:

compat-glibc.i386                        1:2.3.2-95.30          installed       
compat-glibc.x86_64                      1:2.3.2-95.30          installed       
compat-glibc-headers.x86_64              1:2.3.2-95.30          installed       
glibc.i686                               2.3.4-2.13             installed       
glibc.x86_64                             2.3.4-2.13             installed       
glibc-common.x86_64                      2.3.4-2.13             installed       
glibc-devel.x86_64                       2.3.4-2.13             installed       
glibc-devel.i386                         2.3.4-2.13             installed       
glibc-headers.x86_64                     2.3.4-2.13             installed       
glibc-kernheaders.x86_64                 2.4-9.1.98.EL          installed       
glibc-utils.x86_64                       2.3.4-2.13             installed       
gtk+.i386                                1:1.2.10-33            installed       
gtk+.x86_64                              1:1.2.10-33.centos4    installed       
gtk+-devel.x86_64                        1:1.2.10-33.centos4    installed       
gtk-engines.i386                         1:0.12-6.el4           installed       
gtk-engines.x86_64                       1:0.12-6.el4           installed       
gtk2.x86_64                              2.4.13-18              installed       
gtk2.i386                                2.4.13-18              installed       
gtk2-devel.x86_64                        2.4.13-18              installed       
gtk2-engines.x86_64                      2.2.0-7.el4            installed       
gtk2-engines.i386                        2.2.0-7.el4            installed       
libglade2.i386                           2.4.0-5                installed       
libglade2.x86_64                         2.4.0-5                installed       
pygtk2.x86_64                            2.4.0-1                installed       
pygtk2-libglade.x86_64                   2.4.0-1                installed       


Since menuconfig is totally unusable, I am quite stuck.  I have regularly
compiled on an x86 box with virtually identical installation and I have
compared the libraries but can't see what I have missed.

The kernel version is 2.6.14.3 which is the latest stable but this happens
with older kernels.  There have been suggestions of various patches to a
makefile which I have tried but to no avail.  So I think it may be a
library issue.

So can anyone with an x86_64 box on which they have successfully compiled
a kernel post me their output from:

yum list | egrep gtk\|glibc\|glade | grep installed

... or even the complete yum list (privately to save bandwidth!)

TIA

John

John Logsdon                               "Try to make things as simple
Quantex Research Ltd, Manchester UK         as possible but not simpler"
j.logsdon at quantex-research.com              a.einstein at relativity.org
+44(0)161 445 4951/G:+44(0)7717758675       www.quantex-research.com