phaag / nfdump

Netflow processing tools
Other
785 stars 206 forks source link

Autotools issue on centos 6 #20

Closed adamlamar closed 8 years ago

adamlamar commented 8 years ago

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 commented 8 years ago

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

adamlamar commented 8 years ago

@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 commented 8 years ago

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

phaag commented 8 years ago

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

phaag commented 8 years ago

README updated