Ben Wilson
2004-Aug-06 14:22 UTC
[icecast] Two Things: Python 2.1 & ices 0.2.2 / Multiple Streams
First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to add -lutil to the $LIBS definition whilst ./configure'ing. Otherwise, configure won't find Py_Initialize Secondly - multiple streams I've added a second "stream" definition to my ices.conf, and both streams show up as sources for icecast, (http://blah.com:8000/list.cgi), though when i try to connect to either of them using their mountpoint names (in my case /hi and /lo) i always am connected to the stream first mentioned in the conf file. Odd. (see my stream definitions down at the obttom) This is my first post on this mailing list, and I'd just like to throw out mad, mad props to the whole icecast team. .oOo.oOo.o..o.oOo.oOo. Ben Wilson admin -- thelocust.org ben@thelocust.org 'OoO'OoO'O''O'OoO'OoO' <?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <File>/MP3/playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> </Playlist> <Execution> <Background>1</Background> <Verbose>0</Verbose> <BaseDirectory>/tmp</BaseDirectory> </Execution> <Stream> <Server> <Hostname>localhost</Hostname> <Port>8000</Port> <Password>xxx</Password> <Protocol>xaudiocast</Protocol> </Server> <Mountpoint>lo</Mountpoint> <Name>thelocust[dot]org publico</Name> <Genre>all my CDs - punk,jazz,classical,rawk</Genre> <Description>check out thelocust.org</Description> <URL><A HREF="http://thelocust.org</URL">http://thelocust.org</URL</A>> <Public>1</Public> <Bitrate>32</Bitrate> <Reencode>1</Reencode> <Channels>1</Channels> </Stream> <Stream> <Server> <Hostname>localhost</Hostname> <Port>8000</Port> <Password>xxx</Password> <Protocol>xaudiocast</Protocol> </Server> <Mountpoint>hi</Mountpoint> <Name>thelocust[dot]org hi-octane</Name> <Genre>all my CDs - punk,jazz,classical,rawk</Genre> <Description>check out thelocust.org</Description> <URL><A HREF="http://thelocust.org</URL">http://thelocust.org</URL</A>> <Public>0</Public> <Bitrate>128</Bitrate> <Reencode>0</Reencode> <Channels>2</Channels> </Stream> </ices:Configuration> --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
ben wilson
2004-Aug-06 14:22 UTC
[icecast] ices 0.2.2 compile problems Py_Initialize and cannot find -lz
Hey Harvey -- all you need to do is to add -lutil to the $LIBS list around line 3968 of "configure" LIBS="-l$lib -lm -ldl $LIBS" becomes LIBS="-l$lib -lm -ldl -lutil $LIBS" hould solve yer problems. also, around line 3957, in the 'for lib in python python2.0 python1.6, etc, you may want to add python2.1 (if you have 2.1 installed, else it may have trouble finding the python libraries) On 09 Sep 2001 16:06:06 -0400, harvey smith wrote:> Hi > > I'm having this same problem 'configure won't find Py_Initialize' I > was hoping somebody could enlighten me as to exactly what I have to > add to which file and when, while I'm configure'ing. > > On Tue, 4 Sep 2001, Ben Wilson wrote: > > > > > First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to > > add -lutil to the $LIBS definition whilst ./configure'ing. Otherwise, > > configure won't find Py_Initialize > > Also in the make process it exits with this error: > > gcc -g -O2 -Wall -o ices ices.o log.o setup.o stream.o util.o mp3.o cue.o metadata.o id3.o signals.o reencode.o ices_config.o playlist/libplaylist.a ../resolver/libresolver.a ../thread/libicethread.a ../avl/libiceavl.a ../log/libicelog.a -lpthread -lshout -lmp3lame -L/usr/lib -lxml2 -lz -L/lib -lm -lm > /usr/bin/ld: cannot find -lz > collect2: ld returned 1 exit status > make[3]: *** [ices] Error 1 > > I recently rebuilt my system (RedHat 6.2 with kernel 2.2.19) and > probably didn't re-install some needed rpm package, any clues as to > what it is I have to do? > > Thanks For all you help and the great software! > > Harvey > > > > --- >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@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.-- .o0-x-x-x-x-x-x-0o. ben wilson ben@thelocust.org Xx...............xX That, as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. --benjamin franklin, Autobiography, Ch. 10 --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
harvey smith
2004-Aug-06 14:22 UTC
[icecast] ices 0.2.2 compile problems Py_Initialize and cannot find -lz
Hi I'm having this same problem 'configure won't find Py_Initialize' I was hoping somebody could enlighten me as to exactly what I have to add to which file and when, while I'm configure'ing. On Tue, 4 Sep 2001, Ben Wilson wrote:> > First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to > add -lutil to the $LIBS definition whilst ./configure'ing. Otherwise, > configure won't find Py_InitializeAlso in the make process it exits with this error: gcc -g -O2 -Wall -o ices ices.o log.o setup.o stream.o util.o mp3.o cue.o metadata.o id3.o signals.o reencode.o ices_config.o playlist/libplaylist.a ../resolver/libresolver.a ../thread/libicethread.a ../avl/libiceavl.a ../log/libicelog.a -lpthread -lshout -lmp3lame -L/usr/lib -lxml2 -lz -L/lib -lm -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[3]: *** [ices] Error 1 I recently rebuilt my system (RedHat 6.2 with kernel 2.2.19) and probably didn't re-install some needed rpm package, any clues as to what it is I have to do? Thanks For all you help and the great software! Harvey --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Apparently Analagous Threads
- ices 0.2.2 compile problems Py_Initialize and cannot find -lz
- Two Things: Python 2.1 & ices 0.2.2 / Multiple Streams
- IceS: compile problem with Python
- IceS: compile problem with Python
- OpenSSH-3.0p1-pre-CVS: configure.ac checks for login in -lutil and -lbsd?