Acrobat Reader unter Ubuntu 7.10
Geschrieben von Jens Brey am Freitag, 7. September 2007
The old pain is back...
expr: Syntaxfehler
or
expr: Syntaxerror
with Ubuntu 7.10. With 7.04 you can used the patch with the additional null to fix this problem, now you have to do some more
expr: Syntaxfehler
or
expr: Syntaxerror
with Ubuntu 7.10. With 7.04 you can used the patch with the additional null to fix this problem, now you have to do some more

The problem is, that the version of GTK has changed from something like x.0.0.x000.x to x.0.0.x106.x, so the patch with the three null's didn't work anymore and the get_gtk_file_ver() didn't report a version number. This will result in an endless loop.
I have changed the line, around 419, in /usr/bin/acroread
to
and now it works, also for some future changes
Hf...
I have changed the line, around 419, in /usr/bin/acroread
CODE:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)000.\([0-9]*\)|\(.*\)/\1\2\3/g'
to
CODE:
echo $mfile | sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)....\([0-9]*\)|\(.*\)/\1\2\3/g'
and now it works, also for some future changes

Hf...
Kommentare