Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old July 17th, 2007   #21
wirawan0
Just Give Me the Beans!
 
Join Date: Jul 2007
Beans: 52
Lightbulb Re: How to get Adobe Acrobat Reader to Work

For those who care for absolute correctness: the more correct patch is available online, here:

http://remi.collet.free.fr/files/acroread.patch

Download the patch, and patch the acroread using it.

The way to do it: suppose you download the patch to /tmp/acroread.patch, then:

$ sudo bash
(asking your password then...)

# cd /usr/local/Adobe/Acrobat7.0/bin
# patch < /tmp/acroread.patch
# exit

Now invoke acroread, it should work OK whether the libgtk file was libgtk-x11-2.0.so.0.1000.11 or the old-style libgtk-x11-2.0.so.0.200.0 .

I found a comprehensive discussion here:

http://www.adobeforums.com/cgi-bin/webx?128@@.3bc22d86

HTH,
Wirawan
wirawan0 is offline   Reply With Quote
Old July 20th, 2007   #22
haopeng
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 3
Re: How to get Adobe Acrobat Reader to Work

Quote:
Originally Posted by dxturner View Post
The problem occurs when you have an updated gtk package that has more than one digit in the middle of the version number ... so gtk v 2.9.xxx works, but 2.10.xxx don't!

if you've got gkt 2.1x.xxx you'll need to fix line 418 so that the regex works ... see the forum note on the adobe site:
http://www.adobeforums.com/cgi-bin/webx/.3bc435f2

Line 418 in the acroread script was:

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

but should be:

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

( note the asterisk ' * ' in the second regex ) ... I didn't come up with this solution, just passing it along!
Hi dxturner, I also has the "syntax error" for acroread, I've done the same fix on my ubuntu,
why it still not working for me?

