Project

General

Profile

Actions

Bug #2468

closed
MP

The autoconf process fails when some options are disabled

Bug #2468: The autoconf process fails when some options are disabled

Added by Michal Purzynski about 8 years ago. Updated about 7 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

VJ Updated by Victor Julien about 8 years ago Actions #1

  • Target version deleted (4.1rc1)

Related to #1835?

VJ Updated by Victor Julien about 8 years ago Actions #2

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

AH Updated by Andreas Herz about 8 years ago Actions #3

  • 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

VJ Updated by Victor Julien about 8 years ago Actions #4

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

VJ Updated by Victor Julien about 7 years ago Actions #5

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

Fixed in ticket #1835

Actions

Also available in: PDF Atom