Project

General

Profile

Actions

Bug #841

closed
PM EL

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

Bug #841: configure --enable-unix-socket does not err out if libs/pkgs are not present

Added by Peter Manev almost 13 years ago. Updated almost 13 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

VJ Updated by Victor Julien almost 13 years ago Actions #1

  • 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.

EL Updated by Eric Leblond almost 13 years ago Actions #2

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.

EL Updated by Eric Leblond almost 13 years ago Actions #3

  • % Done changed from 0 to 90

VJ Updated by Victor Julien almost 13 years ago Actions #4

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

Also available in: PDF Atom