[icecast] Problems with Ices0.3

Joe Jones
Fri, 06 Aug 2004 14:23:46 -0000

With perl 5.8.3, 'configure' is fine but 'make' dies giving

-------------------------------------
/usr/lib/libc_r.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc_r.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc_r.so: warning: mktemp() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc_r.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc_r.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc_r.so: warning: tmpnam() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc_r.so: warning: this program uses f_prealloc(), which is not
recommended.
/usr/lib/libc_r.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc_r.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
playlist/libplaylist.a(pm_perl.o): In function `pl_perl_eval':
/usr/home/herbal/ices-0.3/src/playlist/pm_perl.c(.text+0x3d3): undefined
reference to `Perl_call_pv'
/usr/home/herbal/ices-0.3/src/playlist/pm_perl.c(.text+0x4a5): undefined
reference to `Perl_sv_2pv_flags'
/usr/home/herbal/ices-0.3/src/playlist/pm_perl.c(.text+0x4e8): undefined
reference to `Perl_sv_2pv_flags'
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
In function `SaveError':
DynaLoader.o(.text+0x60): undefined reference to `Perl_vmess'
DynaLoader.o(.text+0x8b): undefined reference to `Perl_sv_2pv_flags'
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
In function `XS_DynaLoader_dl_load_file':
DynaLoader.o(.text+0x128): undefined reference to `Perl_sv_2pv_nolen'
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
In function `XS_DynaLoader_dl_find_symbol':
DynaLoader.o(.text+0x38d): undefined reference to `Perl_sv_2pv_nolen'
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
In function `XS_DynaLoader_dl_install_xsub':
DynaLoader.o(.text+0x4b8): undefined reference to `Perl_sv_2pv_nolen'
DynaLoader.o(.text+0x521): undefined reference to `Perl_sv_2pv_nolen'
/usr/local/lib/perl5/5.8.3/i386-freebsd/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
In function `boot_DynaLoader':
DynaLoader.o(.text+0x68d): undefined reference to `Perl_sv_2pv_flags'
DynaLoader.o(.text+0x6d2): undefined reference to `Perl_get_sv'
DynaLoader.o(.text+0x70e): undefined reference to `Perl_get_sv'
DynaLoader.o(.text+0x747): undefined reference to `Perl_sv_2pv_flags'
*** Error code 1

Stop in /usr/home/herbal/ices-0.3/src.
*** Error code 1

Stop in /usr/home/herbal/ices-0.3/src.
*** Error code 1

Stop in /usr/home/herbal/ices-0.3.
*** Error code 1

Stop in /usr/home/herbal/ices-0.3.
-----------------------------------

Using perl 5.005_03 instead 'configure' runs
with these problems....

----------------------------------
checking lame/lame.h usability... yes
checking lame/lame.h presence... no
configure: WARNING: lame/lame.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: lame/lame.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for lame/lame.h... no
checking lame.h usability... no
checking lame.h presence... no
checking for lame.h... no
Could not find a valid LAME library, reencoding disabled
Vorbis is disabled because LAME is not enabled
.
.
.
Features:
  XML        : yes
  Python    : no
  Perl         : yes
  LAME      : no
  Vorbis     : no

------------------------------------

It will 'make' and 'make install' fine, but when I run the ices
program I
get a "[Bad Password] [encoder]" message in the icecast1.3 running
status...

-------------------------------------
-> [12/Mar/2004:15:18:26] Kicking unknown 10 [10.0.0.3] [Failed to execute
admin command], connected for 0 seconds
-> [12/Mar/2004:15:18:26] Kicking source 9 [10.0.0.3] [Bad Password]
[encoder], connected for 0 seconds, 0 bytes transfered. -1 sources connected
-> [12/Mar/2004:15:18:26] Kicking all 0 clients for source 9
-------------------------------------

...where Ices0.3 produces

------------------------------------
./ices -c /local/ices0.3/conf/ices.conf
Logfile opened
DEBUG: Sending following information to libshout:
DEBUG: Stream: 0
DEBUG: Host: 10.0.0.3:8001 (protocol: http)
DEBUG: Mount: /stream, Password: WhateverEncode
DEBUG: Name: Default stream     URL: http://localhost/
DEBUG: Genre: Default genre     Desc: Default description
DEBUG: Bitrate: 56      Public: 0
DEBUG: Dump file: (null)
DEBUG: Initializing playlist handler...
DEBUG: Initializing builting playlist handler...
DEBUG: Builtin playlist handler serving:
/local/apache/htdocs/assassinatorr.mp3
DEBUG: Filename cleaned up from [/local/apache/htdocs/assassinatorr.mp3] to
[assassinatorr]
DEBUG: Trimmed file to 3716075 bytes
DEBUG: MPEG-1 layer III, 128 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0   Mode_Ext: 2     Copyright: 1    Original: 1
DEBUG: Error Protection: 0      Emphasis: 0     Padding: 0
Playing /local/apache/htdocs/assassinatorr.mp3
DEBUG: Updated metadata on stream to: assassinatorr
Segmentation fault (core dumped)
-------------------------------------

Icecast 1.3 was compiled and built without any password encryption but
I
even accounted for this by using a crypted password in the Icecast config
file just in case to no avail.

Why so much problems?

I'd be glad to just get anything running right now as I want to use
this for
a University project I'm working on but ideally I'd want it to compile
and
work using perl 5.8 with the support for LAME re-encoding and Vorbis
support.

Thanks for any help.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger

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