Sunday, November 26, 2006

Adobe Acrobat Reader problem

This time I've run into a problem with Acrobat Reader. Once it had been installed, it keeps printing "expr: syntax error" in console.

To fix it, in acroread (/usr/bin/acroread) change line 418
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

to
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

and line 644:
MIN_GTK_VERSION="240"

to
MIN_GTK_VERSION="2040"


Found here: https://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=26864&forum=12&post_id=114769

Aside of it, you can use
/usr/local/Adobe/Acrobat7.0/Browser/install_browser_plugin
to install a plugin for a browser.

No comments: