public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Dan Gruhn <Dan.Gruhn@groupw.com>
Cc: linux-audit@redhat.com
Subject: Re: audit-viewer
Date: Fri, 20 Feb 2009 12:36:30 -0500	[thread overview]
Message-ID: <499EEA1E.6060406@groupw.com> (raw)
In-Reply-To: <1513422227.89131235079109889.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>

Miloslav Trmac wrote:
> ----- "Dan Gruhn" <Dan.Gruhn@groupw.com> wrote:
>> I have audit-viewer-0.4 and get the following error from "make
>> install"
>>
>> Byte-compiling python modules...
>> client.py dialog_base.py event_dialog.py event_source.py filters.py 
>> format_versions.py list_properties.py list_tab.py  File 
>> "/usr/local/share/audit-viewer/list_tab.py", line 558
>>     store_data[column + 1] = l.pop(0) if l else ''
>>                                        ^
>> SyntaxError: invalid syntax
>>
>> Is it just me or should I try the 0.3 version?
> Please apply the attached patch against the src subdirectory.
>     Mirek
Mirek,

Thanks for this patch.  I applied it and was able to compile.

I'm having problems running audit-viewer and it appears that I am 
missing some packages like python-gtkextra, PyChart, and sexy-python.  I 
don't have them available on RHEL 5.2 (or 5.3 for that matter) and have 
been trying to compile them.

I am working on python-gtkextra-1.1.0 and have gtkextra compiled and 
installed.  When I work on the python-gtkextra I get the following:
# make
Making all in gtkextra
make[1]: Entering directory 
`/data/master/software/audit/audit-viewer/python-gtkextra-1.1.0/gtkextra'
(cd . \
     && /usr/bin/python ./mycodegen.py \
        --register /usr/share/pygtk/2.0/defs/pango-types.defs \
        --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
        --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
        --override gtkextra.override \
        --prefix pygtkextra gtkextra.defs) > gen-gtkextra.c \
    && cp gen-gtkextra.c gtkextra.c \
    && rm -f gen-gtkextra.c
Traceback (most recent call last):
  File "./mycodegen.py", line 16, in ?
    codegen.codegen.main()
TypeError: main() takes exactly 1 argument (0 given)
make[1]: *** [gtkextra.c] Error 1

I'm guessing  that the problem is that 1.1.0 requires python 2.5+ like 
audit-viewer.
Does anyone know if this is true?
Has anyone tried to get audit-viewer working on RHEL5.2?
Any pointers?  I think I'm stuck at this point.

Dan

  reply	other threads:[~2009-02-20 17:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1162925222.89101235079087226.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2009-02-19 21:31 ` audit-viewer Miloslav Trmac
2009-02-20 17:36   ` Dan Gruhn [this message]
2009-02-20 20:32     ` audit-viewer Miloslav Trmac
2009-03-02 16:38       ` audit-viewer Dan Gruhn
     [not found] <1241228806.180461236014459986.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
2009-03-02 17:22 ` audit-viewer Miloslav Trmac
2009-03-02 20:59   ` audit-viewer Dan Gruhn
2009-03-02 21:07     ` audit-viewer Miloslav Trmac
2009-02-19 21:09 audit-viewer Dan Gruhn
2009-02-19 21:20 ` audit-viewer Steve Grubb

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=499EEA1E.6060406@groupw.com \
    --to=dan.gruhn@groupw.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