LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-18-2004, 09:24 PM   #1
Arusegawa
LQ Newbie
 
Registered: May 2004
Location: Pittsburgh/Baltimore
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
Exclamation Linux source directory not found


Hi,
I just recently installed Mandrake 9.2 and had to install the drivers for my 3com 3c940 (uses the 3c2000 driver). The instructions that came with the driver said to make sure the source was installed in the /usr/src/linux directory, however that directory doesn't exist. When I navigate to /usr/src the only directory present is RPM. How do I go about getting the linux source into this directory, and any other tips for driver installing, because i also have to install functional firegl drivers for a Radeon 9600 in the future.
Thanks!
 
Old 05-18-2004, 10:04 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Did you install the kernel headers package? If so, you should have a dir under /usr/src named something like linux-2.4.20-30.9 and a link like linux-2.4 that is linked to linux-2.4.20-30.9 (or whatever your kernel version is).
 
Old 05-18-2004, 10:29 PM   #3
Arusegawa
LQ Newbie
 
Registered: May 2004
Location: Pittsburgh/Baltimore
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by TheOther1
Did you install the kernel headers package? If so, you should have a dir under /usr/src named something like linux-2.4.20-30.9 and a link like linux-2.4 that is linked to linux-2.4.20-30.9 (or whatever your kernel version is).
I did a ls -a in the /usr/src/ directory, and all that comes up is RPM/

I looked in the Software Oackage Installation application, but couldnt find it. I might not be searching for the right thing, or I might be looking in the wrong place.

Any input would be greatly appreciated. I am willing to reinstall if theres a place where I can specify to include the source. I am using Mandrake 9.2

Thanks!
 
Old 05-19-2004, 01:15 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
The easiest way that I have found to find kernel-related stuf is to fire up rpmdrake and use the search field at the top. I enter the word "kernel" in there and it shows me all the results. Find the source that matches the kernel you have and install it. It should be on the cds, although I have heard that 9.2 did not include the source on the cd. If not, you'll have to get it from the net. (Sorry I can't be of more help but I went from 9.1 to 10.0)
 
Old 05-19-2004, 01:37 AM   #5
Arusegawa
LQ Newbie
 
Registered: May 2004
Location: Pittsburgh/Baltimore
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Solved!

After much googling, I found out that, as the previous poster said, Mandrake did not include the source (kernel headers) with the 9.2 release. It was a simple matter of going the 9.2 site, finding the file I needed, and doing all the fun command line stuff as prescribed.
Thanks to all who helped!
 
Old 05-19-2004, 07:19 AM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
BTW, all the other versions have it on the disks, so if you upgrade to 10, you won't run into this. Happy compiling!
 
  


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
linux source directory? axemanW Red Hat 3 10-15-2004 04:01 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
Linux Source Directory WindowsVeteran Linux - Software 2 03-30-2004 07:14 AM
Linux Source Directory? Rv5 Red Hat 2 09-01-2003 04:29 PM
Linux Source Directory Buckmaster Linux - Newbie 1 06-20-2003 11:37 AM

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

All times are GMT -5. The time now is 09:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration