LanguageMachines / libfolia

FoLiA library for C++
https://proycon.github.io/folia
GNU General Public License v3.0
15 stars 7 forks source link

configure.ac:44: error: possibly undefined macro: AC_MSG_ERROR #25

Closed yurivict closed 5 years ago

yurivict commented 5 years ago

While trying to create the FreeBSD port, I'm getting this error for version 1.15:

$ sh bootstrap.sh 
aclocal: installing 'm4/libtool.m4' from '/usr/local/share/aclocal/libtool.m4'
aclocal: installing 'm4/ltoptions.m4' from '/usr/local/share/aclocal/ltoptions.m4'
aclocal: installing 'm4/ltsugar.m4' from '/usr/local/share/aclocal/ltsugar.m4'
aclocal: installing 'm4/ltversion.m4' from '/usr/local/share/aclocal/ltversion.m4'
aclocal: installing 'm4/lt~obsolete.m4' from '/usr/local/share/aclocal/lt~obsolete.m4'
aclocal: installing 'm4/pkg.m4' from '/usr/local/share/aclocal/pkg.m4'
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
configure.ac:44: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1

I have autoreconf-2.69 and pkg-config installed.

proycon commented 5 years ago

Thanks for your effort! A FreeBSD port is much appreciated. This problem tends to be caused by a missing autoconf-archive (https://github.com/autoconf-archive/autoconf-archive, there's also a FreeBSD port for it).

yurivict commented 5 years ago

@proycon This worked, thank you!