Hi Brooke,

You can either disable python with ./configure --disable-python
--disable-python3 or you can download swig and compile with Python
support. I'm not sure if that swig package comes with Python support.


Kind Regards

On 02/15/2017 09:57 PM, Brooke Wallace wrote:
> 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[3]: 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[3]: *** [openscap_py_wrap.c] Error 1
> make[3]: Leaving directory '/mypath/openscap/swig/python2'
> Makefile:995: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/mypath/openscap/openscap/swig'
> Makefile:1283: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: 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:* open-scap-list@redhat.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
> Open-scap-list@redhat.com
> https://www.redhat.com/mailman/listinfo/open-scap-list
> 

-- 
Raphael Sanchez Prudencio
Security Technologies | Red Hat, Inc.

_______________________________________________
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list

Reply via email to