GrammaticalFramework / gf-core

Grammatical Framework core: compiler, shell & runtimes
https://www.grammaticalframework.org
Other
129 stars 35 forks source link

Error installing c runtime #154

Closed Saibo-creator closed 1 year ago

Saibo-creator commented 1 year ago

Hello, GF team, I was trying to install the c runtime by following the instructions here: https://github.com/GrammaticalFramework/gf-core/blob/master/src/runtime/c/INSTALL. And I get the following error message when running autoreconf -i:

configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

My OS is ubuntu 20.04

Thank you in advance.

Saibo-creator commented 1 year ago

On MacOS Monterey, this error doesn't show up.

I get

➜  c git:(master) ✗ autoreconf -i
configure.ac:23: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:23: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:23: the top level
configure.ac:25: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:25: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:25: the top level