Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229177 - app-text/acroread-8.1.2 won't work with firefox
Summary: app-text/acroread-8.1.2 won't work with firefox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 06:54 UTC by Pascal Dürsteler
Modified: 2008-07-01 07:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Dürsteler 2008-06-24 06:54:42 UTC
app-text/acroread-8.1.2-r2  USE="cups nsplugin -ldap -minimal"

When trying to display a pdf in Firefox, a message appears; "Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the prolem persists, please reinstall the application".

(re)installed acroread several times, always the same issue. I'm not really sure how and where to change path vars, export didn't worked for me. I just know that there's a link or a path missing.

Reproducible: Always

Steps to Reproduce:
1. Open firefox
2. Open a website which links to a pdf

Actual Results:  
"Could not launch Adobe Reader 8.1.2. Please make sure it exists in PATH variable in the environment. If the prolem persists, please reinstall the application".

Expected Results:  
PDF shows up

Temporary workaround:

ln -s /opt/Adobe/Reader8/bin/acroread /usr/bin/acroread
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2008-06-24 17:24:58 UTC
/opt/bin/acroread should be a symlink pointing to /opt/Adobe/Reader8/bin/acroread and thus should be in $PATH, defined by /etc/env.d/00basic which looks like this on my system:

PATH="/opt/bin"
ROOTPATH="/opt/bin"
LDPATH="/usr/local/lib"
MANPATH="/usr/local/share/man:/usr/share/man"
INFOPATH="/usr/share/info"
CVS_RSH="ssh"
CONFIG_PROTECT_MASK="/etc/gentoo-release"

/etc/env.d/00basic belongs to sys-apps/baselayout-2.0.0, please verify.
Comment 2 Pascal Dürsteler 2008-06-25 06:14:20 UTC
(In reply to comment #1)
> /opt/bin/acroread should be a symlink pointing to
> /opt/Adobe/Reader8/bin/acroread and thus should be in $PATH, defined by
> /etc/env.d/00basic which looks like this on my system:
> 
> PATH="/opt/bin"
> ROOTPATH="/opt/bin"
> LDPATH="/usr/local/lib"
> MANPATH="/usr/local/share/man:/usr/share/man"
> INFOPATH="/usr/share/info"
> CVS_RSH="ssh"
> CONFIG_PROTECT_MASK="/etc/gentoo-release"
> 
> /etc/env.d/00basic belongs to sys-apps/baselayout-2.0.0, please verify.
> 

verified, got the same settings but that hadn't worked for me without the symlink.
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2008-06-30 07:47:07 UTC
Could you please post the output of

echo $PATH

Also, does it fail to launch as well when you start acroread from a X11 terminal?
Comment 4 Pascal Dürsteler 2008-06-30 10:55:12 UTC
(In reply to comment #3)

re-emerged acroread to double-check, same results. 

triton / # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin

triton / # acroread
bash: /usr/bin/acroread: No such file or directory


still need to ln -s /opt/Adobe/Reader8/bin/acroread /usr/bin/acroread
Comment 5 Timo Gurr (RETIRED) gentoo-dev 2008-06-30 12:21:23 UTC
(In reply to comment #4)
> triton / # echo $PATH
> /sbin:/bin:/usr/sbin:/usr/bin

Please post the output of echo $PATH when run as the user under which you want to start firefox/acroread, not as root.
Comment 6 Pascal Dürsteler 2008-06-30 13:46:29 UTC
sorry, happened in a hurry.


pduersteler@triton ~ $ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/qt/3/bin

Comment 7 Timo Gurr (RETIRED) gentoo-dev 2008-06-30 14:22:25 UTC
(In reply to comment #6)
> sorry, happened in a hurry.

No problem. :)

> pduersteler@triton ~ $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/qt/3/bin

Looks good to me, /opt/bin is in your path. I'm out of ideas soon..

ls -la /opt/bin/
lrwxrwxrwx  1 root root  31 26. Mär 17:30 acroread -> /opt/Adobe/Reader8/bin/acroread

so launching acroread on command line should really work..
what's the exact error message you get after trying to launch acroread from command line (delete your manual created symlink before though)?
Comment 8 Pascal Dürsteler 2008-07-01 07:34:36 UTC
that's awkward! Now it works, no idea why this is so. Yesterday i still had the issue and now, after re-merging it the ~ 8 time it works. Can launch it from commandline and firefox also displays pdfs..

Im sorry, really, no idea why this is so. :-/