Package: snort
Version: 2.7.0-13
Severity: normal

Dear Debian maintainer,

while backporting the package to etch in order to have a snort with
prelude support, I've learnt the hard way that the includes configure 
skript tries a "test compile" against libprelude-dev where it also 
requires libgnutls-dev (which may not be installed on a build host). 

The "interesting" point is, that in this combination --enable-prelude
is given on the configure line but the resulting package doesn't include 
prelude support. Simple QA-checks won't fail, but if you're trying to
use the prelude functions, the resulting binary might fail.

---cut
checking for libprelude - version >= 0.9.6... no
*** Could not run libprelude test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means LIBPRELUDE was incorrectly 
installed
*** or that you have moved LIBPRELUDE since it was installed. In the latter 
case, you
*** may want to edit the libprelude-config script: /usr/bin/libprelude-config
---cut

Reason from config.log:

---cut
configure:23977: checking for libprelude-config
configure:23995: found /usr/bin/libprelude-config
configure:24008: result: /usr/bin/libprelude-config
configure:24016: checking for libprelude - version >= 0.9.6
configure:24104: gcc -o conftest -g -O2 -D_GNU_SOURCE -Wall 
-I/usr/include/mysql -DENABLE_MYSQL  -L/usr/lib -lpcre -L/usr/lib -pthread 
conftest.c -lmysqlclient -lz -lpcre -lpcap -lm -lnsl  -L/usr/lib -lprelude 
-L/usr/lib -lgnutls -lgcrypt -lgpg-error -lrt -ldl >&5
/usr/bin/ld: cannot find -lgnutls
collect2: ld returned 1 exit status
configure:24107: $? = 1
configure: program exited with status 1
[...]
configure:24175: gcc -o conftest -g -O2 -D_GNU_SOURCE -Wall 
-I/usr/include/mysql -DENABLE_MYSQL  -L/usr/lib -lpcre -L/usr/lib -pthread 
conftest.c -lmysqlclient -lz -lpcre -lpcap -lm -lnsl  -L/usr/lib -lprelude 
-L/usr/lib -lgnutls -lgcrypt -lgpg-error -lrt -ldl >&5
/usr/bin/ld: cannot find -lgnutls
collect2: ld returned 1 exit status
configure:24181: $? = 1
---cut

>From some point of view, libgnutls-dev ought to be a dependency in 
libprelude-dev, but libprelude-dev is also usable without gnutls.
Snort's use of libprelude-dev seems to includes the usage of
libgnutls-dev, so in my eyes, adding a build-dependency to libgnutls-dev
should resolve this issue.


Anders
-- 
1&1 Internet AG              System Design
Brauerstrasse 48             v://49.721.91374.50
D-76135 Karlsruhe            f://49.721.91374.225

Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger,
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to