On Fri, 2007-06-08 at 14:53 +0100, John Hearns wrote: 
> Rob Henderson wrote:
> > I have installed acroread 7 using either with the rpm package or with the
> > tar file. Both times the acroread program gives the error
> > 
> > expr: syntax error
> > 
> > repeatedly
> 
> Try:
> 
> sh -x /usr/local/Adobe/Acrobat7.0/bin/acroread  <filename>.pdf
> 
> 
> There are 12 occurences of 'expr' in my copy of acroread,
> (Fedora Core 6 on my laptop, but I don't think that has any consequence).
> sh -x should tell you which line has the problem.
> Report this back to the list and we can try to figure it out.

The problem is that when acroread parses the Gtk version number
it assumes that the minor version has just 3 digits.  Now Gtk version
2.10.8 has arrived, the library version is libgtk-x11-2.0.so.0.1000.8
which breaks the parser.

I used the attached patch, which should work with any known version of
Gtk (up to x.99.99?) since it pads the version numbers to fixed
length...

Peter