Subject: Re: ices or muse for icecast, are any working under BSD?
To: None <netbsd-users@NetBSD.org>
From: Erik Osheim <erik@plastic-idolatry.com>
List: netbsd-users
Date: 02/02/2004 01:16:57
On Feb 1, 2004, at 4:27 AM, Christian Biere wrote:
> I've successfully compiled it after fixing one or two lines. There
> are a couple of warnings to fix and it segfaulted with a list of
> MP3s but the playlist with OGGs seems to work. I don't have any
> shoutcast server (installed) so all I can say is that it sends a
> GET and a SOURCE request. So if it ain't pure distillied crap it
> can't be that far from working.
>
> -- 
> Christian

I would very much like to compile ices 0.3, but have had no luck so far 
(I just tried again after some of you reported success). I get through 
configure without problems: it finds support for xml, python, perl, 
lame and vorbis. The config.log file is at 
(http://www.bearhome.net/erik/ices_config.log).

However, make reports some errors relating to Python.h (probably not a 
big deal), and then fails on a parse error (?) in pth.h (which gets 
included from python2.3-pth, which I am using). Here it is:

make  all-recursive
Making all in src
Making all in playlist
source='pm_python.c' object='pm_python.o' libtool=no  
depfile='.deps/pm_python.Po' tmpdepfile='.deps/pm_python.TPo'  
depmode=gcc /bin/bash ../../depcomp  gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -DICES_MODULEDIR=\"/usr/local/etc/modules\" -I../../src   
-I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include 
-I/usr/pkg/include/python2p3  -fno-strict-aliasing -I/usr/pkg/include  
-I/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE  -g -O2 -Wall 
-I/usr/pkg/include -c `test -f 'pm_python.c' || echo './'`pm_python.c
In file included from /usr/pkg/include/python2p3/Python.h:8,
                  from pm_python.c:26:
/usr/pkg/include/python2p3/pyconfig.h:828: warning: `_GNU_SOURCE' 
redefined
../../src/definitions.h:49: warning: this is the location of the 
previous definition
In file included from /usr/pkg/include/python2p3/Python.h:48,
                  from pm_python.c:26:
/usr/pkg/include/python2p3/pyport.h:370: warning: `struct winsize' 
declared inside parameter list
/usr/pkg/include/python2p3/pyport.h:370: warning: its scope is only 
this definition or declaration, which is probably not what you want.
/usr/pkg/include/python2p3/pyport.h:371: warning: `struct winsize' 
declared inside parameter list
In file included from /usr/pkg/include/python2p3/Python.h:145,
                  from pm_python.c:26:
/usr/pkg/include/pth.h:512: parse error before `fd_set'
/usr/pkg/include/pth.h:533: parse error before `fd_set'
/usr/pkg/include/pth.h:534: parse error before `fd_set'
pm_python.c: In function `python_setup_path':
pm_python.c:227: warning: implicit declaration of function `putenv'
*** Error code 1

Stop.
make: stopped in /usr/local/src/ices-0.3/src/playlist
*** Error code 1

Stop.
make: stopped in /usr/local/src/ices-0.3/src
*** Error code 1

Stop.
make: stopped in /usr/local/src/ices-0.3
*** Error code 1

Stop.
make: stopped in /usr/local/src/ices-0.3

Are any of you folks who are able to get ices 0.3 working compiling it 
with python support, and if so, are any of you using python2p3. Also, 
if anyone has any ideas of how to fix this problem (I don't know a lot 
about how pth works), please let me know.

Thanks,

-- Erik Osheim