lilmike reported by IRC that:
So I've got a really strange issue. I'm trying to run mediagoblin on arch linux, and running ./bootstrap.sh works fine, but upon running configure I get checking for python3... python3 ./configure: line 1934: syntax error near unexpected token `newline' ./configure: line 1934: ` ''' This has been happening even before the new release, it's just so strange
Ben suspects this is related to the autoconf version as has seen the same in Guix. Specifying autoconf2.69 in Guix fixes the issue.
For whatever it's worth, I've been able to reproduce this issue on macOS "High Sierra" recently, as well
Great, thanks Charlotte! Could you please tell me what version of autoconf you have by running
autoconf (GNU Autoconf) 2.71built from source with pkgsrc -- fairly nonstandard setup, indeed
Current workaround on Debian bookworm:
- Install package
- Change line 6 of
bootstrap.shto autoreconf2.69 -fvi
- Proceed normally
Hi, I tracked down the problem to the embedded IF clause in configure.ac . I suggest to apply my change from here: https://gitlab.com/peter.horvath/mediagoblin/-/commits/bugfix/12
The problem is that the embedded AS_IF macro seems not working with newer gnu autoconf. I did not track, exactly why, possibly it is intentional. Most importantly, we just don't need it, because AS_IF already supports the syntax what we want to.