google / google/autofdo

aclocal-1.14: command not found

Open
#38 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
619
Forks
127
PR merge metrics
No merged PRs in 30d

Description

On my Fedora 24 machine on attempt to run ```make``` after ```configure``` I'm seeing this:
```
make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh .../missing aclocal-1.14 -I m4
.../missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:

It also requires GNU Autoconf, GNU m4 and Perl in order to run:



Makefile:529: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
```

Even though I do have aclocal installed but of a bit newer version, see:
```
aclocal --version
aclocal (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey
and Alexandre Duret-Lutz .
```

Looks like that's because of this line in ```configure``` script https://github.com/google/autofdo/blob/master/configure#L2449
```
am__api_version='1.14'
```

Solution to this is as simple as re-creation of ```configure``` script right on build machine with execution of ```autoconf```.

Maybe it worth adding this information to some documentation of AutoFDO.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.