[Icecast] getting stuck with OSX install
Sam Welbourne
sam at palava-arts.com
Tue Aug 7 22:31:08 UTC 2007
Hi - help please.
I got the email address by rooting around in
icecast-2.2.0:doc:
I'm installing onto MacBookPro and have followed instructions from :
http://www.geektimes.com/macintosh/os/x/10_3/and/icecast_install.html
I get stuck after at the make command ending
make: *** [all] Error 2
I have no idea where to go from here but the log says:
error: 'struct _fserve_t' has no member named 'callback'
I'll paste in the full make at the bottom.
any help much appreciated
Regards,
Sam Welbourne
samsmacbook:~/icecast-2.2.0 sam$ make
make all-recursive
Making all in src
Making all in avl
make[3]: Nothing to be done for `all'.
Making all in thread
make[3]: Nothing to be done for `all'.
Making all in httpp
make[3]: Nothing to be done for `all'.
Making all in net
make[3]: Nothing to be done for `all'.
Making all in log
make[3]: Nothing to be done for `all'.
Making all in timing
make[3]: Nothing to be done for `all'.
source='fserve.c' object='fserve.o' libtool=no \
depfile='.deps/fserve.Po' tmpdepfile='.deps/fserve.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/
usr/include/libxml2 -I/usr/local/include -g -O2 -c `test -f
'fserve.c' || echo './'`fserve.c
fserve.c: In function 'fserv_thread_function':
fserve.c:275: warning: implicit declaration of function
'format_generic_write_to_client'
fserve.c: In function 'fserve_content_type':
fserve.c:316: warning: passing argument 1 of 'util_get_extension'
discards qualifiers from pointer target type
fserve.c: In function 'fserve_client_destroy':
fserve.c:355: error: 'struct _fserve_t' has no member named 'callback'
fserve.c:356: error: 'struct _fserve_t' has no member named 'callback'
fserve.c:356: error: 'struct _fserve_t' has no member named 'arg'
fserve.c: At top level:
fserve.c:369: error: conflicting types for 'fserve_client_create'
fserve.h:34: error: previous declaration of 'fserve_client_create'
was here
fserve.c: In function 'fserve_client_create':
fserve.c:382: warning: passing argument 1 of
'util_get_path_from_normalised_uri' discards qualifiers from pointer
target type
fserve.c:402: error: 'PER_CLIENT_REFBUF_SIZE' undeclared (first use
in this function)
fserve.c:402: error: (Each undeclared identifier is reported only once
fserve.c:402: error: for each function it appears in.)
fserve.c:441: warning: implicit declaration of function
'fserve_add_client'
fserve.c: At top level:
fserve.c:594: error: parse error before 'fserve_callback_t'
fserve.c: In function 'fserve_add_client_callback':
fserve.c:601: error: 'client' undeclared (first use in this function)
fserve.c:607: error: 'struct _fserve_t' has no member named 'callback'
fserve.c:607: error: 'callback' undeclared (first use in this function)
fserve.c:608: error: 'struct _fserve_t' has no member named 'arg'
fserve.c:608: error: 'arg' undeclared (first use in this function)
make[3]: *** [fserve.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
samsmacbook:~/icecast-2.2.0 sam$
and the configure section was:
samsmacbook:~/icecast-2.2.0 sam$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-apple-darwin8.10.1
checking host system type... i686-apple-darwin8.10.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin8.10.1 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... darwin8.10.1 dyld
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking for localtime_r... yes
checking for poll... yes
checking for library containing nanosleep... none required
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for socklen_t... yes
checking for va_copy... va_copy
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for library containing sethostent... none required
checking for library containing getnameinfo... none required
checking for endhostent... yes
checking for getaddrinfo... yes
checking for inet_aton... yes
checking for writev... yes
checking for struct sockaddr_storage.ss_family... yes
checking for inet_pton... yes
checking for xslt-config... /usr/bin/xslt-config
checking for xsltSaveResultToString... yes
checking for fgrep... grep -F
checking for libogg... ok
checking for libvorbis... ok
checking for struct ovectl_ratemanage_arg... yes
checking for libtheora... newer version required
configure: WARNING: Theora disabled!
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for pthread_rwlock_t... yes
checking for cc_r... gcc
checking for curl-config... /usr/bin/curl-config
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for libcurl... yes
checking whether CURLOPT_NOSIGNAL is declared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf/Makefile
config.status: creating debian/Makefile
config.status: creating src/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/log/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating doc/Makefile
config.status: creating web/Makefile
config.status: creating admin/Makefile
config.status: creating win32/Makefile
config.status: creating win32/res/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
More information about the Icecast
mailing list