Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2005 16:43:29 +0300
From:      Vladimir Tsvetkov <npacemo@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems with Acroread7 port
Message-ID:  <666bdb140510060643p3423de14r@mail.gmail.com>
In-Reply-To: <44br22by4l.fsf@be-well.ilk.org>
References:  <666bdb140510030335w12c98872l@mail.gmail.com> <666bdb140510030749y48e05a98t@mail.gmail.com> <44zmpq1tvk.fsf@be-well.ilk.org> <666bdb140510030857m1bf5de6cr@mail.gmail.com> <447jcu1tej.fsf@be-well.ilk.org> <666bdb140510031028l29b3ed2cx@mail.gmail.com> <44ek71beuv.fsf@be-well.ilk.org> <666bdb140510040802r781d7ec5r@mail.gmail.com> <666bdb140510050812j1884b3d0s@mail.gmail.com> <44br22by4l.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
06 Oct 2005 08:58:34 -0400, Lowell Gilbert
<freebsd-questions-local@be-well.ilk.org>:
> Vladimir Tsvetkov <npacemo@gmail.com> writes:
>
> > Now acroread7 runs, but during start it prints in an error-message
> > dialog the following message:
> >
> > There was an error while loading the plug-in 'PPKLite.api.'
> > The plug-in failed to initialize.
> >
> > Oddly, this message is shown only when I start Acroread7 under root.
> > Another problem is the behaviour of Firefox + Acroread Plug-in. When I
> > try to access ot to load from the disk *.PDF documents, Firefox
> > freezes when the initialization window of Acroread7 stops on:
> >
> > Loading EWH.api...
> >
> > Than the firefox window is not responding.
> > What causes this problem?
>
> It's probably an environment setting; my guess would be PATH.
>
> But my advice would be not to run X as root anyway.

In order to start an X application as root, you do not need to run X
as root. I simply use su, and start the application from the command
line as root.

When I use Acroread7 as a standalone application (not as a plug-in to
Firefox), it works just file, despite the error message dialog above
informing about the problems with the incorrect loading of those APIs.

I could be a PATH problem, but it also could be a lack of a required
library. First, I should assure that all the reguired ports for
Acroread7 are installed correctly and up-to-date.

Solving the problems with those stale dependencies looks more like a
intuitive work, and I'm still on the stage "Try and Error". Maybe
gaining the experience will formalize that process, but it would be of
great help to me, if you could supply some heuristics for solving this
kind of problems. Unfortunatelly, I couldn't find much on this topic.

Vladimir



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?666bdb140510060643p3423de14r>