today I had to install a recent version of the proprietary acrobat reader by Adobe. By now evince is not letting one fill out forms in pdf-documents. So I downloaded the latest version (7.0.8) for Linux. However, after installing the actual "acroread" command constantly fails with an syntax error infinite loop. The problem is not caused by Mandriva or shell selection, but lies within the "/usr/bin/acroread" script itself. After some searching I was lucky to find the solution in this somewhat lengthy thread:
http://www.ubuntuforums.org/archive/index.php/t-221769.html
CODE
The gtk detection boils out.
Change line 421 in /usr/bin/acroread:
old:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
new:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)000.\([0-9]*\)\|\(.*\)/\1\2\3/g'
Change line 421 in /usr/bin/acroread:
old:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
new:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)000.\([0-9]*\)\|\(.*\)/\1\2\3/g'
Maybe someone is finding this useful.
Cheers,
scoonma
