Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autotools issue on centos 6 #20

Closed
adamlamar opened this issue Mar 14, 2016 · 5 comments
Closed

Autotools issue on centos 6 #20

adamlamar opened this issue Mar 14, 2016 · 5 comments

Comments

@adamlamar
Copy link
Contributor

Hello,

I've had some issues building nfdump on centos 6. The configure script runs successfully, but make wants aclocal-1.15, which doesn't exist:

$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/user/nfdump/missing aclocal-1.15
/home/user/nfdump/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' 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:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

Any suggestions? I tried various incantations of autotools with no luck.

@bbayles
Copy link

bbayles commented Mar 14, 2016

I had the same issue and solved it with an autoreconf -if beore ./configure and make.

@adamlamar
Copy link
Contributor Author

@bbayles Thanks, that worked for me. I ran autoreconf but not with -if previously. Should this be part of the documentation, or does someone need to commit to the repository after running an older version of autotools?

@bbayles
Copy link

bbayles commented Mar 14, 2016

+1 for adding to the documentation. I do autoreconf -if as a habit and usually add it to build scripts.

@phaag
Copy link
Owner

phaag commented May 7, 2016

I will update the docu accordingly. You may use the bootstrap.sh script in case you had changes to any autoconf files.

@phaag
Copy link
Owner

phaag commented Jun 5, 2016

README updated

@phaag phaag closed this as completed Jun 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants