libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

./bootstrap fails on Ubuntu 20.04.5 LTS

Open geira opened this issue 1 year ago • 1 comments

geira@pc5205:~/src/libyaml$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

$ git clone [email protected]:yaml/libyaml.git
Cloning into 'libyaml'...
remote: Enumerating objects: 2192, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 2192 (delta 3), reused 21 (delta 3), pack-reused 2169
Receiving objects: 100% (2192/2192), 1.43 MiB | 1.69 MiB/s, done.
Resolving deltas: 100% (1291/1291), done.

$ cd libyaml/
$ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory config
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:56: 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

geira avatar Mar 03 '23 11:03 geira

sudo apt install libtool fixed the issue. Maybe some checks for this are in order?

geira avatar Mar 03 '23 11:03 geira