[Icecast] ices-2.0.0 compile problems

Zenon Panoussis oracle at provocation.net
Thu Nov 18 02:45:09 UTC 2004

Karl Heyes wrote:

>> 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.

> certain directories are searched for include files, /usr/include is the
> default include location.  libshout places its header in shout/shout.h
> so if the rpm is placing it incorrectly then the question is where did
> the rpm come from?

It came from http://dag.wieers.com/packages/libshout/ . I checked what's
happening there and it's not the rpm's fault. It produces

   ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu \
   --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr \
   --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc \
   --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib \
   --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com \
   --mandir=/usr/share/man --infodir=/usr/share/info

and that in turn puts shout.h in /usr/include/ and not in /usr/include/shout/ .
The problem is somewhere in the way libshout understands "--includedir=/usr/include"
I haven't managed to figure that.


More information about the Icecast mailing list