Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile it via autogen.sh #23

Open
rubyFeedback opened this issue Jul 13, 2021 · 1 comment
Open

Can not compile it via autogen.sh #23

rubyFeedback opened this issue Jul 13, 2021 · 1 comment

Comments

@rubyFeedback
Copy link

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.

@KubaPro010
Copy link

Clone the repository with the --recurse-submodules argument, so git clone https://github.com/xiph/Icecast-libshout.git --recurse-submodules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants