Support #1755
closedHypercan not even looked for when compiling on FreeBSD
Description
At first I thought the library wasn't picked up, but I then added the lines as shown in the Ubuntu guide:
https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Hyperscan
$ ./configure --enable-gccprotect --disable-silent-rules --with-libpcre-includes=/usr/local/include --with-libpcre-libraries=/usr/local/lib --with-libyaml-includes=/usr/local/include --with-libyaml-libraries=/usr/local/lib --with-libnet-includes=/usr/local/include --with-libnet-libraries=/usr/local/lib --with-libhtp-includes=/usr/local/include/ --with-libhtp-libraries=/usr/local/lib --with-libhs-includes=/usr/local/include/hs --with-libhs-libraries=/usr/local/lib/ --disable-gccmarch-native --enable-geoip --enable-non-bundled-htp --enable-ipfw --with-libjansson-includes=/usr/local/include --with-libjansson-libraries=/usr/local/lib --enable-netmap --with-libpcap-includes=/usr/include --with-libpcap-libraries=/usr/lib --disable-prelude --disable-unittests --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd10.2
and still nothing.
I've checked config.log and Suricata isn't even trying to find the libraries.
Hyperscan is installed:
- la /usr/local/include/hs/
total 88rw-r--r-1 root wheel 18K Dec 18 04:41 hs_runtime.hrw-r--r-1 root wheel 32K Dec 18 04:41 hs_compile.hrw-r--r-1 root wheel 17K Dec 18 04:41 hs_common.hrw-r--r-1 root wheel 1.9K Dec 18 04:41 hs.h
drwxr-xr-x 42 root wheel 3.0K Mar 31 18:07 ..
drwxr-xr-x 2 root wheel 512B Mar 31 18:07 .
- la /usr/local/lib/libhs*
rw-r--r-1 root wheel 2.4M Mar 31 17:33 /usr/local/lib/libhs_runtime.arw-r--r-1 root wheel 12M Mar 31 18:01 /usr/local/lib/libhs.a
lrwxr-xr-x 1 root wheel 22B Mar 31 18:07 /usr/local/lib/libhs_runtime.so.4.1 -> libhs_runtime.so.4.1.0
lrwxr-xr-x 1 root wheel 20B Mar 31 18:07 /usr/local/lib/libhs_runtime.so -> libhs_runtime.so.4.1
-rwxr-xr-x 1 root wheel 1.8M Mar 31 18:07 /usr/local/lib/libhs_runtime.so.4.1.0
lrwxr-xr-x 1 root wheel 14B Mar 31 18:07 /usr/local/lib/libhs.so.4.1 -> libhs.so.4.1.0
lrwxr-xr-x 1 root wheel 12B Mar 31 18:07 /usr/local/lib/libhs.so -> libhs.so.4.1
-rwxr-xr-x 1 root wheel 5.2M Mar 31 18:07 /usr/local/lib/libhs.so.4.1.0
Updated by Victor Julien over 8 years ago
Hyperscan was merged after 3.0.1RC1 was released. Try the git master instead.
Updated by O P over 8 years ago
@#ยง&*! I just realised that the Hyperscan was merged 2 days ago... so it's not available yet in any downloadable packages.
https://github.com/inliniac/suricata/pull/1968
Sorry for the noise
Updated by Victor Julien over 8 years ago
- Tracker changed from Bug to Support
- Status changed from New to Closed
:)
3.0.1 will be out soon, likely Monday or Tuesday. It will include it.