You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using cava from a package repository, like AUR?
No, manually built the latest git commit
ALWAYS TRY TO BUILD AND RUN FROM THE SOURCE CODE ON GITLAB BEFORE POSTING ISSUES
If the issue is resolved when building from source, do not post issues here.
Describe the bug
A clear and concise description of what the bug is.
Can't build cava git because of a configure.ac error
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:306: error: _AX_CHECK_GL_MANUAL_LIBS_GENERIC: argument must not be empty
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
/usr/share/aclocal/ax_check_gl.m4:187: _AX_CHECK_GL_MANUAL_LIBS_GENERIC is expanded from...
lib/m4sugar/m4sh.m4:595: AS_CASE is expanded from...
/usr/share/aclocal/ax_check_gl.m4:253: AX_CHECK_GL is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
configure.ac:306: the top level`
To Reproduce
Steps to reproduce the behavior:
Git clone the latest git commit
Try to build it without any flags
Workaround
AS_IF([test "x$enable_output_sdl"!="no"], [
AC_CHECK_LIB(SDL2,SDL_Init, have_sdl=yes, have_sdl=no)
if [[ $have_sdl="yes" ]] ;then
LIBS="$LIBS -lSDL2"
CPPFLAGS="$CPPFLAGS -DSDL"
dnl ######################
dnl checking for opengl (only if we know we have sdl)
dnl ######################
AC_ARG_ENABLE([output_sdl_glsl],
AS_HELP_STRING([--disable-output-sdl-glsl],
[do not include support for output with sdl_glsl])
)
AS_IF([test "x$enable_output_sdl_glsl"!="no"], [
m4_ifdef([AX_CHECK_GL], [
AX_CHECK_GL(have_opengl=yes, have_opengl=no)
], [
AC_MSG_NOTICE([You need to install the autoconf archives to check for opengl. Remember to re-run autogen.sh.])
have_opengl=no
])
if [[ $have_opengl="yes" ]] ;then
LIBS="$LIBS$GL_LIBS"
CPPFLAGS="$CPPFLAGS -DSDL_GLSL $GL_CFLAGS"fiif [[ $have_opengl="no" ]] ;then
AC_MSG_NOTICE([INFO: building without sdl_glsl (opengl) support])
fi
],
[have_opengl=no]
)
fiif [[ $have_sdl="no" ]] ;then
AC_MSG_NOTICE([INFO: building without sdl support])
fi
],
[have_sdl=no]
)
Removing this from configure.ac allows the autogen.sh script to run and Cava builds fine then
Expected behavior
Cava should build fine
Desktop (please complete the following information):
OS: NixOS
Version: 25.05 Unstable
Terminal emulator
Konsole
24.05
The text was updated successfully, but these errors were encountered:
Alxhr0
changed the title
Can;t build cava because of broken configure.ac
Can't build cava because of broken configure.ac
Nov 24, 2024
READ THIS BEFORE CREATING NEW ISSUE
Are you using cava from a package repository, like AUR?
No, manually built the latest git commit
ALWAYS TRY TO BUILD AND RUN FROM THE SOURCE CODE ON GITLAB BEFORE POSTING ISSUES
If the issue is resolved when building from source, do not post issues here.
Describe the bug
A clear and concise description of what the bug is.
Can't build cava git because of a configure.ac error
To Reproduce
Steps to reproduce the behavior:
Workaround
Removing this from configure.ac allows the autogen.sh script to run and Cava builds fine then
Expected behavior
Cava should build fine
Desktop (please complete the following information):
Terminal emulator
The text was updated successfully, but these errors were encountered: