SCIENTIFIC-LINUX-USERS Archives

June 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Peter Wainwright <[log in to unmask]>
Reply To:
Peter Wainwright <[log in to unmask]>
Date:
Fri, 8 Jun 2007 18:51:36 +0100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (969 bytes) , acroread.patch (1621 bytes) , signature.asc (194 bytes)
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



ATOM RSS1 RSS2