Miloslav Trmac wrote:
----- "Dan Gruhn" <Dan.Gruhn(a)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