[Icecast] ices-2.0.0 compile problems
Jeremy Bierbach
jeremy at groeneheks.nl
Thu Nov 18 00:25:32 UTC 2004
Hi Zenon,
It seems likely to me that you still have libshout 1.x installed. Try
stripping all remnants of libshout out from /usr/(local/)include and
/usr/(local/)lib and then (re)install libshout 2.0, downloadable from
http://downloads.us.xiph.org/releases/libshout/libshout-2.0.tar.gz
(NB: this in turn requires libogg and libvorbis.)
-- J.
Zenon Panoussis wrote:
>
> Hi
>
> Running ./configure --prefix=/whatever I got stuck with
>
> checking for pkg-config... /usr/bin/pkg-config
> checking shout/shout.h usability... no
> checking shout/shout.h presence... no
> checking for shout/shout.h... no
> configure: error: must have libshout installed!
>
> Having edited configure line 20056 and changed shout/shout.h to
> /usr/include/shout.h , I run into the next problem:
>
> checking for pkg-config... /usr/bin/pkg-config
> checking /usr/include/shout.h usability... yes
> checking /usr/include/shout.h presence... yes
> checking for /usr/include/shout.h... yes
> checking for shout_new... yes
> configure: error: This libshout isn't threadsafe
>
> Having fixed that too by editing configure line 20279 the same
> way, configure completed successfully but make broke with
>
> In file included from cfgparse.h:17,
> from input.c:31:
> stream.h:18:25: shout/shout.h: No such file or directory
>
> Getting rather desperate I run
>
> #!/bin/bash
> for i in `find ./ -type f`
> do
> x=0
> if [ -x "$i" ]
> then
> x=1
> fi
> sed 's/shout\/shout.h/\/usr\/include\/shout.h/g' $i >$i.tmp
> mv -f $i.tmp $i
> if [ "$x" = 1 ]
> then
> chmod +x $i
> fi
> done
>
> in the ices source directory. That fixed the problem altogether
> and ices compiled and installed correctly.
>
> Question: am I doing something wrong or are the configuration files
> too inflexible? I did try export CPPFLAGS=-I/usr/include before this
> ordeal and it didn't help at all.
>
> Z
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
More information about the Icecast
mailing list