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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-10-2003, 08:34 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Rep:
|
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?
|
|
|
07-10-2003, 08:59 AM
|
#2
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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!
|
|
|
07-10-2003, 09:00 AM
|
#3
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
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
|
|
|
07-10-2003, 09:02 AM
|
#4
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
sweet, thanks
i'll give it a try and keep you posted
|
|
|
07-10-2003, 09:10 AM
|
#5
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
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.
|
|
|
07-10-2003, 09:14 AM
|
#6
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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?
|
|
|
07-10-2003, 09:22 AM
|
#7
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
have you tried?
|
|
|
07-10-2003, 09:22 AM
|
#8
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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...
|
|
|
07-10-2003, 09:23 AM
|
#9
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
yeah, i tried... same thing, but... read above message
|
|
|
07-10-2003, 09:24 AM
|
#10
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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
|
|
|
07-10-2003, 09:25 AM
|
#11
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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.
|
|
|
07-10-2003, 10:32 AM
|
#12
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
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...
|
|
|
07-10-2003, 10:55 AM
|
#13
|
Member
Registered: Jul 2003
Distribution: Slack9
Posts: 77
Original Poster
Rep:
|
THREE CHEERS FOR pico INSTALL!!!!!
|
|
|
07-10-2003, 12:56 PM
|
#14
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
Hey Johny! So you have passed the install?
|
|
|
07-10-2003, 12:58 PM
|
#15
|
Member
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750
Rep:
|
make sure you have typed the modules correct.
|
|
|
All times are GMT -5. The time now is 12:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|