Le 2024-06-09 à 10 h 41, Fons Adriaensen a écrit :
On Sun, Jun 09, 2024 at 09:23:28AM -0400, Marc Lavallée wrote:Le 2024-06-09 à 05 h 51, Fons Adriaensen a écrit :On Sun, Jun 09, 2024 at 09:50:27AM +0200, Stefan Westerfeld wrote:PandaResampler 0.2.0 has been released../configure: line 16969: syntax error near unexpected token `11,' ./configure: line 16969: `AX_CXX_COMPILE_STDCXX(11, noext, mandatory)' I'm an absolute NOOB re. autotools... Ciao,Install old autoconf macros: https://www.gnu.org/software/autoconf-archive/ https://pkgs.org/download/autoconf-archiveI should have a fully up-to-date autotools. It works with all other things that I needed it for.
It's the first time I use this collection of macros. I discovered
it while trying to fix the issue.
In what way should old macros solve the issue, taking into account that this is not 'old' software ?
What's old are some macros in the collection; using the word
"old" was useless. For the specific error you reported, the
required macro is ax_cxx_compile_stdcxx.m4. Other macros (from the
collection) are probably required (I did not check).
And what means 'installing' those macros - Where should they go ?
Where autoconf-archive (and the packaging system) wants them to be installed; on my Debian 12 system, they are installed in /usr/share/aclocal/
The collection of collections: http://mirror.csclub.uwaterloo.ca/gnu/autoconf-archive/
Sorry if I seem a bit sceptical... Each time I try to understand how the autotools are supposed to work I read things like 'This file contains dirty hacks to make XXX work' and similar statements. It really escapes me why such a mess is still supposed to be the 'right way' to do things...
There's always better ways. :-)
Marc
Ciao,