error in installation script for xaw-wrappers
I run a potato system an came over this while upgrading vi apt, in
the configure phase:
S
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 42, near ");"
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 57, near ");"
BEGIN failed--compilation aborted at /usr/sbin/update-xaw-wrappers line 98.
dpkg: error processing xaw-wrappers (--configure):
subprocess post-installation script returned error exit status 2
i changed the mentioned script /usr/lib/xaw-wrappers/XawWrapper.pm
(added two closing parantheses near the end of each of the lines
42 and 57).
[root@egg xaw-wrappers]# diff XawWrapper.pm XawWrapper.pm.orig
42c42
< XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program})));
---
> XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program});
57c57
< XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program})));
---
> XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program});
Johan
Reply to: