Kernel
Source not found
I'm trying to install TUN TAP for tunneling, but when I tyoe ./configure, I get: configure: error: Linux kernel source
not found in /usr/src/linux
How do I fix this? I have the source, although I don't know where it is. ------------------------------------------------------------------- go to /usr/src
code:ls -l and post the results here ------------------------------------------------------------------- Go to /usr/src/ if you have a directory starting with linux
if you have a directory named for example
kernel-2.6
------------------------------------------------------------------- May be U have to "ln -s /usr/src/linux
/usr/src/linux-2.6.9" (supposing U have linux-2.6.9) for creating a symbolic
link to kernel sources only if they R already existing (in other words
the "/usr/src/linux-2.6.9" must exist).
------------------------------------------------------------------- Okay, here''s what it looks like in Mandrake 10 /usr/src/RPM/ then I have a choice of: BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/ Under /BUILD/ there is nothing. Under RPMS/
Under /SOURCES/ there is nothing. Under /SPECS/
Under SRPMS/ there is nothing. So talk to me like I'm sort of a newb, because I kinda am. ------------------------------------------------------------------- i think you dot have kernel-souce installed ------------------------------------------------------------------- You need to install the kernel-source package that matches your kernel version. The directory you are seeing is where a source rpm goes. __________________
Watch out for the internetgremlin@/dev/null.com
------------------------------------------------------------------- Which directory do I put it in exactly and how do I do that? ------------------------------------------------------------------- If i've been able to install other software using: ./configure
does that mean I have the source code? ------------------------------------------------------------------- Mandrake as i very know is RPM distro.
What does it means? If U wanna to play games only U probably never will
use "./configure && make && make install", but what U will
do anyway - use RPM. If U installed Mandrake from CD/DVD U should chdir
to cdrom, then (as i can remember my little expiriencing with this fat
distro) "cd Mandrake/RPMS". Here U may find something like
Have a Linux Problem
Linux Books
Home Index
(c) www.gotothings.com All material on this site is Copyright.
|