[icecast] Icecast drop in replacement for shoutcast

Travis Pinney tpinney at trinity.edu
Fri Apr 18 22:05:10 UTC 2003



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.

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'
In file included from sock.c:40:
/usr/include/arpa/inet.h:89: syntax error before `inet_nsap_addr'
/usr/include/arpa/inet.h:89: syntax error before `u_char'
/usr/include/arpa/inet.h:89: warning: data definition has no type or 
storage class
/usr/include/arpa/inet.h:90: syntax error before `*'
sock.c: In function `sock_connected':
sock.c:389: syntax error before `wfds'
sock.c:397: `wfds' undeclared (first use in this function)
sock.c:397: (Each undeclared identifier is reported only once
sock.c:397: for each function it appears in.)
*** Error code 1

Stop in /home/booyeah/icecast-2.0-alpha-2/src/net (line 223 of Makefile).
*** Error code 1

Stop in /home/booyeah/icecast-2.0-alpha-2/src (line 314 of Makefile).
*** Error code 1

Stop in /home/booyeah/icecast-2.0-alpha-2 (line 189 of Makefile).
-bash-2.05b$

<p>Karl Heyes wrote:

>On Fri, 2003-04-18 at 20:01, Travis Pinney wrote:
>  
>
>>I tried the icecast-2.0-alpha-2-20030416.tar.gz file. I am using OpenBSD 
>>3.2 and it configured ok but it had a problem linking libxslt. I have it 
>>installed
>>from the ports. Not sure what it is but I am going to check it out.
>>
>>Here is the last part of the log.
>>
>>checking for xsltParseStylesheetFile... no
>>configure: error: There was a problem linking with libxslt
>>    
>>
>
>most likely that the library isn't installed correctly, the config.log
>will give more info.
>
>karl.
>
>
>
>--- >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.
>
>  
>

<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