From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Error at compiling audit 4.2.2
Date: Tue, 28 Jul 2015 14:18:04 -0400 [thread overview]
Message-ID: <3728162.jRgb41iF8Q@x2> (raw)
In-Reply-To: <23396023F719ED41888885C3B22D602F02684C@WPEXCH2010MR11.bur.hydro.qc.ca>
On Tuesday, July 28, 2015 03:14:26 PM Alarie, Maxime wrote:
> Not sure if you guys provide support for this,
>
> I am trying to compile auditd 4.2.2 and Iam using python 2.6..
I presume you mean 2.4.2. It should work for python 2.6.
> I get this error and I was wondering if it cou;s be fixed. Or If I
> absolutely need to use pythoin 2.7:
>
> Command entered: /configure --sbindir=/sbin --with-python=yes --with-libwrap
> --enable-gssapi-krb5=yes --with-libcap-ng=yes
>
> Error (checking header files section):
> Checking for header files
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking size of unsigned int... 4
> checking size of unsigned long... 8
> checking whether MS_DIRSYNC is declared... yes
> checking whether AUDIT_FEATURE_VERSION is declared... no
> checking whether AUDIT_VERSION_BACKLOG_WAIT_TIME is declared... no
> checking whether to create python bindings... testing
> checking for python... /usr/bin/python
> checking for python version... 2.6
> checking for python platform... linux2
> checking for python script directory...
> ${prefix}/lib64/python2.6/site-packages checking for python extension
> module directory... ${exec_prefix}/lib64/python2.6/site-packages configure:
> error: Python explicitly required and python headers found
Hmm...I see a typo in the output, but its not your problem. What configure is
doing is something like
ls -l `python -c "from distutils import sysconfig;
print(sysconfig.get_config_var('INCLUDEPY'))"`/Python.h.
>
> any tips would help, I can even use an older version if necessary.
You might need a python devel package. Its looking for the Python.h file.
> I just need to upgrade 1.8. (SLES 11)
Well, that is a problem. The audit 1.8 series has a different ABI than the 2.x
series. That means that functions were deprecated and new functions with extra
parameters were added, This means a lot of user space needs patching because
they call the wrong function and its gone. For the 1.8 series, there are no
real upgrades except doing the whole OS.
-Steve
prev parent reply other threads:[~2015-07-28 18:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 15:14 Error at compiling audit 4.2.2 Alarie, Maxime
2015-07-28 18:18 ` Steve Grubb [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3728162.jRgb41iF8Q@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox