LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 07-10-2003, 08:34 AM   #1
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
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?
 
Old 07-10-2003, 08:59 AM   #2
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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!
 
Old 07-10-2003, 09:00 AM   #3
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
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
 
Old 07-10-2003, 09:02 AM   #4
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
sweet, thanks
i'll give it a try and keep you posted
 
Old 07-10-2003, 09:10 AM   #5
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
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

Last edited by nautilus_1987; 07-10-2003 at 09:11 AM.
 
Old 07-10-2003, 09:14 AM   #6
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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?
 
Old 07-10-2003, 09:22 AM   #7
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
have you tried?
 
Old 07-10-2003, 09:22 AM   #8
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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...
 
Old 07-10-2003, 09:23 AM   #9
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
yeah, i tried... same thing, but... read above message
 
Old 07-10-2003, 09:24 AM   #10
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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
 
Old 07-10-2003, 09:25 AM   #11
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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

Last edited by nakedjohn; 07-10-2003 at 09:27 AM.
 
Old 07-10-2003, 10:32 AM   #12
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
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...
 
Old 07-10-2003, 10:55 AM   #13
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Original Poster
Rep: Reputation: 15
THREE CHEERS FOR pico INSTALL!!!!!
 
Old 07-10-2003, 12:56 PM   #14
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Hey Johny! So you have passed the install?
 
Old 07-10-2003, 12:58 PM   #15
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
make sure you have typed the modules correct.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with alsa drivers and sound MegaByll Linux - Newbie 1 02-02-2005 04:13 AM
ALSA sound drivers don't install swamysk Linux - Newbie 1 11-20-2004 12:01 PM
installing alsa sound drivers nakedjohn Slackware 6 07-19-2003 01:45 PM
alsa/kernel sound drivers wr3ck3d Linux - Hardware 1 04-13-2003 03:42 AM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration