Help - Search - Members - Calendar
Full Version: Acroread install problem solution
MandrivaUsers.org > General Help > Tips and Tricks
scoonma
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

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'


Maybe someone is finding this useful.

Cheers,

scoonma
8086
QUOTE (scoonma @ Sep 20 2006, 03:57 AM) *
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.