LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2004, 02:49 AM   #1
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Rep: Reputation: 15
alsa 1.0.6, what do I need?


I have Mandrake 10.1 Community, which comes with Alsa 1.0.6, but unfortunately without the emu10k1x module compiled in, and that's the one that I need for my Dell soundcard. So I wonder, do I only have to compile and install alsa-driver, or do I also need all the others, like alsa-lib, alsa-utils and alsa-oss-whatever? I guess most of it should already be in place, but who knows.
The reason why I'm asking is that I didn't manage to compile alsa-lib. there was a complaint about "/lib/cpp failed sanity check" or something like that. This was late last night and I'm at work now, so I don't remember everything exactly. I might post more details tonight.

Best regards,
Hans Petter
 
Old 11-09-2004, 02:56 AM   #2
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian, Gentoo, Ubuntu, VoidLinux
Posts: 133

Rep: Reputation: 18
Yeah you definetily need alsa-lib, and when you're finished reboot and see if alsa is started automatically, if not, add it to your default init level (I'm not sure how to do this on Mandrake), and remember to unmute and turn up the volume, you can run 'alsamixer' to set volume and unmute it ..
 
Old 11-14-2004, 06:38 PM   #3
vbsoftware
LQ Newbie
 
Registered: Jul 2003
Location: chile
Distribution: Redhat Linux 9 custom
Posts: 27

Rep: Reputation: 15
Hello from Santiago de Chile (spanish user)

I resolve this problem in my RedHat 9 : (NOTE : Always i have installed the kernel sources)

Step 1.
- First download alsa sources from http://www.alsa-project.org (alsa-driver, alsa-lib, alsa-utils, alsa-oss)

Step 2.
- unpack alsa-lib and compile. (./configure && make && make install)
- Compile alsa-oss (./configure && make && make install)

Step 3.
- Unpack alsa-driver
- ./configure --with-isapnp=no --with-sequencer=yes --with-oss=yes
- touch include/linux/workqueue.h
- make install
- run the ./snddevices script
- run alsaconf ( here this must be configure your modules.conf )
- run alsamixer ( your channels are muted by default )

Step 4.
-- Check if you have unresolved simbols with depmod -ae. If you get errors repeat step 3.

Step 5
-- run ldconfig

Step 6.
- unpack alsa-utils and compile. (./configure && make && make install)

Step 7.
- Download the xmms sources from http://www.xmms.org
- Unpack the .tar file.
- ** This source have a alsa module source.
- ./configure && make && make install

Step 8
- reboot
- cd /etc/init.d/alsasound start
- startx
- run xmms
- If all was OK. Choice the alsa plugin.

- Enjoy!

NOTE : IF AFTER THIS LITTLE GUIDE IS NOT RESOLVE YOUR PROBLEM YOU MUST TRY THIS TOO.

Step 1
- Get mpg123 sources from http://www.mpg123.de/. You must get the last mpg123 sources (VERY IMPORTANT)
- Unpack the mpg123 sources
- ./configure && make && make install

Step 2
- Get GQMPEG sources from http://gqmpeg.sourceforge.net
- ./configure && make && make install

Step 3
- startx
- If you have KDE ALT-F2 and type gqmpeg
- If all was okey enjoy yours mp3s files.

HISTORY NOTE: THIS PROBLEM TAKE ME 4 DAYS TO RESOLVE.

If you beliave this guide was util please send me a email to leo.nunez@gmail.com

Cheers !

Bye!
 
Old 11-15-2004, 02:18 AM   #4
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:

Step 2.
- unpack alsa-lib and compile. (./configure && make && make install)

Well, this is my problem. ./configure does not finish right for alsa-lib. You have no solution for that.

Hans Petter
 
Old 11-20-2004, 11:11 AM   #5
vbsoftware
LQ Newbie
 
Registered: Jul 2003
Location: chile
Distribution: Redhat Linux 9 custom
Posts: 27

Rep: Reputation: 15
Give more information please. May be you post your ./configure error ?

Cheers from Santiago de Chile !

Bye!
 
Old 11-22-2004, 04:05 AM   #6
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Output from ./configure:

[root@home alsa-lib-1.0.6]# ./configure
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@home alsa-lib-1.0.6]#


So it seems like I need g++, but I have not been able to find it anywhere on the net yet.
 
Old 11-22-2004, 08:00 PM   #7
vbsoftware
LQ Newbie
 
Registered: Jul 2003
Location: chile
Distribution: Redhat Linux 9 custom
Posts: 27

Rep: Reputation: 15
Hello again from me beatiful country! (spanish user)

1.- Have you must installed the development tools ? (gcc, nasm, gtk, glib, perl, etc)

2.- It's your sound card supported by the ALSA Project ?

3.- If you compile another source file give the same error ?

PD: I have installed RedHat Linux 9 in "Workstation mode" and this install all the "development" tools i need. I have the kernel sources installed too.

May be this can help you!

Cheers!

Bye!
 
Old 11-23-2004, 02:52 AM   #8
hanspb
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for your effort, vbsoftware, but I have managed with other help. I needed the package gcc-c++. I got it yesterday and now I'm ok. Just need to find some time to finish.


Bye,
Hans Petter
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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