Adobe Acroread linux current on SL 7

2014-12-13 Thread Yasha Karant
I fully understand that there are "open source" PDF readers.  I use a 
number of these, as well as Qoppa PDF Studio Pro (under license for fee) 
as a Linux replacement for Adobe Acrobat.  (PDF Studio Pro provides 
essentially all of the features I need that are provided by Adobe 
Acrobat -- and Adobe refuses to port Acrobat to linux.)


Nonetheless, I attempt to keep a functioning copy of Adobe Reader 
(acroread) on my workstation.  This was not an issue under EL 6. 
However, the most recent (last) Adobe Acroread rpm does not run.  I followed


http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/

3b. Install Adobe Reader (acroread) on CentOS/Red Hat (RHEL) 7
Note: On x86_64 bit system, 32-bit dependencies is also installed.

end quote.

With the IA-32 dependencies supposedly installed (yum install of the 
Adobe acroread RPM was successful), the application fails.


Does anyone have SL7 acroread working?  If so, how?

I really do not want to invoke Virtualbox to run MS Win 7 pro to run the 
MS Win version of acroread.


Yasha Karant


Re: Adobe Acroread linux current on SL 7

2014-12-13 Thread Brandon Vincent
On Sat, Dec 13, 2014 at 1:58 AM, Yasha Karant  wrote:
> With the IA-32 dependencies supposedly installed (yum install of the Adobe
> acroread RPM was successful), the application fails.
>
> Does anyone have SL7 acroread working?  If so, how?

After reading your email, I tried installing Acrobat Reader 9.5.5 on a
fresh SL 7 system and the only problem I encountered was that the
depreciated pangox libraries are no longer included with the pango
package. I compiled the library from source and once I ensured all the
dependencies were met, I had no issue starting up acroread.

In your case, the repository you added provides a suitable
pangox-compat package, so as you seem to describe, yum should have
automatically taken care of the dependency resolution.

Can you post the output you receive when you try running "acroread" in
a terminal?

Brandon Vincent


Re: Adobe Acroread linux current on SL 7

2014-12-15 Thread Glenn Morris
Brandon Vincent wrote:

> After reading your email, I tried installing Acrobat Reader 9.5.5 on a
> fresh SL 7 system and the only problem I encountered was that the
> depreciated pangox libraries are no longer included with the pango
> package. I compiled the library from source and once I ensured all the
> dependencies were met, I had no issue starting up acroread.

Can you actually use it to view a pdf?
Does the "Help, About Adobe Reader 9" menu item work?

For me, although just plain "acroread" works, either of the above
actions cause it to crash (in compute_face in libcairo).

(I cheated and just copied libpangox from SL6...)


Re: Adobe Acroread linux current on SL 7

2014-12-15 Thread Yasha Karant

On 12/15/2014 11:13 AM, Glenn Morris wrote:

Brandon Vincent wrote:


After reading your email, I tried installing Acrobat Reader 9.5.5 on a
fresh SL 7 system and the only problem I encountered was that the
depreciated pangox libraries are no longer included with the pango
package. I compiled the library from source and once I ensured all the
dependencies were met, I had no issue starting up acroread.

Can you actually use it to view a pdf?
Does the "Help, About Adobe Reader 9" menu item work?

For me, although just plain "acroread" works, either of the above
actions cause it to crash (in compute_face in libcairo).

