[ARGUS] Compiling Argus clients on RHEL 8

Mike Iglesias iglesias at uci.edu
Thu Dec 8 17:20:35 EST 2022


I'm trying to compile the argus clients on an RHEL 8 system.  The compile fails 
pretty quickly:

making in ./common
make[1]: Entering directory '/home/iglesias/argus/clients-master/common'
gcc -O -I. -I../include    -DHAVE_CONFIG_H -DARGUS_SYSLOG -c ./argus_main.c
rm -f ../lib/argus_parse.a; ar qc ../lib/argus_parse.a argus_main.o
ranlib ../lib/argus_parse.a
gcc -O -I. -I../include    -DHAVE_CONFIG_H -DARGUS_SYSLOG -c ./argus_code.c
gcc -O -I. -I../include    -DHAVE_CONFIG_H -DARGUS_SYSLOG -c ./argus_filter.c
gcc -O -I. -I../include    -DHAVE_CONFIG_H -DARGUS_SYSLOG -c ./argus_util.c
./argus_util.c:90:10: fatal error: rpc/types.h: No such file or directory
  #include <rpc/types.h>
           ^~~~~~~~~~~~~
compilation terminated.

It looks like under RHEL 7 that the /usr/include/rpc header files were provided 
by glibc-headers but not in RHEL 8.  There are rpc header files provided by 
libtirpc-devel but they are in /usr/include/tirpc/rpc.

I did find a solution (but haven't tried it yet):

CFLAGS=`pkg-config --cflags libtirpc`
LIBS=`pkg-config --libs libtirpc`

This looks like something that would need changes to the configure script, which 
is beyond me.

This change would also be required if argus is compiled on a Fedora system.


Mike


More information about the argus mailing list