Project

General

Profile

Actions

Bug #1113

closed

Suricata rc1 with bundled libhtp compilation err on Windows

Added by Peter Manev about 10 years ago. Updated over 8 years ago.

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

Description

If i compile Suricata 2.0rc1 with bundled libhtp on Windows :

peter.manev@DONPEDRO-HP /tmp/suricata-2.0rc1
$ libtoolize -c && autoreconf -fv --install && ./configure --disable-gccmarch-native && make
libtoolize: `./ltmain.sh' is newer: use `--force' to overwrite
libtoolize: `m4/ltversion.m4' is newer: use `--force' to overwrite
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force -I m4
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: adding subdirectory libhtp to autoreconf
autoreconf-2.69: Entering directory `libhtp'
sh: ./get-version.sh: No such file or directory
configure.ac:7: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.13/init.m4:23: AM_INIT_AUTOMAKE is expanded from...
configure.ac:7: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
autoreconf-2.69: aclocal failed with exit status: 1

However if I remove the libhtp dir and git pull the latest libhtp, it works fine:

peter.manev@DONPEDRO /tmp/suricata-2.0rc1
$ rm libhtp/ -R
$ git clone https://github.com/ironbee/libhtp.git -b 0.5.x
$ libtoolize -c && autoreconf -fv --install && ./configure --disable-gccmarch-native && make

...
compiles and builds fine:
make[3]: Entering directory '/tmp/suricata-2.0rc1/scripts'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/suricata-2.0rc1/scripts'
make[2]: Leaving directory '/tmp/suricata-2.0rc1/scripts'
make[2]: Entering directory '/tmp/suricata-2.0rc1'
make[2]: Leaving directory '/tmp/suricata-2.0rc1'
make[1]: Leaving directory '/tmp/suricata-2.0rc1'
Actions #1

Updated by Peter Manev over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF