Installing Alsa (as a lot of linux kernel module) on Debian (w/ debian package) can be a real pain. But this one is really simple:
- apt-get install alsa-base
- apt-get install alsa-source
Take care that alsa-base ask you which sound card you have. This is needed for building the init-script.
Next:
cd /usr/src/ tar xvfj alsa-driver.tar.bz2 cd modules/alsa-driver ./configure make make install /etc/init.d/alsa start
Take care that by default all mixer are off !!
– Enjoy using gnomemeeting
You can build the debian package too like this:
I think the recommended way is to do it from the kernel source directory and use something like:
apt-get install kernel-source-x.x.xx
apt-get install alsa-base
apt-get install alsa-source
cd /usr/src/linux
kpkg-make –initrd –config menuconfig kernel-image
kpkg-make –initrd –config menuconfig modules
Dominic: Right, except that I hate to use apt for kernel stuff. So I always avoid this kind of features..
Hi,
I’m trying this on a powerbook G3 (awacs).
After I execute ./configure I get
The file /lib/modules/2.6.8-powerpc/source/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 directory (default = /lib/modules/2.6.8-powerpc/source
any help ?
I tried it and got million errors doing make.
im using realtek high defination audio. i downloaded alsa-driver-1.0.9rc4a.tar.bz2 from alsa-project
but when i run ./configure it gives me error like this,,
checking for kernel version… The file /lib/modules/2.6.9-x1/build/include/linu
x/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 directory with kernel
sources (default is /lib/modules/2.6.9-x1/build).
please help me to get the sound and im using XANDROS 3.0 DELUX
Im too, i use soundmax high defninition audio,and message is:
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 directory with kernel
sources (default is /usr/src/linux).
i use ubuntu
Sorry but this doesn’t work for the 2.4.27 Standard Kernel.
The sources are needed and so simple like here it does’t seem to be.
I have many error executing make
But if someone wants to tell that it is simple please let me that, that i’m wrong and teach me :)
to fix the version error just download the sources of your actual kernel, rename version.Debian to version.h and copy to /usr/src/linux/include/linux/version.h
thats it
it just needs to know what kernel u are running,
i did this but i keep getting errors if i try to make install
hi
i did all the steps to “make install”.
Then I dont understand what the last command line “/etc/init.d/alsa start means. Do i have to go to /etc/init.d/alsa and then enter the command start? Besides i in the directory /etc/init.d/ i only find “alsasound” and “alsa-utils”.
Thanks for your help!
for Mike : yes launch “alsa”, utils and sound too ..
But anyways, now Alsa works out of the box on a debian, this post is old now !