Closed batcavelabs closed 7 years ago
Can you please post config.log and the generated configure script itself? Also, which module is failing? Moreover, is this master or devel?
Perhaps I can add more clarity to this issue. The autoconf generated configure for ipfixcol fails in tools/fbitdump if the user doesn't install libfastbit correctly. All comments below refer to the forked libfastbit repository specified in the ipfixcol README.md,
The failure output:
checking for LIBFASTBIT... no configure: error: Fastbit library version is too low (< 2.0.3.2) configure: error: ./configure failed for tools/fbitdump ubuntu@ubuntu-xenial:~/src/ipfixcol$ fastbit-config --version FastBit 2.0.3.2
The problem comes in not running autoreconf -i before running ./configure, make, and make install when building the forked libfastbit.
If one fails to run autoreconf -i, fastbit.pc is neither generated (from fastbit.pc.in) nor installed (as fastbit.pc) and thus can't be found with pkg-config when the the generated configure script for tools/fbitdump checks for it.
It might be worth it to better highlight the build instructions or to tweak the autoconf/automake configuration for libfastbit to ensure all the files are generated each and every invocation.
All comments refer to the master branch for both libfastbit and ipfixcol.
Thanks for the explanation. I've updated the README for libfastbit to say that the autoreconf is really necessary. It does not show my intended highlight, but I hope it will help anyway.
I get the following error when trying to compile ipfixcol:
checking for library containing fastbit_init... -lfastbit ./configure: line 16768: syntax error near unexpected token
LIBFASTBIT,' ./configure: line 16768:
PKG_CHECK_MODULES(LIBFASTBIT, fastbit >= 2.0.3.2,,' configure: error: ./configure failed for tools/fbitdumpI've install fastbit and pkg_config is installed:
# fastbit-config --version FastBit 2.0.3.2
# pkg-config --version 0.28
This is on ubuntu 16.04