LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to install alsa sound drivers (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-alsa-sound-drivers-71540/)

nakedjohn 07-10-2003 08:34 AM

trying to install alsa sound drivers
 
okay, when i start the installation of the alsa-drivers, i get this...

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.5
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20/build
checking for kernel version... The file /lib/modules/2.4.20/build/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).
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.5'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.5'

Please, run the configure script as first...

rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.5/support'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.5/support'
make: *** [install-modules] Error 1

I have no idea what to do... can anyone help?

nakedjohn 07-10-2003 08:59 AM

decided to do a bit of exploration on the slack cd... realized i'd never viewed the contents of a cd before... i read through a few pages, and tried to mount it... i got curious because i'd never seen the contents of my other hard drive either... couldn't find it...

what exactly do you type in the console to view such things?

primary master is a WD120gb
primary slave is another WD120gb
secondary master is an LG DVD-rom
secondary slave is an LF burner...

any help would be appreciated on this matter as well, because the second hard drive is full of dvd rips that took me a LOOOOOOOOONG time to rip and i'd like to see them again!

nautilus_1987 07-10-2003 09:00 AM

Get linux kernel ver 2.4.20 and
cd /usr/src/linux
tar -zxvf 'linux-2.4.20.tar.gz' (or what eevr it is)

Now you can config ALSA again

nakedjohn 07-10-2003 09:02 AM

sweet, thanks
i'll give it a try and keep you posted

nautilus_1987 07-10-2003 09:10 AM

you are always welcome :)
Try to find best mirror to download kernel :]
next time you install ALSA
configure --with-kernel=/usr/src/linux
===============
actaully I think you will have problems with all that thing ... so keep posting

nakedjohn 07-10-2003 09:14 AM

hmmm, same thing...
i noticed its looking for 2.4.20, but i downloaded 2.4.21...
it says use --with-kernel=dir to specify another directory with kernel...
if i typed --with-kernel=/usr/src/linux ... hmm, then what?

nautilus_1987 07-10-2003 09:22 AM

have you tried?

nakedjohn 07-10-2003 09:22 AM

checking for kernel version... The file /usr/src/linux/linux-2.4.21/include/linux/version.h does not exist.
its right... it doesn't...

nakedjohn 07-10-2003 09:23 AM

yeah, i tried... same thing, but... read above message

nakedjohn 07-10-2003 09:24 AM

in with the rest of the stuff i added --with-kernel=/usr/src/linux/linux-2.4.21 ...
i think thats whats got me the closest right now, its lookiung for the file in the right place, but its not here, even when i ls the folder

nakedjohn 07-10-2003 09:25 AM

so now i have...

root@john:/usr/src/alsa/alsa-driver-0.9.5# ./configure --with-cards=via82xx --with-kernel=/usr/src/linux/linux-2.4.21 --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.5
checking cross compile...
checking for directory with kernel source... /usr/src/linux/linux-2.4.21
checking for kernel version... The file /usr/src/linux/linux-2.4.21/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).
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.5'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.5'

Please, run the configure script as first...

rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.5/support'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.5/support'
make: *** [install-modules] Error 1

nakedjohn 07-10-2003 10:32 AM

okay, i got them installed...
now when i type
modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
i get can't locate module...

nakedjohn 07-10-2003 10:55 AM

THREE CHEERS FOR pico INSTALL!!!!!

nautilus_1987 07-10-2003 12:56 PM

Hey Johny! So you have passed the install?

nautilus_1987 07-10-2003 12:58 PM

make sure you have typed the modules correct.


All times are GMT -5. The time now is 07:31 PM.