LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2004, 04:45 PM   #1
blames
LQ Newbie
 
Registered: Oct 2004
Location: Boulder, Co
Distribution: Redhat WS4
Posts: 17

Rep: Reputation: 0
/usr/src/linux not there?


I've installed FC2 and am trying to compile my kernel using the command "make menuconfig" in order to enable framebuffer. I look in /usr/src and what I find is a folder called "redhat" not "Linux". In the "redhat" folder there are other dir's like BUILD, SOURCE, SRPMS, etc... I am looking for "menuconfig" and it's nowhere to be found.
Any help with what the hell is going on here would be appreciated..

thanks
 
Old 10-14-2004, 04:55 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
you likely have to install the kernel source package of your choice.

sl mritch.
 
Old 10-14-2004, 05:00 PM   #3
ratzoid
Member
 
Registered: Oct 2004
Location: Germany
Distribution: SuSE
Posts: 33

Rep: Reputation: 15
As long as you have the kernel source installed and you are in /usr/src/linux
you should be able to do one of the following to to make your config.

make xconfig
make menuconfig
make config
 
Old 10-14-2004, 05:17 PM   #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
....all of which means get the source package for your kernel (likely an rpm somewhere) and extract to the /usr/src directory (if rpm, it'll likely do that when you install the rpm - it may even make the symlink to linux as well). Make a symbolic link from the source directory to "linux" and enter /usr/src/linux
Code:
cd /usr/src
ln -s <name of kernel source directory> linux
ls -l
The last ls -l is to check that the symlink points to the right place.

cd linux
make menuconfig
etc...
 
Old 10-14-2004, 11:35 PM   #5
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
do a #uname -a

The output will the version of ur installed[running] kernel....

try to download the "src" rpm of the matching kernel and install it

#rpm -ivh kerenel-2.xxx-src.rpm

[********The rpm should have the word SRC in it**********]
 
Old 10-15-2004, 06:28 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
Thanks for filling in what I forgot. Damn, I like LQ
 
Old 10-15-2004, 07:06 AM   #7
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
yep. it's nearly complete now. good work ;-)
 
  


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
/usr/src/linux millennia DamnSmallLinux 6 07-24-2004 02:48 PM
/usr/src/linux? krackerroot Slackware 6 10-26-2003 03:31 PM
/usr/src/linux player_dos Linux - Newbie 2 07-20-2003 11:49 PM
/usr/src/linux ?? Ekpyrotic Linux - Newbie 6 07-16-2003 11:14 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 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