Jump to content

Acroread install problem solution


scoonma
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • 2 months later...
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...