I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error
Any clue?
On 10/30/06, Florin Andrei florin@andrei.myip.org wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error
Any clue?
Yes, Florin. Read the following thread:
http://marc.theaimsgroup.com/?l=fedora-list&m=116211466814637&w=2
Paul
On Monday 30 October 2006 02:17, Paul Smith wrote:
On 10/30/06, Florin Andrei florin@andrei.myip.org wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error
Any clue?
Yes, Florin. Read the following thread:
http://marc.theaimsgroup.com/?l=fedora-list&m=116211466814637&w=2
Paul
I just did that to my copy of 7.0.8, but my symptoms were somewhat different in that it would probably display the page, but clicking on the close button locked things up for about 2 minutes, at which point firefox itself went away. Now I'm waiting for another interesting .pdf to come by for testing purposes.
Install the newest Adobe RPM from the adobe website, which for me is AdobeReader_enu-7.0.8-1
Then the attached patch fixes the problem you see in there.
/usr/local/Adobe/Acrobat7.0/bin
You know, in a terminal run "patch < acrobat.patch" in that directory.
On 11/20/06, Gene Heskett gene.heskett@verizon.net wrote:
On Monday 30 October 2006 02:17, Paul Smith wrote:
On 10/30/06, Florin Andrei florin@andrei.myip.org wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error
Paul Johnson wrote:
Install the newest Adobe RPM from the adobe website, which for me is AdobeReader_enu-7.0.8-1
Then the attached patch fixes the problem you see in there.
/usr/local/Adobe/Acrobat7.0/bin
You know, in a terminal run "patch < acrobat.patch" in that directory.
On 11/20/06, Gene Heskett gene.heskett@verizon.net wrote:
On Monday 30 October 2006 02:17, Paul Smith wrote:
On 10/30/06, Florin Andrei florin@andrei.myip.org wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error
--- acroread.orig 2006-10-28 13:28:07.000000000 +0200 +++ acroread 2006-10-28 13:28:52.000000000 +0200 @@ -246,6 +246,7 @@ if [ -z "$2" -o "$2" = "$1" ] ; then echo "$1" else
- first="`expr "$2" : '([^:]*):'`" if [ "$first" = "$1" ] ; then echo "$2"
@@ -409,14 +410,16 @@ fi
mfile=`basename $ifile`
echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\).\([0-9]*\)" 2>/dev/null
if [ $? -ne 0 ]; then
return 1
if echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9][0-9]\)00.\([0-9]*\)" 2>/dev/null
- then
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9][0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
return 0
- elif echo $mfile | grep -q "libgtk-x11-([0-9]*).0.so.0.([0-9])00.([0-9]*)" 2>/dev/null
- then
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\10\2\3/g'
return 0 fi
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
return 0
return 1
fi
return 1
@@ -640,7 +643,7 @@ # Check the version of gtk and update the LD_LIBRARY_PATH if required.
if [ "`uname -s`" = "Linux" ]; then
- MIN_GTK_VERSION="240"
- MIN_GTK_VERSION="2040" check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
fi
Thanks, this appears to work. The acid test for me will be when FF see's a .pdf, and calls acroread to display it. If I can quit that w/o waiting around for about 1:30 before the exit x I clicked on to work, I'd say its fixed.
But I'm confused, my question post dates 11/20/06, and it's now 12/08/06, so I'd very nearly forgotten about it. A lack of short term memory at my age is a curse.
Thanks again.
Gene Heskett wrote:
Paul Johnson wrote:
Install the newest Adobe RPM from the adobe website, which for me is AdobeReader_enu-7.0.8-1
Then the attached patch fixes the problem you see in there.
/usr/local/Adobe/Acrobat7.0/bin
You know, in a terminal run "patch < acrobat.patch" in that directory.
On 11/20/06, Gene Heskett gene.heskett@verizon.net wrote:
On Monday 30 October 2006 02:17, Paul Smith wrote:
On 10/30/06, Florin Andrei florin@andrei.myip.org wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error
--- acroread.orig 2006-10-28 13:28:07.000000000 +0200 +++ acroread 2006-10-28 13:28:52.000000000 +0200 @@ -246,6 +246,7 @@ if [ -z "$2" -o "$2" = "$1" ] ; then echo "$1" else
- first="`expr "$2" : '([^:]*):'`" if [ "$first" = "$1" ] ; then echo "$2"
@@ -409,14 +410,16 @@ fi
mfile=`basename $ifile`
echo $mfile | grep -q
"libgtk-x11-([0-9]*).0.so.0.([0-9]*).([0-9]*)" 2>/dev/null
if [ $? -ne 0 ]; then
return 1 + if echo $mfile | grep -q
"libgtk-x11-([0-9]*).0.so.0.([0-9][0-9])00.([0-9]*)" 2>/dev/null
- then
echo $mfile| sed
's/libgtk-x11-([0-9]*).0.so.0.([0-9][0-9])00.([0-9]*)|(.*)/\1\2\3/g'
return 0
- elif echo $mfile | grep -q
"libgtk-x11-([0-9]*).0.so.0.([0-9])00.([0-9]*)" 2>/dev/null
- then
echo $mfile| sed
's/libgtk-x11-([0-9]*).0.so.0.([0-9])00.([0-9]*)|(.*)/\10\2\3/g'
return 0 fi
echo $mfile| sed
's/libgtk-x11-([0-9]*).0.so.0.([0-9])00.([0-9]*)|(.*)/\1\2\3/g'
return 0
return 1 fi
return 1
@@ -640,7 +643,7 @@ # Check the version of gtk and update the LD_LIBRARY_PATH if required.
if [ "`uname -s`" = "Linux" ]; then
- MIN_GTK_VERSION="240"
- MIN_GTK_VERSION="2040" check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns
0 if found gtk >= 2.4 fi
Thanks, this appears to work. The acid test for me will be when FF see's a .pdf, and calls acroread to display it. If I can quit that w/o waiting around for about 1:30 before the exit x I clicked on to work, I'd say its fixed.
But I'm confused, my question post dates 11/20/06, and it's now 12/08/06, so I'd very nearly forgotten about it. A lack of short term memory at my age is a curse.
You're not looking at it right, Gene.
Old man enters doctor's office.
Doctor: Well, I have bad news, and I have worse news. Old Man: Ok, give me the worse news first. Doctor: You've got cancer, and you are going to die in 6 mos. Old Man: Oh. Hmm. Well, give me the bad news. Doctor: You also have Alzheimer's disease. Old Man: (after a pause to let the news sink in) Well, at least it isn't cancer!
Mike
Hello!
Sorry, could I get a patch for AdobeReader_enu-7.0.8-1 too :)
Gene Heskett wrote:
Paul Johnson wrote:
Install the newest Adobe RPM from the adobe website, which for me is AdobeReader_enu-7.0.8-1
Then the attached patch fixes the problem you see in there.
/usr/local/Adobe/Acrobat7.0/bin
You know, in a terminal run "patch < acrobat.patch" in that directory.
these seem to be the definitive working corrections to edit in the acroread executable:
[root@hal9000 bin]# pwd /usr/local/Adobe/Acrobat7.0/bin [root@hal9000 bin]# diff acroread.orig acroread 418c418 < echo $mfile| sed 's/libgtk-x11-([0-9]*).0.so.0.([0-9])00.([0-9]*)|(.*)/\1\2\3/g' ---
echo $mfile| sed
's/libgtk-x11-([0-9]*).0.so.0.([0-9]*)00.([0-9]*)|(.*)/\1\2\3/g' 643c643 < MIN_GTK_VERSION="240" ---
MIN_GTK_VERSION="2040"
On Tue, Dec 19, 2006 at 06:20:16PM +0100, Roberto Ammendola wrote:
these seem to be the definitive working corrections to edit in the acroread executable:
[root@hal9000 bin]# pwd /usr/local/Adobe/Acrobat7.0/bin [root@hal9000 bin]# diff acroread.orig acroread 418c418
That seems to work here. Thanks!
Florin Andrei wrote:
I got acroread-7.0.5-2.2.fc5.rf.nosrc.rpm from here:
http://dries.ulyssis.org/rpm/packages/acroread/info.html
I extracted the spec file. I downloaded the latest acroread tar.gz from Adobe, then adjusted the spec for the new version. Then rebuilt the acroread binary package.
But when I launch acroread, I get a bunch of messages like this:
expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error expr: syntax error
Any clue?
The rpm from Adobe works perfectly on my FC6: http://www.adobe.com/products/acrobat/readstep2.html