Subject: icecast on NetBSD-cobalt?
To: None <port-cobalt@NetBSD.org>
From: Brian <bmcewen@comcast.net>
List: port-cobalt
Date: 01/29/2004 22:37:01
Anyone get icecast2 running properly?

I should say, icecast2 compiled and runs fine (I guess), but I can't 
get ices to compile.

I've tried both ices 0.3 (for sending mp3's to icecast) and ices2 (for 
ogg).

Ices 0.3 would be my preferred install, but it breaks at "make" with an 
undefined reference:
-------
gcc -g -O2 -Wall -I/usr/pkg/include -o ices ices.o log.o setup.o 
stream.o util.o mp3.o cue.o metadata.o id3.o signals.o ices_config.o 
-Wl,-E -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/pkg/lib/perl5/5.6.1/mipsel-netbsd/CORE -Wl,-R/usr/pkg/lib  
playlist/libplaylist.a -L/usr/pkg/lib /usr/pkg/lib/libshout.so -lm 
/usr/pkg/lib/libvorbis.so -lm /usr/pkg/lib/libogg.so 
/usr/pkg/lib/libpthread.so /usr/pkg/lib/libxml2.so -liconv -lm -lz -lm 
/usr/pkg/lib/perl5/5.6.1/mipsel-netbsd/auto/DynaLoader/DynaLoader.a 
-L/usr/pkg/lib/perl5/5.6.1/mipsel-netbsd/CORE -lperl -lm -lcrypt 
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib
util.o: In function `ices_util_is_regular_file':
/tmp/download/ices-0.3/src/util.c:196: undefined reference to `S_ISLNK'
*** Error code 1

Stop.
--------

And ices2.0, no matter what I have tried to help it find the right 
libraries, keeps telling me I don't have Ogg Vorbis 1.0 installed; even 
though I've used pkgsrc to install libogg, libvorbis, ogg-tools, and 
vorbis-tools, all of which are 1.1.  (1.1 should work).  Everything 
listed as needed for ices, is compiled and present.

either

./configure

or

./configure --with-ogg=/usr/pkg/lib/ --with-vorbis=/usr/pkg/lib/
--------
checking for pkg-config... /usr/pkg/bin/pkg-config
checking shout/shout.h usability... yes
checking shout/shout.h presence... yes
checking for shout/shout.h... yes
checking for shout_new... yes
checking for ogg_sync_init in libogg... configure: error: must have Ogg 
Vorbis v1.0 installed!
Qube:/tmp/download/ices-2.0-Beta4#
--------

config.log shows

----------
configure:20427: checking for ogg_sync_init in libogg
configure:20459: gcc -o conftest -g -O2 -I/usr/local/include   
-L/usr/local/lib conftest.c  -logg >&5
ld: cannot find -logg
configure:20462: $? = 1
configure: failed program was:
| #line 20435 "configure"
| /* confdefs.h.  */
|
-----------

Doing a locate for "ogg" or "vorbis" turns up many libraries in 
/usr/pkg/lib/  but I indeed don't see a "logg" anywhere, or a place to 
get one.

Of the two errors, I'd most like to fix the one with ices 0.3.  I 
really don't want to use ogg format files; I've sworn never to rip into 
my CD collection again, once was enough.

Thanks for any advice!

Brian