From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gruhn Subject: Re: audit-viewer Date: Fri, 20 Feb 2009 12:36:30 -0500 Message-ID: <499EEA1E.6060406@groupw.com> References: <1513422227.89131235079109889.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n1KHaaN1009667 for ; Fri, 20 Feb 2009 12:36:36 -0500 Received: from smtp.group-w-inc.com (group-w-inc.com [70.164.45.3]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id n1KHaV5o004942 for ; Fri, 20 Feb 2009 12:36:31 -0500 Received: from smtp.group-w-inc.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id C1A48DA00A4 for ; Fri, 20 Feb 2009 12:36:30 -0500 (EST) Received: from [10.1.1.218] (dgruhn-f9.group-w-inc.com [10.1.1.218]) by smtp.group-w-inc.com (Postfix) with ESMTP id 8A83ADA0094 for ; Fri, 20 Feb 2009 12:36:30 -0500 (EST) In-Reply-To: <1513422227.89131235079109889.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com Miloslav Trmac wrote: > ----- "Dan Gruhn" 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