drvlas
drvlas

Reputation: 443

AX_CXX_COMPILE_STDCXX_11 macro not found

Try to install Sigrok under Linux. Step: libsigrok installing. When I try ./autogen.sh I get a warning "AX_CXX_COMPILE_STDCXX_11 macro not found". As far as I see, it crashes my attempt to make PulseView package later (libsigrokxx>=0.3.0 not found). I checked autoconf and autoconf-archive with Synaptic - it's ok. Don't know what to do next. No experience in building programs. Thanks!

Upvotes: 2

Views: 3691

Answers (2)

Aubin
Aubin

Reputation: 14853

sudo apt install autoconf-archive was the solution for me.

If you are the author of a package don't forget to rebuild it with autoreconf --install --force before configure, make...

Upvotes: 3

Richard A Smith
Richard A Smith

Reputation: 41

Mostly likely your autoconf-archive package does not contain this macro. My Ubuntu 12.04.5 LTS system had the same problem.

It's possible to install this macro manually with the following steps:

Go here and download the macro to somewhere.

Then copy this macro into the '/usr/share/aclocal' directory. Make sure it's named 'ax_cxx_compile_stdcxx_11.m4'. When I downloaded it I ended up with a 'm4-' pre-pended on the filename.

Make sure the macro is world readable and things should be go to go.

This fixed things for me.

Upvotes: 4

Related Questions