Bug #2468
closedThe autoconf process fails when some options are disabled
Description
Hello, everyone!!
Some of the autoconf's configure script options make the configuration process fail if libraries for the functionality I want to disable, is not present. For example:
--disable-nflog
causes the configure to fail with
configure: error: libnetfilter_log.h not found ...
There are other switches that make the 'configure' script fail, if libraries for what I'm about to disable, aren't present, such as
Tried to explicitly disable DAG support
checking for dagapi.h... no
ERROR! libdag library not found
Tried to explicitly disable Napatech support
checking for nt.h... no
ERROR! libntapi library not found
Tried to explicitly disable hiredis support
checking for hiredis/hiredis.h... no
ERROR! libhiredis library not found, go get it
The configuration process behaves as if I was trying to enable them, thus it checks if libraries and header files are present, then it disables that functionality.
The correct action here would be to not bother checking for header files, since we are not going to use them anyway.
Updated by Victor Julien almost 7 years ago
- Related to Bug #1835: AC_ARG_ENABLE usage is incorrect added
Updated by Andreas Herz almost 7 years ago
- Assignee set to Andreas Herz
- Target version set to 70
I will try to rework the autoconf so we shouldn't run in such issues
Updated by Victor Julien over 6 years ago
- Related to Bug #2473: Please allow disabling every option (add --without-{option}) added
Updated by Victor Julien almost 6 years ago
- Status changed from New to Closed
- Assignee deleted (
Andreas Herz) - Target version deleted (
70)
Fixed in ticket #1835