Error building kernel for CentOS 5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I thought I had all the tools I needed for this, but it seems
something is missing.  When I build the 2.6.18-8.1.3 kernel from
source, I get this error:

extracting debug info from
/var/tmp/kernel-2.6.18-8.el5.trace-root/usr/src/kernels/2.6.18-8.el5.trace-x86_64/scripts/conmakehash
extracting debug info from
/var/tmp/kernel-2.6.18-8.el5.trace-root/usr/lib/debug/lib/modules/2.6.18-8.el5.trace/vmlinux
cpio: kernel-2.6.18/linux-2.6.18.x86_64/<built-in>: No such file or directory
187199 blocks
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
/var/tmp/rpm-tmp.77254: line 62: /usr/lib/rpm/check-rpaths: No such
file or directory
error: Bad exit status from /var/tmp/rpm-tmp.77254 (%install)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.77254 (%install)

Sure enough, neither of the two check- files exist, but I'm not sure
which package I'm missing that would contain them.  I thought I had
selected all the right development packafges during install and with
yum, and google has not been my friend on this one.

yum grouplist
Loading "protectbase" plugin
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
Installed Groups:
  Office/Productivity
  Development Libraries
  Editors
  System Tools
  GNOME Software Development
  Text-based Internet
  GNOME Desktop Environment
  Dialup Networking Support
  Authoring and Publishing
  Network Servers
  Legacy Software Development
  Java
  Legacy Software Support
  X Window System
  Graphics
  Web Server
  Windows File Server
  Printing Support
  Mail Server
  Server Configuration Tools
  Sound and Video
  Administration Tools
  Yum Utilities
  Graphical Internet
Available Groups:
  Engineering and Scientific
  MySQL Database
  X Software Development
  Virtualization
  Legacy Network Server
  DNS Name Server
  FTP Server
  Games and Entertainment
  XFCE-4.4
  Java Development
  Emacs
  Ruby
  KDE Software Development
  KDE (K Desktop Environment)
  PostgreSQL Database
  News Server
  Development Tools
  FreeNX and NX
Done

(Funny thing - I tried to do 'yum groupinstall "Development Tools"',
which I did shortly after initial installation, and it tells me that
they're alreayd installed - someone else had a question about this
earlier today, too.)

I also tried:

yum list | grep rpm and got this:
redhat-rpm-config.noarch                 8.0.45-17.el5.centos   installed
rpm.x86_64                               4.4.2-37.el5           installed
rpm-build.x86_64                         4.4.2-37.el5           installed
rpm-devel.i386                           4.4.2-37.el5           installed
rpm-devel.x86_64                         4.4.2-37.el5           installed
rpm-libs.i386                            4.4.2-37.el5           installed
rpm-libs.x86_64                          4.4.2-37.el5           installed
rpm-python.x86_64                        4.4.2-37.el5           installed
rpmforge-release.x86_64                  0.3.6-1.el5.rf         installed

Since there's no current wiki on building kernels for 5.0 (or if it is
current, I have already been through all those steps and yum tells me
there's nothing to do), can someone point me at what I don't have so I
can get it and get on with it?

Thanks.

--
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-680-3001 - fax
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux