Hello,
I am trying to install the openscap on RHEL 5 x64 and got the following error: “make[3]: *** [probe_rpminfo-rpminfo.o] Error 1”. Any help you can provide is appreciated! Here are the steps I’ve used: 1. Install the dependencies: yum install libacl-devel yum install libcap-devel yum install libcurl-devel -- Not available yum install curl-devel yum install libgcrypt-devel yum install libselinux-devel yum install libxml2-devel yum install libxslt-devel yum install make yum install openldap-devel yum install pcre-devel yum install perl-XML-Parser yum install perl-XML-XPath -- Not available yum install perl-devel -- Not available yum install python-devel yum install rpm-devel yum install swig yum install bzip2-devel 2. # git clone https://github.com/OpenSCAP/openscap.git 3. # ./configure ... OpenSCAP will be compiled with the following settings: oscap tool: yes scap-as-rpm tool: yes oscap-ssh tool: yes oscap-docker tool: yes oscap-vm tool: yes oscap-chroot tool: yes python2 bindings enabled: yes python3 bindings enabled: no perl bindings enabled: no use POSIX regex: no SCE enabled no debugging flags enabled: no CCE enabled: no === probes === system_info: NO (missing: header files) family: yes textfilecontent: yes textfilecontent54: yes variable: yes xmlfilecontent: yes filehash: yes filehash58: yes environmentvariable: yes environmentvariable58: yes sql: NO (missing: header files, opendbx lib, odbx_init func) sql57: NO (missing: header files, opendbx lib, odbx_init func) ldap57: yes dnscache: yes runlevel: yes file: yes fileextendedattribute: yes password: yes process: yes process58: yes shadow: yes uname: yes interface: yes xinetd: yes sysctl: yes routingtable: yes symlink: yes gconf: yes isainfo: NO (missing: header files) package: yes patch: yes smf: yes partition: yes inetlisteningservers: yes iflisteners: yes selinuxboolean: yes selinuxsecuritycontext: yes rpminfo: yes rpmverify: yes rpmverifyfile: yes rpmverifypackage: yes dpkginfo: NO (missing: , apt_pkg, pkgVersion func) systemdunitproperty: NO (missing: header files, dbus1, dbus1, dbus_bus_get func, dbus_bus_get func) systemdunitdependency: NO (missing: header files) === configuration === probe directory set to: /usr/local/libexec/openscap === crypto === library: GCrypt libs: -lgcrypt -ldl -lgpg-error cflags: Valgrind checks enabled: no CFLAGS: -g -O2 -pipe -std=c99 -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -D_GNU_SOURCE -DOSCAP_THREAD_SAFE -D_POSIX_C_SOURCE=200112L -Wno-unused-function CXXFLAGS: 4. # make .... unix/linux/rpminfo.c:361: warning: implicit declaration of function ‘rpmfiFree’ make[3]: *** [probe_rpminfo-rpminfo.o] Error 1 make[3]: Leaving directory `/usr/src/openscap/src/OVAL/probes' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/openscap/src/OVAL/probes' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/openscap' make: *** [all] Error 2 Respectfully, _Dragos.
_______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
