Paul Smith wrote: > On 1/18/07, Remi Collet <Fedora@xxxxxxxxxxxxxxxxx> wrote: >> > Help! >> > >> > I can't use Adobe Reader in Federa Core 6。 >> > >> > expr: syntax error >> > >> > That is what I get in the console >> >> A well known issue >> >> Read (in french) >> http://remi.collet.free.fr/index.php?2007/01/10/273-acrobat-reader-709-et-fedora-core-6 >> >> >> I have a little patch for this >> >> As root : >> cd /tmp >> wget http://remi.collet.free.fr/files/acroread.patch >> cd /usr/local/Adobe/Acrobat7.0/bin >> patch -b </tmp/acroread.patch >> >> Remi. >> >> P.S. don't find a way to send this to Adobe. >> OpenSource is really a better way... > > I do not know whether it is caused by your patch, but when I go to > > Help --> About Adobe Reader 7.0... > > I get the indication that the running version is the 7.0.8. However, > the version that I have installed is the 7.0.9. > > Paul > Hold it. Here is a much less complex patch. That French patch did not work for me. Here are the detailed instructions for repairing the acroread script file: > > Adobe Reader > > If you use either the tar.gz or .rpm files for Adobe Reader 7.08, it > will not work. The fix for this is to open */usr/bin/acroread* as root > (or with sudo) into a text editor (this will be a link to the "real" > file, but nonetheless you will be editing the real one). There are two > lines that need to be edited. > > Look for this line, at about line number 418: > > echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g' > > > and change to: > > echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g' > > > /Note: you are adding an asterix in about the middle/ > > The other line is at about line number 643: > > MIN_GTK_VERSION="240" > > > which needs to be changed to: > > MIN_GTK_VERSION="2040" > > > Save the file, and you're done. > The repair involves correcting a mis-specified regular expression and a mis-specified GTK version number. Temlakos