Adobe Reader 7.0 on Feisty Fox
Patching an odd glitch in the acroread shell script.
I recently bought Nikon D80 DSLR eBook on CD (review to follow). Naturally it expects the very latest Acrobat Reader to support its interactive features.
The latest I can find for Linux is 7.0. I don't know if that's recent enough, I think 8.0 is expected.
Anyway, I grabbed the download from
Adobe and installed it on my Ubuntu
“Feisty Fawn” box, only to discover that it wouldn't run. Running
acroread produced “expr: syntax error
”
ad nauseum.
If this happens to you, perhaps this patch will help:
*** /usr/local/Adobe/Acrobat7.0/bin/acroread~ 2007-01-05 14:56:39.000000000 -0500
--- /usr/local/Adobe/Acrobat7.0/bin/acroread 2007-04-21 19:33:50.000000000 -0400
***************
*** 416,420 ****
fi
! echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
return 0
fi
--- 416,420 ----
fi
! echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)/\1\2\3/g'
return 0
fi
It helped me. But I'm not sure exactly what the script is on about, so I suppose it might not. YMMV.
Now on to the book…
Comments
The patch works for me. Glad that this page appeared as the first Google hit. Thanks!