LinuxQuestions.org
Review your favorite Linux distribution.
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 08-03-2003, 09:07 PM   #1
drumpriest
LQ Newbie
 
Registered: Jul 2003
Location: Ypsilanti, Michigan
Distribution: RedHat9, Win98
Posts: 4

Rep: Reputation: 0
Angry ALSA install errors



I'm a newbie who can't get sound out of this computer, but am really looking forward to getting into Linux! I have a Compaq Presario 5050 with an on board ESS 1869 sound card, and just installed RH9.0 and updated to the 2.4.20-19.9 kernel, with a Windows98 dual boot. I'm trying to install alsa to get the sound to work, but on the first try to install the driver I get the following errors:

[root alsa-driver-0.9.6]# ./configure --with-cards=es18xx --with-sequencer=yes;make;make install
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6'

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.6/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.6/support'
make: *** [install-modules] Error 1

There is a Rules.make file listed in the directory and also a file called 'Makefile' and 'Makefile.conf.in'...just in case this is useful information.


Now I'm just learning to move around in the command line environment, but anyone that could help guide me here would be greatly appreciated. I went ahead and tried the alsa-lib and alsa-utils install as directed on alsa-project.org, but I received similar errors! All I need is this and a printer driver (which I'm working on next) and my RH install will be complete!!

Thoughts?

Thanks,
drumpriest
 
Old 08-03-2003, 10:09 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
checking for gcc... no
You have no compiler installed. Install your developmental packages and kernel-sources.

redhat-config-packages

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 08-03-2003 at 10:14 PM.
 
Old 08-04-2003, 08:28 AM   #3
drumpriest
LQ Newbie
 
Registered: Jul 2003
Location: Ypsilanti, Michigan
Distribution: RedHat9, Win98
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, fancy...I'll try that later tonight. I'm assuming that I can install that using the "Add or Remove Packages" feature in RedHat through the GNOME GUI?

Also, the install CD had kernel version 2.4.20-8, but I've already updated to 2.4.20-19.9...I should be able to download the source code for that kernel from RedHat, but install the compiler from the CD?

Thanks again!
 
Old 08-04-2003, 09:52 AM   #4
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Rep: Reputation: 15
Hi drumpriest,

Yes, you can download the source code for your kernel from the net and install the compiler from the cd. The two are not version related ie you can have kernel v2.4.20-19.9 and have gcc v3.2.2-5

It would still work, unless red hat released a notice for any incompatibilities.

Good luck!

Cheers,
alf829
 
Old 08-04-2003, 09:04 PM   #5
drumpriest
LQ Newbie
 
Registered: Jul 2003
Location: Ypsilanti, Michigan
Distribution: RedHat9, Win98
Posts: 4

Original Poster
Rep: Reputation: 0
All this information has been very useful...I've succeeded up to this point, however I tried inserting the modules into the kernel using the command on the ALSA web site:

modprobe snd-es18xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

After which I get the following:

/lib/modules/2.4.20-19.9/kernel/sound/isa/snd-es18xx.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-19.9/kernel/sound/isa/snd-es18xx.o: insmod /lib/modules/2.4.20-19.9/kernel/sound/isa/snd-es18xx.o failed
/lib/modules/2.4.20-19.9/kernel/sound/isa/snd-es18xx.o: insmod snd-es18xx failed

If I go to the directory listed...there is a file there called snd-es18xx.o.

However, there's nothing I could find on the ALSA web site concerning this error. Help?? Sorry that I don't know yet, but how would I access the syslog or the output from dmesg to see if anything there can help?... which it probably wouldn't because I don't understand the whole IRQ conflict thing anyway, regardless of the OS.
 
Old 08-06-2003, 07:22 AM   #6
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Rep: Reputation: 15
Hi drumpriest,

Before you insert the modules into the kernel, you need to remove any currently running sound modules using rmmod.

Type lsmod and use rmmod to remove all drivers associated with your card ie rmmod snd

After this, the modprobe should work properly.

Good luck!

Cheers,
Alf829
 
  


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
Weird ALSA Errors Mr_Munkey Linux - Hardware 4 06-10-2005 07:45 PM
alsa install errors tfdml37 Linux - Hardware 2 04-04-2004 06:12 AM
Slack 9.1 and alsa errors cholzsc1 Linux - Hardware 1 03-01-2004 06:28 PM
alsa modprobe errors denominator Linux - Newbie 22 11-06-2003 11:02 PM
ALSA errors lss223 Slackware 2 05-03-2003 06:56 AM

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

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