linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* Error at compiling audit 4.2.2
@ 2015-07-28 15:14 Alarie, Maxime
  2015-07-28 18:18 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Alarie, Maxime @ 2015-07-28 15:14 UTC (permalink / raw)
  To: linux-audit@redhat.com


[-- Attachment #1.1: Type: text/plain, Size: 1402 bytes --]

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 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


any tips would help, I can even use an older version if necessary..  I just need to  upgrade 1.8. (SLES 11)


MErci

[-- Attachment #1.2: Type: text/html, Size: 5047 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error at compiling audit 4.2.2
  2015-07-28 15:14 Error at compiling audit 4.2.2 Alarie, Maxime
@ 2015-07-28 18:18 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2015-07-28 18:18 UTC (permalink / raw)
  To: linux-audit

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-28 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 15:14 Error at compiling audit 4.2.2 Alarie, Maxime
2015-07-28 18:18 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).