Log in

Bekijk de volledige versie : shoutcast output for mpd



blubberblah666
25-07-2007, 21:05
hi all!

if i try to enable a shoutcast audio_output i get the following error


couldn't find audio output plugin for type "shout" at line 14

as far i could see the problem is, that mpd isn't compiled with shoutcast support. it only lists oss and ao modules


mpd (MPD: Music Player Daemon) 0.13.0

Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported formats:
mp3 mp2 ogg ogg flac wav au aiff aif m4a mp4 mpc

Supported outputs:
ao oss

does anybody know how to enable shout support?

many thanx in advance,
greetings

blubberblah666
07-08-2007, 22:51
ok, as i understand the problem, mpd has to be compiled with shout support.
what i'm trying currently is to do this via native compilation explained here:

http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild

in my first attempt i only wanted to compile mpd 'as is' without tweaking it further for shout support.
sadly i'm running into trouble even here, getting the following error after issuing 'make mpd':


echo timestamp > modules.lo
/opt/bin/bash ../libtool --mode=link /opt/bin/gcc -DNDEBUG -g -O2 -L/opt/lib -L/tmp/data/optware/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/tmp/data/optware/staging/opt/lib -o libaudiofile.la -rpath /opt/lib -version-info 0:2:0 -no-undefined -export-symbols audiofile.exports openclose.lo setup.lo format.lo data.lo pcm.lo error.lo byteorder.lo af_vfs.lo util.lo debug.lo aupv.lo units.lo compression.lo aes.lo instrument.lo loop.lo marker.lo misc.lo track.lo query.lo raw.lo aiff.lo aiffwrite.lo extended.lo next.lo nextwrite.lo wave.lo wavewrite.lo ircam.lo ircamwrite.lo avr.lo avrwrite.lo iff.lo iffwrite.lo nist.lo nistwrite.lo g711.lo modules.lo modules/libmodules.la -lm
mkdir .libs
libtool: link: `modules/libmodules.la' is not a valid libtool archive
make[5]: *** [libaudiofile.la] Error 1
make[5]: Leaving directory `/tmp/data/optware/builds/audiofile/libaudiofile'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/data/optware/builds/audiofile/libaudiofile'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/data/optware/builds/audiofile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/data/optware/builds/audiofile'
make[1]: *** [/tmp/data/optware/builds/audiofile/.built] Error 2
make[1]: Leaving directory `/tmp/data/optware'
make: *** [/tmp/data/optware/builds/mpd/.configured] Error 2
[admin@(none) optware]$

there is a libmodules.la file but i dunno what is wrong with it:


# libmodules.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2a (1.922.2.79 2001/11/28 21:50:31)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

# The name of the static archive.
old_library='libmodules.a'

# Libraries that this one depends upon.
dependency_libs=' -L/opt/lib -L/tmp/data/optware/staging/opt/lib -lm'

# Version information for libmodules.
current=
age=
revision=

# Is this an already installed library?
installed=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir=''


maybe any of you guys can give me some advise how to continue on.
i'm quite helpless because my knowledge in compilation equals nearly to zero :(

many thnx in advace,
regards