Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th July 2006, 07:24 AM
GridX Offline
Registered User
 
Join Date: Jul 2006
Posts: 9
cant install kernel-devel

I get an error installing the kernel-devel rpm

the rpm -ivh kernel-devel(my kernel).rpm command works fine

but then I do the rpmbuild -bp --target=noarach /usr/src/redhat/BUILD/kernel-2.6.spec doesnt work

I get this error: failed to stat /usr/src/redhat/Build/kernel-2.6.spec: no such file or directory


what is going on?


GridX
Reply With Quote
  #2  
Old 24th July 2006, 07:52 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
Hello:
I could be wrong, but I think you need the kernel source.rpm installed ?
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 24th July 2006, 04:05 PM
GridX Offline
Registered User
 
Join Date: Jul 2006
Posts: 9
ok, I didnt do that, so how do I do that, I go find the kernel source.rpm download it? then how do I install it?
Reply With Quote
  #4  
Old 25th July 2006, 01:28 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
Quote:
Originally Posted by GridX
ok, I didnt do that, so how do I do that, I go find the kernel source.rpm download it? then how do I install it?
Hello:
Download the source rpm from here http://download.fedora.redhat.com/pu...dates/5/SRPMS/
and then $ rpm -ivh kernel-XXXXX
hth
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 25th July 2006, 02:26 AM
GridX Offline
Registered User
 
Join Date: Jul 2006
Posts: 9
excuse my ignorance, but I cant find my kernel source file in that link:

mine is 2.6.15-1.2054_FC5 for an AMD64 (i686)


which one of those files can I use?
Reply With Quote
  #6  
Old 25th July 2006, 02:36 AM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,371
Quote:
Originally Posted by GridX
excuse my ignorance, but I cant find my kernel source file in that link:

mine is 2.6.15-1.2054_FC5 for an AMD64 (i686)


which one of those files can I use?
Hello:
You can use whatever one that you like.
The 2054 kernel is the base one that came with the initial install of FC5..probably not the best kernel ever released.
Since you are going to recompile you should be fine with any of the available kernels.
Have a look here, which should help you as well :http://forum.fedoraforum.org/showthread.php?t=29434
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #7  
Old 25th July 2006, 03:19 AM
GridX Offline
Registered User
 
Join Date: Jul 2006
Posts: 9
Well nothing worked, I installed the kernel source...then did the rpmbuild command, not sure if that worked I get alot of .config:2792:warning messages, and other stuff.

the kernel-devel rpm is installed, not sure what to do after I install the kenel devel rpm

I then run the nvidia driver .run file and I still get (after all this mess) the message: the kernel header file /usr/src/redhat/BUILD/kenel-2.6.15//include/linux/kernel.h does not exist and I did do teh --kernel-source-path commandline option.

So I installed the kernel-devel the kernel source did the rpmbuild and ran the nvidia driver .run file with the --kernel-source-path option and still it didnt work, I think the kernel source didnt install? dont know, I am at a loss now,
Reply With Quote
  #8  
Old 25th July 2006, 04:18 AM
GridX Offline
Registered User
 
Join Date: Jul 2006
Posts: 9
Hey Seve, thanks for your help on this post and my other post. I disabled my nvidia network adapter and bought a linksys adapter and now everything is working in FC5 regarding my network. I should have done this a long time ago.

My problem is solved through a workaround


GridX
Reply With Quote
Reply

Tags
install, kerneldevel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
yum install kernel-headers and kernel-devel without internet access faichiu Using Fedora 4 29th April 2009 03:16 AM
kernel-devel install - i'm doing it wrong... paragraph Using Fedora 2 16th March 2008 06:14 AM
install kernel-devel gcc error arvsr1988 Using Fedora 1 26th November 2007 01:24 PM
How to install kernel-devel package? d_GeNeRiT Using Fedora 6 28th February 2006 03:34 PM
How to install kernel-devel? GeneralChaos Installation and Live Media 3 28th February 2006 06:35 AM


Current GMT-time: 01:39 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat