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
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-18-2005, 03:56 PM   #1
fuzzyrush
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Problems Installing the kernel-2.6.9-1.667.src.rpm


Hi,

I have attempted to install the kernel source as according to

download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/RELEASE-NOTES-en.htm

1) I downloaded the kernel-2.6.9-1.667.src.rpm

2) then i ran rpm -i kernel-2.6.9-1.667.src.rpm

3) Then I changed directory to /usr/src/redhat/SPECS/, and issue the following command specifiing the x86 arch.:

>rpmbuild -bp --target=<arch> kernel.spec

At this point it all seems ok.

However I am not clear on the next instructions

i think i

cp kernel-2.6.9-1.667-x86-smp.config ./config

and then ran

make oldconfig

and got the following error:

make: *** No rule to make target 'oldconfig' . Stop

Can anyone shed some light on this? I am very eager and new so I may have missed something ovious but I am almost stumped.

I read somewhere that I may have downloaded the wrongsource rpm?

Any help would be muchly apreciated.

much ass grassy ass
 
Old 01-18-2005, 05:23 PM   #2
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
ok this might not be the full problem but t shoudl be
cp kernel-2.6.9-1.667-x86-smp.config ./.config

(as its a hidden file )
 
Old 01-19-2005, 04:02 PM   #3
fuzzyrush
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the suggestion. Im still getting the same error. From what i can see the make command requires some arguments and that why the command make oldconfig doesn't work.

Does anyone have any ideas ?


Cheers
 
Old 01-19-2005, 04:42 PM   #4
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
make oldconfig worked fine for me, are you in the right directory ?

Personally I got the latest kernel from www.kernel.org untared that to /usr/src , then coppied the old config file (the one you are playing with) to the new source dir, then go to the the new source tree (/usr/src/linux-2.6.10......) then do

make oldconfig
make xconfig
make all
make modules_install
make install
 
Old 01-22-2005, 12:10 PM   #5
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
Just found this while doing somehitng else. I guess this is what you were trying to do.

http://www.linuxquestions.org/questions/history/271592
 
Old 01-22-2005, 02:08 PM   #6
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
Re: Problems Installing the kernel-2.6.9-1.667.src.rpm

Quote:
Originally posted by fuzzyrush

3) Then I changed directory to /usr/src/redhat/SPECS/, and issue the following command specifiing the x86 arch.:

>rpmbuild -bp --target=<arch> kernel.spec

At this point it all seems ok.

However I am not clear on the next instructions

i think i

cp kernel-2.6.9-1.667-x86-smp.config ./config

and then ran

make oldconfig

and got the following error:

make: *** No rule to make target 'oldconfig' . Stop

Can anyone shed some light on this? I am very eager and new so I may have missed something ovious but I am almost stumped.

I read somewhere that I may have downloaded the wrongsource rpm?

Any help would be muchly apreciated.

much ass grassy ass
do you have to do all of this? I just typed in rpm -ivh kernel-1.6.9-1.667.src.rpm (or something like that, it did its install and ndiswrapper installed fine. I downloaded the rpm from pbone.
 
  


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
Installing a src rpm Chijtska Linux - Software 2 04-13-2005 08:49 AM
mplayer .src.rpm installing problems Harp00 Linux - Newbie 0 09-25-2003 03:29 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM
Problems installing src.rpm file???? Kilahchris Linux - General 31 02-11-2003 01:49 AM
Problems installing src.rpm file???? Kilahchris Linux - Software 4 02-07-2003 01:16 AM

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

All times are GMT -5. The time now is 03:44 AM.

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