From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 13:43:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA27916A41F for ; Thu, 6 Oct 2005 13:43:50 +0000 (GMT) (envelope-from npacemo@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C55B43D6B for ; Thu, 6 Oct 2005 13:43:31 +0000 (GMT) (envelope-from npacemo@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so160975nzd for ; Thu, 06 Oct 2005 06:43:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S/BTAVd4/9tH3EP/OmSOoy9Ed1UEV2NAqiCT2AvoSRy7iKTOOie1TvZ1qH8feBmVXpDD0XJjlyWQ/vmonph5YwzQQaCFRNnMBR73kiDYMC4W9Uo+d9uPMS5XeUPXdJm1yHCY3DubWDuCGN0RJnKz0JT+sKxkmxkll7kVGBm8dGA= Received: by 10.36.23.10 with SMTP id 10mr376883nzw; Thu, 06 Oct 2005 06:43:29 -0700 (PDT) Received: by 10.36.250.66 with HTTP; Thu, 6 Oct 2005 06:43:29 -0700 (PDT) Message-ID: <666bdb140510060643p3423de14r@mail.gmail.com> Date: Thu, 6 Oct 2005 16:43:29 +0300 From: Vladimir Tsvetkov To: freebsd-questions@freebsd.org In-Reply-To: <44br22by4l.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> Subject: Re: Problems with Acroread7 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vladimir Tsvetkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2005 13:43:51 -0000 06 Oct 2005 08:58:34 -0400, Lowell Gilbert : > Vladimir Tsvetkov 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