#1  
Old 17th December 2006, 00:30
digen digen is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default make rpm fails

Hello,

I've followed http://howtoforge.com/kernel_compilation_centos and completed successfully upto make rpm.

I've finished selecting the options from make menuconfig.

But make rpm fails.Below is the error I'm getting. Any input is highly appreciated.

Quote:
[root@ws81 linux]# make rpm
make clean
set -e; cd ..; ln -sf /usr/src/linux-2.6.19 kernel-2.6.19
set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.19.tar.gz kernel-2.6.19/.
set -e; cd ..; rm kernel-2.6.19
set -e; \
/bin/sh /usr/src/linux-2.6.19/scripts/mkversion > /usr/src/linux-2.6.19/.tmp_version
set -e; \
mv -f /usr/src/linux-2.6.19/.tmp_version /usr/src/linux-2.6.19/.version
rpm --target i386 -ta ../kernel-2.6.19.tar.gz
--target: unknown option
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
Reply With Quote
Sponsored Links
  #2  
Old 17th December 2006, 19:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
uname -a
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th December 2006, 20:04
digen digen is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Below is the output of uname -a

Quote:
#uname -a
Linux localhost.localdomain 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686 i686 i386 GNU/Linux
Reply With Quote
  #4  
Old 17th December 2006, 21:28
digen digen is offline
Junior Member
 
Join Date: Sep 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello falko,

I had to install the rpm-build package. make rpm is building the kernel right now. Thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cpan> install DB_File make error Nu2Linux HOWTO-Related Questions 6 13th April 2012 22:06
clamav spamassassin with simscan @ debian Shamael Anwar Installation/Configuration 2 15th December 2006 20:06
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
make fails to run (cache.c:336/340) ollu General 4 14th February 2006 11:19
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55


All times are GMT +2. The time now is 09:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.