LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-06-2003, 06:41 AM   #1
Mr.Scum
LQ Newbie
 
Registered: Jan 2003
Posts: 14

Rep: Reputation: Disabled
Problem installing alsa


I'm having a problem getting alsa working. This is my first time to try to install anything in Linux ( Red Hat 8 ). I have an onboard VIA sound card, VT8233. After reading some posts on the issue it looks like alsa is the solution. But after unziping the files I get the following error...

[root@localhost /usr/src/alsa/alsa-driver-0.9.0beta12]#
./configure --with-cards=via82xx --with-sequencer=yes

checking for gcc...no
checking for cc...no
Configure: Error: no acceptable cc found in $PATH



Here's some other info

The following error occurred running the modprobe program:

/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o:
init_module: No such device
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o:
insmod
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o
failed
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o:
insmod sound-slot-0 failed



[root@localhost root]# lsmod
Module Size Used by Not tainted
sr_mod 18136 0 (autoclean)
soundcore 6500 0 (autoclean)
autofs 13348 0 (autoclean) (unused)
3c59x 30608 0 (unused)
ipt_REJECT 3736 6 (autoclean
iptable_filter 2412 1 (autoclean)
ip_tables 14840 2 [ipt_REJECT iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
mousedev 5524 2
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
ehci-hcd 17448 0 (unused)
usbcore 77056 1 [hid usb-uhci ehci-hcd]


Modules.conf

alias parport_lowlevel parport_pc
alias usb-controller ehci-hcd
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller1 usb-uhci
alias eth1 3c59x
 
Old 02-06-2003, 10:23 AM   #2
peeples
Member
 
Registered: Sep 2002
Location: Wichita Falls, TX
Distribution: tried a lot of 'em, now using kubuntu
Posts: 180

Rep: Reputation: 30
As root, type the following and post up the results:

echo $PATH

then

locate gcc
 
Old 02-06-2003, 07:24 PM   #3
Mr.Scum
LQ Newbie
 
Registered: Jan 2003
Posts: 14

Original Poster
Rep: Reputation: Disabled
Peeples,

Here are the results

[root@localhost root]#echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

[root@localhost root]# locate gcc
/usr/lib/gcc-lib
/usr/lib/gcc-lib/i386-redhat-linux
/usr/lib/gcc-lib/i386-redhat-linux/3.2
/usr/lib/gcc-lib/i386-redhat-linux/3.2/tradcpp0
/usr/lib/gcc-lib/i386-redhat-linux/3.2/cpp0
/usr/lib/qt3-gcc3.2
/usr/lib/openoffice/program/libcppuhelper3gcc3.so
/usr/lib/openoffice/program/libgcc3_uno.so
/usr/lib/openoffice/program/libsalhelper3gcc3.so
/usr/lib/openoffice/program/libstlport_gcc.so
/usr/lib/openoffice/program/libucbhelper1gcc3.so
/usr/lib/openoffice/program/libvos2gcc3.so
/usr/share/ghostscript/Resource/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/CMap/HKgccs-B5-V
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-H
/usr/share/ghostscript/Resource/ac14/CMap/HKgccs-B5-V
/lib/libgcc_s-3.2-20020903.so.1
/lib/libgcc_s.so.1
 
Old 02-06-2003, 07:30 PM   #4
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Rep: Reputation: 30
hehe, u need everything for gcc... and u need alsa-driver*, alsa-utils*, alsa-lib*, alsa-tool*... get those and when ur gcc stuff works.. compile all of those.. and it should work.. or edit your /etc/modules.conf(or conf.modules, i dunno which it is with redhat) and thatz about it
 
Old 02-07-2003, 12:53 AM   #5
Mr.Scum
LQ Newbie
 
Registered: Jan 2003
Posts: 14

Original Poster
Rep: Reputation: Disabled
Still having problems with the installing!
I have a folder setup usr/src/alsa with the alsa folders (driver, lib, utils) unziped inside there. Get similar errors with all the packages.

[root@localhost alsa-lib-0.9.0beta12]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@localhost alsa-lib-0.9.0beta12]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost alsa-lib-0.9.0beta12]# make install
make: *** No rule to make target `install'. Stop.

I just got the rpm's so I'll them a go.
Very new to Linux!
 
Old 02-07-2003, 06:53 AM   #6
Mr.Scum
LQ Newbie
 
Registered: Jan 2003
Posts: 14

Original Poster
Rep: Reputation: Disabled
A quick update..
I updated the kernel so as I could install the latest rpms from freshrpms.net, seems to have installed ok. Went into alsamixer and turned up the volume but still no sound, where is the mute button in there?

root@localhost /]# lsmod
Module Size Used by Not tainted
ide-cd 33608 0 (autoclean)
cdrom 33696 0 (autoclean) [ide-cd]
snd-pcm-oss 44292 0
snd-mixer-oss 16408 0 [snd-pcm-oss]
snd-via82xx 14924 1
snd-pcm 81024 0 [snd-pcm-oss snd-via82xx]
snd-timer 15368 0 [snd-pcm]
snd-ac97-codec 39304 0 [snd-via82xx]
snd-mpu401-uart 4700 0 [snd-via82xx]
snd-rawmidi 18560 0 [snd-mpu401-uart]
snd-seq-device 6268 0 [snd-rawmidi]
snd 46412 4 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6532 4 (autoclean) [snd]
autofs 13348 0 (autoclean) (unused)
3c59x 30672 0
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15224 2 [ipt_REJECT iptable_filter]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5920 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
ehci-hcd 17480 0 (unused)
usbcore 77024 1 [hid usb-uhci ehci-hc
 
Old 02-07-2003, 02:20 PM   #7
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
type this...

amixer set Master 22 unmute
amixer set PCM 22 unmute
amixer set CD 22 unmute
 
Old 02-11-2003, 08:16 AM   #8
Mr.Scum
LQ Newbie
 
Registered: Jan 2003
Posts: 14

Original Poster
Rep: Reputation: Disabled
Still having sound problems.

Using sndconfig or soundcard detection it shows that the system is still trying to use the via82cxxx_audio.o module located in the lib/modules/2.4.18-24.8.0/kernel/drivers/sound folder.

How do I get it to use the new snd-via82xx.o module from the lib/modules/2.4.18-24.8.0/kernel/sound folder.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
collect2: cannot find `ld' - problem on installing alsa-oss satimis Linux From Scratch 6 09-15-2005 12:07 AM
Installing ALSA 1.0.6 luigidrummer Linux - Hardware 4 09-07-2004 11:00 PM
problem installing ALSA hamish Linux - Software 5 07-26-2004 02:34 PM
installing alsa drenal Linux - Newbie 5 02-02-2004 04:29 AM
Installing alsa raid517 Linux - Hardware 14 08-27-2003 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:45 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