#1  
Old 17th December 2006, 01: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
  #2  
Old 17th December 2006, 20:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

What's the output of
Code:
uname -a
?
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 17th December 2006, 21: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, 22: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
clamav spamassassin with simscan @ debian Shamael Anwar Installation/Configuration 2 15th December 2006 21:06
install Net::DNS chrno Installation/Configuration 4 5th September 2006 18:01
make fails to run (cache.c:336/340) ollu General 4 14th February 2006 12:19
cpan> install DB_File make error Nu2Linux HOWTO-Related Questions 5 31st October 2005 09:23
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 17:55


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th