Project

General

Profile

Actions

Bug #841

closed

configure --enable-unix-socket does not err out if libs/pkgs are not present

Added by Peter Manev over 11 years ago. Updated over 11 years ago.

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

Description

If the required unix-socket packages are not installed (libjansson4 libjansson-dev python-simplejson),
but

configure --enable-unix-socket

is used - the installation will not fail during the "configure" phase.

It will correctly show that unix-socket is not enabled, but it will not stop/fail during the configure phase.

It would be better if it properly errors out during configure.
Like for example nfq does :

ERROR!  libnetfilter_queue library not found, go get it
from www.netfilter.org.
we automatically append libnetfilter_queue/ when searching
for headers etc. when the --with-libnfq-includes directive
is used

Using Suricata 1.4.3

Thank you

Actions #1

Updated by Victor Julien over 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Eric Leblond
  • Target version set to 1.4.4

Need a ticket for master branch as well.

Actions #2

Updated by Eric Leblond over 11 years ago

Implemented for 1.4 by https://github.com/inliniac/suricata/pull/419. It only adds a warning as we are autodetecting.

For master, there is a PR https://github.com/inliniac/suricata/pull/420 with a minor change which is to display JANSSON warning in all cases.

Actions #3

Updated by Eric Leblond over 11 years ago

  • % Done changed from 0 to 90
Actions #4

Updated by Victor Julien over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF