[netsa-tools-discuss] SiLK Compilation Issue on RHEL 8
Xavier Belanger
belangerx at cua.edu
Mon Oct 4 11:17:18 EDT 2021
Hi,
In order to evaluate SiLK (version 3.19.0) I'm trying to build it
from source on a Red Hat Enterprise Linux 8 test server.
Unfortunately I'm receiving the following error during the compilation
step:
libtool: compile: gcc -I. -I../../src/include -I../../src/include
-DNDEBUG -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -Wall -W -Wmissing-prototypes
-Wformat=2 -Wdeclaration-after-statement -Wpointer-arith
-fno-strict-aliasing -O3 -MT probeconf.lo -MD -MP -MF
.deps/probeconf.Tpo -c probeconf.c -fPIC -DPIC -o .libs/probeconf.o
In file included from probeconf.c:20:
ipfixsource.h:37:10: fatal error: silk/skipfix.h: No such file or directory
#include <silk/skipfix.h>
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:885: probeconf.lo] Error 1
make[3]: Leaving directory '/home/xavier/silk/silk-3.19.0/src/libflowsource'
make[2]: *** [Makefile:973: all-recursive] Error 1
make[2]: Leaving directory '/home/xavier/silk/silk-3.19.0/src/libflowsource'
make[1]: *** [Makefile:531: all-recursive] Error 1
make[1]: Leaving directory '/home/xavier/silk/silk-3.19.0/src'
make: *** [Makefile:487: all-recursive] Error 1
When checking for the missing skipfix.h file, one is listed
in a subdirectory:
[xavier at test-rh silk-3.19.0]$ find -name 'skipfix.h'
./src/libflowsource/skipfix.h
[xavier at test-rh silk-3.19.0]$
I have been able to reproduce that issue with a second fresh
attempt.
Before running the 'make' command I have only been running './configure'
without any argument, and there was no error following that step.
The final output is attached.
Does anyone would know what could be causing that issue? Thanks.
Sincerely,
--
Xavier Belanger
Network Engineer III - CISSP
Technology Services
The Catholic University of America
-------------- next part --------------
config.status: executing silk_summary commands
* Configured package: SiLK 3.19.0
* Host type: x86_64-pc-linux-gnu
* Source files ($top_srcdir): .
* Install directory: /usr/local
* Root of packed data tree: /data
* Packing logic: via run-time plugin
* Timezone support: UTC
* Default compression method: SK_COMPMETHOD_NONE
* IPv6 network connections: YES
* IPv6 flow record support: NO
* IPset file compatibility: SiLK 1.0.0 (record-version=2)
* IPFIX collection support: NO
* NetFlow9 collection support: NO (No IPFIX support)
* sFlow collection support: NO (No IPFIX support)
* Transport encryption support: YES (-lgnutls)
* IPA support: NO
* MaxMindDB support: NO
* ZLIB support: YES (-lz)
* LZO support: YES (-llzo2)
* SNAPPY support: NO
* LIBPCAP support: YES (-lpcap)
* C-ARES support: NO
* ADNS support: NO
* Python interpreter: /usr/bin/python3
* Python support: NO
* Build analysis tools: YES
* Build packing tools: YES
* Compiler (CC): gcc
* Compiler flags (CFLAGS): -I$(srcdir) -I$(top_builddir)/src/include -I$(top_srcdir)/src/include -DNDEBUG -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -Wall -W -Wmissing-prototypes -Wformat=2 -Wdeclaration-after-statement -Wpointer-arith -fno-strict-aliasing -O3
* Linker flags (LDFLAGS):
* Libraries (LIBS): -llzo2 -lz -ldl -lm
More information about the netsa-tools-discuss
mailing list