[icecast] problems building ices-0.2.3

jeff at unsealed.net jeff at unsealed.net
Fri Apr 25 06:44:50 UTC 2003



hello all:

i have icecast2 and ices2 built and working great, streaming ogg like it aint 
no thing...i have a bunch of (legacy) mp3's however, that id like to stream to 
the icecast2 server, which means ices-0.2.3 (i know i could just convert all 
the old mp3s to ogg, but thats not being very nice to people with windows media 
player, for example...). i have an old ices (i think its from a debian package) 
streaming mp3s to icecast-1.3.12, which reencodes the oggs to mp3 before 
streaming them with no hitches, but it doesnt seem to be able to authenticate 
to icecast2 - the logfile show several attempts to connect to a mountpoint on 
the other box before giving up, with each getting rejected like so:

error: Could not login on server. Server message: HTTP/1.0 401 Authentication 
Required

<p>in the icecast2 icecast.xml file there is a <mount> container looking like this:

<mount>
        <mount-name>/test</mount-name>

        <username>source</username>
        <password>hackme</password>

        <max-listeners>5</max-listeners>
</mount>

and in the ices-0.2 conf file:

<Server>
      <!-- Hostname or ip of the icecast server you want to connect to -->
      <Hostname>10.10.10.2</Hostname>
      <!-- Port of the same -->
      <Port>8001</Port> <!-- this is the icecast2 listener -->
      <!-- Encoder password on the icecast server -->
      <password>hackme</password>
      <!-- Header protocol to use when communicating with the server.
           Use xaudiocast for icecast, or icy for shoutcast compatibility -->
      <Protocol>xaudiocast</Protocol>
</Server>

<!-- The name of the mountpoint on the icecast server -->
<Mountpoint>test</Mountpoint> <!-- Also tried this with "/test" to no avail -->

ices2 streams to the same icecast2 server with no problem. basically, id rather 
have only one icecast server running on the server box, if i can get it to 
work. the setup is a debian box on an internal network doing the encoding and 
streaming, and an OpenBSD box in a DMZ facing the world with icecast-1.3.12 and 
icecast2 running on two separate ports (8000 and 8001, respectively): what im 
shooting for is two ices instances on the debian box (ices2 and ices-0.2.3) and 
icecast2 running on the OBSD box.  

the problem (with ices-0.2.3) is in the build (im hoping the authentication 
problem will go away :) .) configure works great, finds 
everything, and then i run make and it bombs in the playlist directory, with a 
bunch of parse errors in a few files. since i know loads of folks have built 
this with no problem, im wondering if ive got something hosed up somewhere 
leading to this problem...

ystem Debian 3.0/unstable
gcc-2.95
cvs builds of libshout, libogg, libvorbis

the build makes it through libshout enters playlist, and then...

Making all in playlist
make[3]: Entering directory `/usr/local/src/ices-0.2.3/src/playlist'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -
DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src -
I../../libshout  -I/usr/include/libxml2/libxml -I/usr/include/libxml2  -g -O2 -
Wall -c playlist.c
In file included from ../../src/definitions.h:107,
                 from playlist.c:22:
../../src/icestypes.h:34: parse error before `shout_conn_t'
../../src/icestypes.h:34: warning: no semicolon at end of struct or union
../../src/icestypes.h:60: parse error before `}'
../../src/icestypes.h:60: warning: type defaults to `int' in declaration of 
`ices_stream_t'
../../src/icestypes.h:60: warning: data definition has no type or storage class
../../src/icestypes.h:83: parse error before `ices_stream_t'
../../src/icestypes.h:83: warning: no semicolon at end of struct or union
../../src/icestypes.h:85: parse error before `}'
../../src/icestypes.h:85: warning: type defaults to `int' in declaration of 
`ices_config_t'
../../src/icestypes.h:85: warning: data definition has no type or storage class
In file included from ../../src/definitions.h:109,
                 from playlist.c:22:
../../src/setup.h:26: parse error before `*'
In file included from ../../src/definitions.h:117,
                 from playlist.c:22:
../../src/reencode.h:27: parse error before `*'
../../src/reencode.h:29: parse error before `*'
In file included from ../../src/definitions.h:118,
                 from playlist.c:22:
../../src/ices_config.h:22: parse error before `*'
playlist.c:25: parse error before `ices_config'
playlist.c:25: warning: type defaults to `int' in declaration of `ices_config'
playlist.c:25: warning: data definition has no type or storage class
playlist.c: In function `ices_playlist_get_current_lineno':
playlist.c:36: request for member `pm' in something not a structure or union
playlist.c:37: request for member `pm' in something not a structure or union
playlist.c: In function `ices_playlist_get_next':
playlist.c:48: request for member `pm' in something not a structure or union
playlist.c:49: warning: control reaches end of non-void function
playlist.c: In function `ices_playlist_get_metadata':
playlist.c:56: request for member `pm' in something not a structure or union
playlist.c:57: request for member `pm' in something not a structure or union
playlist.c: In function `ices_playlist_initialize':
playlist.c:70: request for member `pm' in something not a structure or union
playlist.c:72: request for member `pm' in something not a structure or union
playlist.c:74: request for member `pm' in something not a structure or union
playlist.c:74: warning: unreachable code at beginning of switch statement
playlist.c: In function `ices_playlist_reload':
playlist.c:108: request for member `pm' in something not a structure or union
playlist.c:109: request for member `pm' in something not a structure or union
playlist.c: In function `ices_playlist_shutdown':
playlist.c:119: request for member `pm' in something not a structure or union
make[3]: *** [playlist.o] Error 1
make[3]: Leaving directory `/usr/local/src/ices-0.2.3/src/playlist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/ices-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ices-0.2.3'
make: *** [all-recursive-am] Error 2

the stuff in the headers looks fine to me, and ive run it with a brand new 
tarball. any ideas??

thanks in advance.

jeff
--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list