Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to install the latest ALSA drivers in Mandrake 9.1 to solve a sizzling that always accompanies any sound I hear.
I downloaded the latest ALSA drivers from www.alsa-project.org. I unpacked the tarball, navigated to the unpacked directory with Konsole, and typed ./configure to run the configure script. (The first time I've ever typed ./configure in my entire life!) The last few lines of the output said:
Checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another dirctory with kernel sources (default is /usr/src/linux)
Seems like my kernel source isn't in /usr/src/linux. So I used the Find feature in Konqueror to search for any folders that would be named Linux and got about five others. I tried ./configure --with-kernel=dir replacing dir with all the paths that appeared in the Find Files result box. To no avail, that same message kept appearing.
I'm very excited since is the first time I've ever run a configure script (lame as though I may sound). Can anyone help me out on this one please?
The linux kernel should be on your installation CDs. So, using UserDrak (or whatever installation tool Mandrake has), it should be relatively easy to install the kernel sources. Mandrake comes in different varieties -- Download, Standard, Powerpack, etc. Hopefully the version of Mandrake 9.1 that you have possesses the kernel sources. If not, you might be out of luck (though you could try the Mandrake web site, to see if they are there - they'll try to suck more money out of you to join their "club" before giving you access to any files, however). If your boxed set does not contain the kernel sources, I would not advise trying to get the generic source from the www.kernel.org. Only people who really know what they're doing should mess with this stuff. You may have to give up, or buy a boxed linux set with kernel sources included. Anyway, hope this helps.
Last edited by mark_alfred; 08-13-2003 at 02:26 PM.
well, u don't need to join their club, just click the option saying that you already have and go to one of the ftp sites and download the source rpm for your kernel (u can see what kernel u are using with uname -r)
no, you are not out of luck, and most distros don't install sources
Please start a new thread if you have a new question, dont highjack others'.
Using the latest stable kernel is best, Mandrake's is 2.4.21-0.25mdk, as listed on their security site and the ftp mirrors. Run Mandrake Update, found in your KDE menu, or the Mandrake Control Centre.
You'll need the sources for whichever kernel version you're using atm to install things which require the kernel sources/header files to be installed. The latest drivers may require the latest kernel release.
upgrade to the latest kernel, which is 2.4.21-0.25mdk
this is straight from that page:
To upgrade automatically, use MandrakeUpdate.
If you want to upgrade manually, download the updated package(s) from one of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".
go to the ftp mirrors section, click on one of the mirrors and download kernel-126.96.36.199.25mdk-1-1mdk.i586.rpm and kernel-source-2.4.21-0.25mdk.i586.rpm (note: as u might notice these rpm's are built for i586, so once u install the kernel source, u may want to recompile)
to install, do rpm -Fvh filename.rpm for both those files