[icecast] Icecast drop in replacement for shoutcast
Karl Heyes
karl at pts.tele2.co.uk
Sat Apr 19 01:39:48 UTC 2003
On Fri, 2003-04-18 at 23:05, Travis Pinney wrote:
> Thanks for the info. I checked the config.log and I got this information.
>
> configure:9311: checking for xsltParseStylesheetFile
> configure:9361: gcc -o conftest -O20 -fsigned-char -D_REENTRANT
> -I/usr/local/inc
> lude -I/usr/local/include/libxml conftest.c -lpthread
> -L/usr/local/lib -lxsl
> t -lxml2 -lz -liconv -lm >&5
> ld: -lpthread: no match
> collect2: ld returned 1 exit status
>
> It seems like this has to do with how openbsd works with threads. I went
> in and change the -lpthread to just -pthread and it was able to compile.
> I am not
> sure if this is a fix or not.
hmmm, it seems like the pthread check failed in your case, send the
config.log to me to look at it. The -pthread flag should be getting
used.
> With openbsd I had to run configure like this
>
> ./configure --prefix=/usr/local --with-ogg-prefix=/usr/local
> --with-vorbis-prefix=/usr/local
>
> When I went to make I got this problem
>
> --SNIP-----
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"icecast\"
> -DVERSION=\"2.0-alpha-2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D_XOPEN_SOURCE=500 -DHAVE_IPV6=1
> -DSTDC_HEADERS=1 -DCHUID=1 -DCHROOT=1 -DHAVE_SYS_UIO_H=1
> -DHAVE_NANOSLEEP=1 -DHAVE_POLL=1 -DHAVE_SETHOSTENT=1 -DHAVE_ENDHOSTENT=1
> -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_INET_PTON=1
> -DHAVE_CURL=1 -DHAVE_PTHREAD=1 -I. -I. -I./.. -O20 -fsigned-char
> -D_REENTRANT -c sock.c -Wp,-MD,.deps/libicenet_la-sock.TPlo -fPIC -DPIC
> -o .libs/libicenet_la-sock.lo
> In file included from sock.c:37:
> /usr/include/sys/socket.h:166: syntax error before `u_char'
> /usr/include/sys/socket.h:168: syntax error before `u_char'
> /usr/include/sys/socket.h:176: syntax error before `u_short'
> /usr/include/sys/socket.h:320: syntax error before `u_int'
> /usr/include/sys/socket.h:391: syntax error before `u_short'
yeah, I've seen this before, OBSD has some broken headers, but it works
if you miss out the -D_XOPEN_SOURCE=500. It's something specific to
OBSD. I'll send a configure privately for you to try out.
karl.
<p><p><p><p>--- >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