Icecast-libshout
Icecast-libshout copied to clipboard
Can not compile it via autogen.sh
Running this command after downloading the latest release of libshout 2.4.3:
"sh autogen.sh"
Without the quotes, leads to:
checking for autoconf... checking for automake 1.6 or later... automake checking for aclocal 1.6 or later... aclocal checking for libtool... libtoolize Generating configuration files for libshout, please wait.... aclocal -I /System/Shared/aclocal/ -I m4 /usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD /usr/share/aclocal/libxosd.m4:9: run info Automake 'Extending aclocal' /usr/share/aclocal/libxosd.m4:9: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoheader libtoolize --automake automake --add-missing configure.ac:235: error: required file 'src/common/net/Makefile.in' not found configure.ac:235: error: required file 'src/common/timing/Makefile.in' not found configure.ac:235: error: required file 'src/common/thread/Makefile.in' not found configure.ac:235: error: required file 'src/common/avl/Makefile.in' not found configure.ac:235: error: required file 'src/common/httpp/Makefile.in' not found src/Makefile.am:22: error: required directory src/common/avl does not exist src/Makefile.am:22: error: required directory src/common/net does not exist src/Makefile.am:22: error: required directory src/common/timing does not exist src/Makefile.am:22: error: required directory src/common/httpp does not exist src/Makefile.am:6: error: required directory src/common/thread does not exist
Hmm. Perhaps we could use meson or cmake as build system? Other autoconf based projects work fine on my linux system here but libshout fails tragically.
A "configure" file is created but running this then leads to:
checking for gettimeofday... yes
checking for ftime... yes
checking for strcasestr... yes
checking for library containing nanosleep... none required
./configure: line 12944: XIPH_NET: command not found
./configure: line 12956: syntax error near unexpected token newline' ./configure: line 12956:
ACX_PTHREAD('
No idea why that fails but it may be best to abandon the shell macro hell that autoconf imposes onto mankind.
Clone the repository with the --recurse-submodules
argument, so git clone https://github.com/xiph/Icecast-libshout.git --recurse-submodules