I changed the said line to all the following suggested solutions from this thread,

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)[0-9]\{2\}.\([0-9]*\)\|\(.*\)/\1\2\3/g'
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)000.\([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'

They all not working for me. /usr/bin/acroread does not throw any error it just return with nothing showing after I run. Can you help? Thanks!

my gtk version is
# dpkg -l |grep gtk
ii gtk2-engines 2.10.1-0ubuntu1 theme engines for GTK+ 2.x
ii gtk2-engines-pixbuf 2.10.11-0ubuntu3 Pixbuf-based theme for GTK+ 2.x
ii gtk2-engines-ubuntulooks 0.9.12-4 'ubuntulooks' theme for GTK+ 2.x
haopeng is offline   Reply With Quote
Old July 22nd, 2007   #23
martin28
First Cup of Ubuntu
 
martin28's Avatar
 
Join Date: May 2007
Location: Brussels
Beans: 7
Ubuntu 7.04 Feisty Fawn
Re: How to get Adobe Acrobat Reader to Work

Hello,

I'm running Fiesty Fawn and I'm an Ubuntu beginner. I can't get Acrobat to work.

I installed Acrobat using the .rpm from the site which I converted to .deb using alien. I did it like this because I found a thread that said that was the way to do it.

Then when I tried to run it I got a permission error. When I went to Applications->Office->Adobe Reader and clicked on it I got a messsage that said "Failed to execute child process "acroread" (Permission denied)".

So I googled and found a site that said you had to run sudo chmod 755 /usr/bin/acroread.

I did that and now when I doubleclick on Adobe Reader nothing happens!! I've tried it in the terminal and nothing happens there either, it returns nothing and i'm back to the command prompt.

I've tried changing all the stuff in the thread, about the missing '0' from line 418, but still nothing works.

If anybody has the time/interest to help me get this working I would be very grateful!!

Thanks,
Martin.
martin28 is offline   Reply With Quote
Old July 22nd, 2007   #24
raja
Dipped in Ubuntu
 
raja's Avatar
 
Join Date: Apr 2005
Location: Canada
Beans: 625
The Feisty Fawn Testing
Re: How to get Adobe Acrobat Reader to Work

Quote:
Originally Posted by martin28 View Post
Hello,

If anybody has the time/interest to help me get this working I would be very grateful!!

Thanks,
Martin.
Hi,
I recently installed from the adobe site with the shell script with no problems. Anyway - what is the output of
Code:
acroread
and
Code:
cd /usr/bin
./acroread
__________________
Registered Linux User 425324
Ubuntu user # 12843
Wrapping workspaces in Gnome
Gmail notifier for Dzen
raja is offline   Reply With Quote
Old July 22nd, 2007   #25
Goliath!
Just Give Me the Beans!
 
Join Date: Mar 2007
Location: Austin, TX, USA
Beans: 79
Re: How to get Adobe Acrobat Reader to Work

@Martin28, you might also trying to install Acrobat reader thru Automatix. Instructions are here: http://www.getautomatix.com/wiki/ind...e=Installation
Goliath! is offline   Reply With Quote
Old July 22nd, 2007   #26
raja
Dipped in Ubuntu
 
raja's Avatar
 
Join Date: Apr 2005
Location: Canada
Beans: 625
The Feisty Fawn Testing
Re: How to get Adobe Acrobat Reader to Work

Quote:
Originally Posted by Goliath! View Post
@Martin28, you might also trying to install Acrobat reader thru Automatix. Instructions are here: http://www.getautomatix.com/wiki/ind...e=Installation
Not a very good idea to use automatix for something that can be pretty easily done without it.
Remember that Automatix is not recommended by the Ubuntu team and has caused problems when people upgrade.
__________________
Registered Linux User 425324
Ubuntu user # 12843
Wrapping workspaces in Gnome
Gmail notifier for Dzen
raja is offline   Reply With Quote
Old July 26th, 2007   #27
felix.rommel
A Carafe of Ubuntu
 
Join Date: Apr 2005
Beans: 37
Send a message via ICQ to felix.rommel Send a message via Yahoo to felix.rommel
Re: How to get Adobe Acrobat Reader to Work

Since a few days even Goliath's: method does not work any more. acroread has the following output on command line:

(acroread:5771): Gtk-CRITICAL **: gtk_rc_get_style: assertion `GTK_IS_WIDGET (widget)' failed

Any idea what could cause that error?
felix.rommel is offline   Reply With Quote
Old July 26th, 2007   #28
mwiertz
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 10
Re: How to get Adobe Acrobat Reader to Work

bump! same problem here
mwiertz is offline   Reply With Quote
Old July 29th, 2007   #29
peteryuan301
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 1
Re: How to get Adobe Acrobat Reader to Work

the same problem,all solutions are not work ,my os is 7.04
Quote:
#locate libgtk-x11
/usr/lib/libgtk-x11-2.0.so.0
/usr/lib/libgtk-x11-2.0.a
/usr/lib/libgtk-x11-2.0.la
/usr/lib/libgtk-x11-2.0.so.0.1000.11
/usr/lib/libgtk-x11-2.0.so
peteryuan301 is offline   Reply With Quote
Old July 29th, 2007   #30
felix.rommel
A Carafe of Ubuntu
 
Join Date: Apr 2005
Beans: 37
Send a message via ICQ to felix.rommel Send a message via Yahoo to felix.rommel
Re: How to get Adobe Acrobat Reader to Work

Quote:
Originally Posted by felix.rommel View Post
Since a few days even Goliath's: method does not work any more. acroread has the following output on command line:

(acroread:5771): Gtk-CRITICAL **: gtk_rc_get_style: assertion `GTK_IS_WIDGET (widget)' failed

Any idea what could cause that error?
Sorry, I'm in the wrong forum - thought this is Gutsy development forum - so my problems with Acroread on Gutsy are different then yours on Feisty.

For Feisty users I recommend using Medibuntu repository (http://www.medibuntu.org/repository.php):

Code:
echo "deb http://de.packages.medibuntu.org/ feisty free non-free" | sudo tee -a /etc/apt/sources.list
wget -q http://de.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo apt-get install acroread
Should do the trick for installing Adobe Reader 7.0. Medibuntu offers also interesting packages like Skype, Google Earth and video codecs!
felix.rommel is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:15 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry