LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 02-15-2006, 12:58 PM   #1
tmort
Member
 
Registered: Feb 2006
Posts: 36

Rep: Reputation: 15
Installling source in FC4


I'm new to all this, but, it looks like yum would be the best thing for me to use to modify my code, however, I'm using a laptop and the reason I need to modify my code is to get the modem and wifi working.

So I have to try to just installl the code manually.

At first I had some issues and got a nokey error, but, I resolved that and I have the keys installed.

Now when I try su -
(root password)
rpm -ivh kernel-2.6.111.1369.src.rpm



I get - error: cannot create %sourcedir /usr/src/redhat/SOURCES

Does anyone have any ideas what is going on?

Thanks in advance
 
Old 02-15-2006, 01:30 PM   #2
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
For some reason I do not think you are installing the rpm for your specific version of fedora core.

Also to get wirelss working, if you are using ndiswrapper and need kernel sources use yum to install a package called, kernel-devel-`uname -r` or kernel-devel, the important thing is that the kernel source name matches the kernel you are currently using.

uname -r

should let you know which kernel you are using.

You can also add the livna repo and yum install ndiswrapper to get ndiswrapper on your box. See http://www.fedorafaq.com to get the livna repo.
 
Old 02-15-2006, 02:37 PM   #3
tmort
Member
 
Registered: Feb 2006
Posts: 36

Original Poster
Rep: Reputation: 15
I am using 2.6.11-1.1369_FC4. I double checked with uname -r

As I understand it, yum goes out on the net and gets what you need. I can't use it though because both the wifi and the modem are not working - that's why I have to modify the code by installing drivers
 
Old 02-15-2006, 03:23 PM   #4
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
Are you actually planning on modifying the actual kernel source code, which is probably really difficult to do, or do you just need the kernel sources to install the drivers? If you just need the kernel sources, which I believe is what you are looking for, then get the rpm for kernel-devel-2.6.11-1.1369_FC4 from the link below. The reason for my last post was because almost all (as far as I know) of the kernel packages for Fedora Core end in _FC4 and your rpm did not end in _FC4.

http://rpmfind.net/linux/rpm2html/se...nel-devel-i686

Last edited by accessrichard; 02-15-2006 at 03:24 PM.
 
Old 02-16-2006, 07:24 AM   #5
tmort
Member
 
Registered: Feb 2006
Posts: 36

Original Poster
Rep: Reputation: 15
It did have the _FC4 on it. A typo on my part.

I found I had to creat the directory first, then it installed.

Now the next step is for me to change the path to linux to the one I have in the makefile file for the driver. I'm not sure if they mean the path to the source I just installed or the kernel. I can set the paths to either but I get a no such directory error at the point where it tries to make the drivers.
 
Old 02-16-2006, 11:41 AM   #6
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
./configure --help

then you should see how to set up some paths with something that looks like the following below

./configure --with-path-not-found=/correct/path/on/linuxbox
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help on Installling an Application Anthony1uk Linux - Newbie 2 09-16-2005 06:04 PM
Installing Kernel Source in FC4 azuiden Fedora 2 06-21-2005 01:09 PM
Installling Applications infekt Linux - Newbie 4 06-29-2004 02:43 PM
Installling SUSE, Mandrake, ??? upgradez Linux - Software 1 11-08-2003 04:04 PM
Help on installling unwrittenlaw Linux - Newbie 4 09-25-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration