Project

General

Profile

Actions

Bug #2468

closed

The autoconf process fails when some options are disabled

Added by Michal Purzynski about 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

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.


Related issues 2 (0 open2 closed)

Related to Suricata - Bug #1835: AC_ARG_ENABLE usage is incorrectClosedActions
Related to Suricata - Bug #2473: Please allow disabling every option (add --without-{option})ClosedActions
Actions #1

Updated by Victor Julien about 6 years ago

  • Target version deleted (4.1rc1)

Related to #1835?

Actions #2

Updated by Victor Julien about 6 years ago

  • Related to Bug #1835: AC_ARG_ENABLE usage is incorrect added
Actions #3

Updated by Andreas Herz about 6 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

Actions #4

Updated by Victor Julien about 6 years ago

  • Related to Bug #2473: Please allow disabling every option (add --without-{option}) added
Actions #5

Updated by Victor Julien about 5 years ago

  • Status changed from New to Closed
  • Assignee deleted (Andreas Herz)
  • Target version deleted (70)

Fixed in ticket #1835

Actions

Also available in: Atom PDF