LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-26-2007, 02:45 AM   #1
AustinMarton
Member
 
Registered: May 2007
Location: New Zealand
Distribution: Fedora at home, Ubuntu 10.04 at work
Posts: 88

Rep: Reputation: 16
How do I download linux headers and install on Gentoo


Hey there everyone,

I am trying to set up my PCMCIA modem in Gentoo. When I set it up in Ubuntu I had to run the following command:
Code:
sudo apt-get install linux-headers-$(uname -r)
Because I cannot connect to the internet in Gentoo, I need to download the linux headers on another computer, and then install them on my Gentoo machine. Can anyone please explain to me how I would do this?

My Gentoo kernel is 2.6.19-gentoo-r5.

Thanks,
Austin.
 
Old 10-26-2007, 03:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
if you installed gentoo correctly they will already be there. as gentoo is wholly based around compiling from source, they need to be there already.
 
Old 10-26-2007, 03:39 AM   #3
AustinMarton
Member
 
Registered: May 2007
Location: New Zealand
Distribution: Fedora at home, Ubuntu 10.04 at work
Posts: 88

Original Poster
Rep: Reputation: 16
Thanks someone just told me that. This is what I'm up to in trying to install my ipwireless pcmcia modem. Could anyone tell me what the error means?

Code:
localhost ipwireless_cs-2.6.19_2.6.18 # emerge -pvv linux-headers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  R  ] sys-kernel/linux-headers-2.6.17-r2  USE="-gcc64" 40,347 kB

Total: 1 package (1 reinstall), Size of downloads: 40,347 kB
localhost ipwireless_cs-2.6.19_2.6.18 # patch -p 1 -i ../workq.patch
patching file ipwireless_cs_hardware.c
patching file ipwireless_cs_main.c
patching file ipwireless_cs_network.c
localhost ipwireless_cs-2.6.19_2.6.18 # make
make -C /lib/modules/'uname -r'/build M='pwd'
make: *** /lib/modules/2.6.19-gentoo-r5/build: No such file or directory. Stop.
make: *** [all] Error 2
Cheers,
Austin.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't install linux-headers-2.6.21 baghdadi13 Linux - Newbie 3 09-06-2007 04:34 AM
Do I need to install linux-headers? mikieboy Debian 21 08-17-2007 03:09 PM
Gentoo live cd: need to install kernel headers jay73 Linux - Software 1 04-12-2007 09:35 AM
emerge system fails on gentoo install, seven files won't download enigma Z Linux - Distributions 4 08-29-2004 09:00 PM
Where to download Linux Headers? dbzw Linux - Newbie 2 02-23-2004 08:23 PM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration