View previous topic :: View next topic |
Author |
Message |
posthuma n00b
Joined: 20 Sep 2006 Posts: 1
|
Posted: Wed Sep 20, 2006 8:36 pm Post subject: Installing programs from source |
|
|
Hi, I just finished installing Gentoo from the livecd. I'm trying to install ndiswrapper from source, but I get an error like "Can't find kernel build in /lib/modules/*/build/"
Have I missed something? Also, where am I supposed to get the kernel sources from? They don't seem to be on the LiveCD.
Thanks in advance |
|
Back to top |
|
|
nanoczar Apprentice
Joined: 10 Dec 2002 Posts: 192 Location: Henderson, TN
|
Posted: Wed Sep 20, 2006 9:56 pm Post subject: |
|
|
As root, go to the /usr/src directory and see if there is a folder entitled 'linux'. If there is, then see where it is pointing. If you do a ls -la from the command line you should see something like this... Code: | quantum src # ls -la
total 88
drwxr-xr-x 11 root root 4096 Sep 12 16:24 .
drwxr-xr-x 16 root root 4096 Jun 13 20:24 ..
-rw-r--r-- 1 root root 0 Dec 21 2005 .keep
lrwxrwxrwx 1 root root 20 Jul 19 14:58 linux -> linux-2.6.17-gentoo/
|
where your linux is pointing to your kernel directory. If this is not the case, then you need to make a soft link to it by typing Code: | ln -s linux-2.6.17-gentoo linux | where linux-2.6.17-gentoo is your specific kernel.
You might also try, if you have the link, going into that directory (/usr/src/linux) and recompiling the kernel and modules. Code: | make && make modules_install && make install | Maybe you didn't get the modules installed properly during the installation.
Post your success...or lack there of...
-nanoczar _________________ Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|