(I cheated and just copied libpangox from SL6...


I used yum to erase and install acroread:

[root@jb344 Downloads]# yum erase AdobeReader_enu.i486
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package AdobeReader_enu.i486 0:9.5.5-1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved


 PackageArchVersion Repository Size

Removing:
 AdobeReader_enui4869.5.5-1 @/AdbeRdr9.5.5-1_i486linux_enu135 M

Transaction Summary

Remove  1 Package

Installed size: 135 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing: 
AdobeReader_enu-9.5.5-1.i486 1/1
  Verifying  : 
AdobeReader_enu-9.5.5-1.i486 1/1


Removed:
  AdobeReader_enu.i486 0:9.5.5-1

Complete!
[root@jb344 Downloads]# ls /usr/bin/acroread
ls: cannot access /usr/bin/acroread: No such file or directory
[root@jb344 Downloads]# yum install AdbeRdr9.5.5-1_i486linux_enu.rpm
Loaded plugins: langpacks
Examining AdbeRdr9.5.5-1_i486linux_enu.rpm: AdobeReader_enu-9.5.5-1.i486
Marking AdbeRdr9.5.5-1_i486linux_enu.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package AdobeReader_enu.i486 0:9.5.5-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved


 PackageArchVersion RepositorySize

Installing:
 AdobeReader_enui4869.5.5-1 /AdbeRdr9.5.5-1_i486linux_enu135 M

Transaction Summary

Install  1 Package

Total size: 135 M
Installed size: 135 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 
AdobeReader_enu-9.5.5-1.i486 1/1
  Verifying  : 
AdobeReader_enu-9.5.5-1.i486 1/1


Installed:
  AdobeReader_enu.i486 0:9.5.5-1

Complete!

end yum output

between the erase and install, I verified that /usr/bin/acroread had 
been removed, but it is present again after the install.


from (very long -- posted to note that this same Adobe supplied script 
seemed to work with X86-64 SL6):


 sh -xv /opt/Adobe/Reader9/bin/acroread
#!/bin/sh
#
# Copyright (c) 1996-2007, Adobe Systems Incorporated
# All Rights Reserved
#


ver="9.5.3"
+ ver=9.5.3

if [ "$1" = "-version" ]; then
echo "$ver"
exit
fi
+ '[' '' = -version ']'


LaunchBinary()
{
#We are not LSB compliant yet, so let's not use ld-lsb.so.3 as loader.
#if [ "`uname -s`" = "Linux" ] && [ ! -x /lib/ld-lsb.so.3 ]; then
#exec /lib/ld-linux.so.2 ${1+"$@"}
#else
exec ${1+"$@"}
#fi
}


MkTempInternal()
{
  if [ "${mktemp_count+set}" != "set" ]; then
mktemp_count="0"
  fi

  mktemp_file="/tmp/acrobat.$$.${mktemp_count}"

  while /usr/bin/test -e "$mktemp_file"
  do
mktemp_count="`expr $mktemp_count + 1`"
mktemp_file="/tmp/acrobat.$$.${mktemp_count}"
  done

  touch "$mktemp_file" && chmod 600 "$mktemp_file" && echo "$mktemp_file"
}

MkTemp()
{
  MKTEMP="`which mktemp 2>/dev/null`";
  if [ "$MKTEMP" != "" ]; then
:
  else
MKTEMP="MkTempInternal";
  fi

$MKTEMP /tmp/acrobat.$1
}

readlink()
{
  OLDPWD="`/bin/pwd`"
lfile="$1"

while [ -h "$lfile" -a -f "$lfile" ]; do
  CWD="`dirname "$lfile"`"
if [ "`expr "${CWD}" : "\.\."`" = "2" ]; then
  CWD="`/bin/pwd`/$CWD"
fi
lfile="`basename "$lfile"`"
cd "$CWD"
lfile="`/bin/ls -l "$lfile"|sed 's/^.*-> *\(.*\) *$/\1/'`"
done

if [ -f "$lfile" ]; then
  CWD="`dirname "$lfile"`"
lfile="`basename "$lfile"`"
if [ "`expr "${CWD}" : "\.\."`" = "2" ]; then
  C

Re: Adobe Acroread linux current on SL 7

2014-12-15 Thread Glenn Morris
Glenn Morris wrote:

> For me, although just plain "acroread" works, either of the above
> actions cause it to crash (in compute_face in libcairo).

For the record, this seems to be something related to the GTK theme in use,
maybe. In a fresh user account, it works fine.