scoonma Posted September 19, 2006 Report Share Posted September 19, 2006 Howdy folks, 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 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' Maybe someone is finding this useful. Cheers, scoonma Quote Link to comment Share on other sites More sharing options...
Guest 8086 Posted December 3, 2006 Report Share Posted December 3, 2006 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' [/code] Thank you very very much. The same problem happened to me also, although in the previous Mandriva 2007 installation, it was working perfectly. I don't know why it didn't work this time. I just put one additional '0' as you told, and the problem was gone. One thing I want to point out is that in my system, the line number was 418, and not 421. Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.