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
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@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast
Jeremy Bierbach wrote: Hi Jeremy> It seems likely to me that you still have libshout 1.x installed.No, it's not that. # rpm -q libshout libshout-2.0-1.dag # rpm -q libshout-devel libshout-devel-2.0-1.dag It's the half-hard-coded shout/shout.h path in the source. Since libshout is installed by rpm in /usr/include, the path will never match. Even if "/usr/include/" would be prepended to the path, it would still result in /usr/include/shout/shout.h, which doesn't exist. Now, what I don't know is whether things would work out any better if the rpm put the header files in /usr/include/shout instead of in /usr/include. If so, then perhaps the libshout rpm should be adjusted. I'll try modifying the rpm, see what happens, and report tomorrow. Z