[darkice] Re: AW: Error Compiling under openSuse 11.2

  • From: dev2 - webfejlesztés <info@xxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Sat, 18 Dec 2010 08:39:56 +0100

Dear Phil,

use --prefix=/usr and not /usr/local on suse. always.

zoltan



2010.12.18. 8:08 keltezéssel, Niels Dettenbach írta:
Dear Phil,

(sorry for tofu here - i'm just on a stupid phone mail client)

it hardly seems that you did use wrong prefixes with darkice configure i.e. because of 
misunderstanding the meaning of "prefix".

I'm not very familiar with the topology of current openSuSe distris and i'm 
just on a phone (must do it from mind...), but i assume you have to :

        --with-alsa-prefix=/usr
if your alsa-lib is i.e. under /usr/lib/alsa-lib

OR
        --with-alsa-prefix=/usr/local

If it is under /usr/local/lib/alsa-lib or something like that

instead of the full path to the alsa libs on your system.

If your distri assumes that you install your own stuff under /usr/local (i.e. 
to avoid collisions with your package management) you have to add:
        --prefix /usr/local

too.


This means i.e. your darkice prog goes under /usr/local/bin and libs goes under 
/usr/local/lib etc. .

Good luck.

hth.

Best regards,

Niels.
---
Niels Dettenbach
http://www.syndicat.com

-- Urspr. Mitt. --
Betreff: [darkice] Error Compiling under openSuse 11.2
Von: Phil<w2lie@xxxxxxxxx>
Datum: 18.12.2010 07:11

I'm still trying to figure my way around Linux, so you'll have to excuse me if 
I state something obvious...

I'm trying to compile Darkice under opensue 11.2.   I'm using the darkice tar  
for v.1

When I try and compile Darkice, it isn't finding my alsa drivers.  I'm 
compiling under 'su'.

I've tried to find alsa, and here are the results:

find / -name alsa*
/usr/src/linux-2.6.31.12-0.2-obj/i386/desktop/include/config/video/em28xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/desktop/include/config/video/saa7134/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/desktop/include/config/video/cx231xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/desktop/include/config/video/cx88/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/default/include/config/video/em28xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/default/include/config/video/saa7134/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/default/include/config/video/cx231xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/default/include/config/video/cx88/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/debug/include/config/video/em28xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/debug/include/config/video/saa7134/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/debug/include/config/video/cx231xx/alsa.h
/usr/src/linux-2.6.31.12-0.2-obj/i386/debug/include/config/video/cx88/alsa.h
/usr/src/linux-2.6.31.12-0.2/Documentation/DocBook/alsa-driver-api.tmpl
/usr/src/linux-2.6.31.12-0.2/Documentation/sound/alsa
/usr/src/linux-2.6.31.12-0.2/sound/aoa/core/alsa.c
/usr/src/linux-2.6.31.12-0.2/sound/aoa/core/alsa.h
/usr/sbin/alsa-info.sh
/usr/sbin/alsaconf
/usr/sbin/alsa-init
/usr/sbin/alsactl
/usr/share/locale/ja/LC_MESSAGES/alsa-utils.mo
/usr/share/locale/ja/LC_MESSAGES/alsaconf.mo
/usr/share/locale/ru/LC_MESSAGES/alsaconf.mo
/usr/share/locale/de/LC_MESSAGES/alsa-utils.mo
/usr/share/doc/packages/alsa-oss
/usr/share/doc/packages/alsa
/usr/share/doc/packages/alsa/alsa-lib
/usr/share/doc/packages/alsa-utils
/usr/share/doc/packages/alsa-plugins
/usr/share/man/fr/man8/alsaconf.8.gz
/usr/share/man/man7/alsactl_init.7.gz
/usr/share/man/man8/alsaconf.8.gz
/usr/share/man/man1/alsamixer.1.gz
/usr/share/man/man1/alsactl.1.gz
/usr/share/alsa
/usr/share/alsa/alsa.conf
/usr/share/sounds/alsa
/usr/share/susehelp/meta/Development/Libraries/alsa-docs.desktop
/usr/share/YaST2/data/alsa_packages.ycp
/usr/share/vim/vim72/ftplugin/alsaconf.vim
/usr/share/vim/vim72/syntax/alsaconf.vim
/usr/lib/scpm/resource_groups/alsasound
/usr/lib/alsa-lib
/usr/bin/alsamixer
find: `/home/Phil/.gvfs': Permission denied
/etc/init.d/alsasound
linux-zitz:/home/Phil/darkice/darkice-1.0 #

When I configure, i'm using the following string:

./configure --with-lame-prefix=/usr/local/lib --with-alsa-prefix=/usr/share/alsa
and i tried
./configure --with-lame-prefix=/usr/local/lib 
--with-alsa-prefix=/usr/lib/alsa-lib

Which results in:
checking for lame library at /usr/local/lib ... found at /usr/local/lib
checking for vorbis libraries at /usr ... configure: WARNING: not found, 
building without Ogg Vorbis
checking for faac library at /usr ... configure: WARNING: not found, building 
without faac
checking for aacplus library at /usr ... configure: WARNING: not found, 
building without aacplus
checking for twolame library at /usr ... configure: WARNING: not found, 
building without twolame
checking for alsa libraries at /usr/share/alsa ... configure: WARNING: not 
found, building without ALSA support
checking for jack libraries at /usr ... configure: WARNING: not found, building 
without JACK support
checking for samplerate libraries at /usr ... configure: WARNING: not found, 
building libsamplerate support

Can someone please help me compile with ALSA, or its it just easier to compile 
and run Jack?
I'm running under KDE and Kmix is using the ALSA drivers - so I'm assuming they 
are SOMEWHERE on my pc.

Thanks for the help.   I'll be streaming to an existing Icecast configuration 
using Lame MP3.

Phil



Other related posts: