I resolved the issue by running ./configure again after installing the missing package.
Seems like there should be a better way to enumerate and check for required packages vs. optional features. One other observation I made was that processing one of the OVAL checkers using SCAP consistently resulted in launching the OOM Killer. I was running in A VM w/6GB of memory. My guess is that your using a DOM XML parser instead of a SAX parser which would be much more efficient and not result in OOM conditions. -Brooke ________________________________________ From: Jan Cerny [jce...@redhat.com] Sent: Monday, February 20, 2017 12:33 AM To: Brooke Wallace Cc: email@example.com Subject: Re: [Open-scap] Git clone build fails in autogen.sh Hi, That's a weird issue, I'm also using Fedora 24 and build works for me. Please ensure that you have installed all the packages listed in the README. The trick is to run this: $ sudo dnf builddep openscap Maybe the previous unsuccessful build has left your repository in some sort of an inconsistent state. Try to clean everything using: $ make clean $ git clean -xf And then build it again following the instructions in README. We use swig to generate Python bindings for the OpenSCAP library. Probably you don't need them (unless you are a developer of the Anaconda project). :-) You can disable the Python bindings using ./configure --disable-python --disable-python3 You might also want to check the Developer's section of OpenSCAP User's manual. https://github.com/OpenSCAP/openscap/blob/maint-1.2/docs/manual/manual.adoc#devs I hope this helps a little. Best regards Jan Černý Security Technologies | Red Hat, Inc. ----- Original Message ----- > From: "Brooke Wallace" <bwall...@ramlabs.com> > To: firstname.lastname@example.org > Sent: Wednesday, February 15, 2017 9:57:48 PM > Subject: Re: [Open-scap] Git clone build fails in autogen.sh > > Ok, so I fixed that issue by installing libtool. > > But now my build fails looking for SWIG and installing swig does not resolve > the issue: > > Making all in python2 > make: Entering directory '/mypath/openscap/swig/python2' > echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; > false -o openscap_py_wrap.c -python -module openscap_py ./../src/openscap.i > Error: SWIG is not installed. You should look at http://www.swig.org > Makefile:1363: recipe for target 'openscap_py_wrap.c' failed > make: *** [openscap_py_wrap.c] Error 1 > make: Leaving directory '/mypath/openscap/swig/python2' > Makefile:995: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > make: Leaving directory '/mypath/openscap/openscap/swig' > Makefile:1283: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > make: Leaving directory '/mypath/openscap/openscap' > Makefile:1092: recipe for target 'all' failed > make: *** [all] Error 2 > > $ sudo dnf install swig > Last metadata expiration check: 0:03:18 ago on Wed Feb 15 12:47:37 2017. > Package swig-3.0.8-7.fc24.x86_64 is already installed, skipping. > Dependencies resolved. > Nothing to do. > Complete! > > > From: Brooke Wallace > Sent: Wednesday, February 15, 2017 11:43 AM > To: email@example.com > Subject: Git clone build fails in autogen.sh > > Hi, > > I just pulled the latest git vresion of openscap from github and following > the instructions I get the following error: > > $ ./autogen.sh > configure.ac:27: warning: macro 'AM_PROG_LIBTOOL' not found in library > configure.ac:18: error: possibly undefined macro: AC_DISABLE_STATIC > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:20: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure.ac:27: error: possibly undefined macro: AM_PROG_LIBTOOL > configure.ac:33: error: possibly undefined macro: AC_PROG_LIBTOOL > autoreconf: /usr/bin/autoconf failed with exit status: 1 > > Not sure what this is refering to. Perhaps I need to install some packages? > > My system is Fedora24: > $ uname -a > Linux myhost.mydomain.com 4.8.8-myuser #2 SMP Mon Nov 21 13:49:15 PST 2016 > x86_64 x86_64 x86_64 GNU/Linux > > $ cat /etc/*release > Fedora release 24 (Twenty Four) > NAME=Fedora > VERSION="24 (Workstation Edition)" > ID=fedora > VERSION_ID=24 > PRETTY_NAME="Fedora 24 (Workstation Edition)" > ANSI_COLOR="0;34" > CPE_NAME="cpe:/o:fedoraproject:fedora:24" > HOME_URL="https://fedoraproject.org/" > BUG_REPORT_URL="https://bugzilla.redhat.com/" > REDHAT_BUGZILLA_PRODUCT="Fedora" > REDHAT_BUGZILLA_PRODUCT_VERSION=24 > REDHAT_SUPPORT_PRODUCT="Fedora" > REDHAT_SUPPORT_PRODUCT_VERSION=24 > PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy > VARIANT="Workstation Edition" > VARIANT_ID=workstation > Fedora release 24 (Twenty Four) > Fedora release 24 (Twenty Four) > > > _______________________________________________ > Open-scap-list mailing list > Openfirstname.lastname@example.org > https://www.redhat.com/mailman/listinfo/open-scap-list _______________________________________________ Open-scap-list mailing list Openemail@example.com https://www.redhat.com/mailman/listinfo/open-scap-list