[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where is /usr/src.linux???



rich wrote:
> 
> I am just now trying to compile my kernel for sound as per Marl Wagnon's
> recent suggestions, but lo and behold, no /usr/src/linux.... and on top
> of that, the only directory in my /usr/src directory is REDHAT?!?!?!
> What's up here? So I just tried to go to /usr/src and type "make
> xconfig" and I get the message "no rule to make target "xconfig". Stop"
> I am baffled - please help!
> 
> ps - I am running slink, which I freshly installed after vetoing
> hamm....
> 
> Rich

heh. Have you installed the kernel-source package yet? It'll put the
source in /usr/src/kernel-source-2.0.34 and make a link to it named
linux. Here's what my /usr/src/ looks like:


drwxr-xr-x   3 root     root         1024 Feb  6 22:38
kernel-headers-2.0.32
drwxr-xr-x  15 root     root         1024 Feb  9 09:28
kernel-source-2.0.34
drwxr-xr-x  15 1046     1046         1024 Feb 11 22:37
kernel-source-2.0.36
lrwxrwxrwx   1 root     src            20 Feb  9 18:00 linux ->
kernel-source-2.0.36
lrwxrwxrwx   1 root     src            21 Feb  6 22:48 linux-2.0.32 ->
kernel-headers-2.0.32
lrwxrwxrwx   1 root     src            20 Feb  9 09:12 linux-2.0.34 ->
kernel-source-2.0.34
-rw-r--r--   1 root     src       7269221 Feb  9 17:56
linux-2.0.36.tar.gz

You might have to make your window a little bigger to see it nicely.

I started off by installing the kernel-source-2.0.34 package via dselect
and it stuck everything in there. To upgrade, download the kernel
sources from somewhere like www.kernel.org. Copy it into /usr/src.
remove the link called 'linux', untar and unzip the source. It installs
it into a directory called linux. change the name to
kernel-sources-2.0.36 (or whatever, according to which sources you got).
make a new link called linux that points to kernel-sources-2.0.36. cd to
linux (which will put you in the kernel-source-2.0.36 directory). type
make config (or menuconfig, or xconfig, I like xconfig). Follow my
directions from the earlier post and that should do it for you.

---
Mark Wagnon                  -o) / /  (_)__  __ ____  __
Chula Vista, CA              /\\/ /__/ / _ \/ // /\ \/ /
mailto:mwagnon@ixpres.com   _\_v____/_/_//_/\_,_/ /_/\_\


Reply to: