From owner-freebsd-ports@FreeBSD.ORG Tue Dec 13 05:52:44 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 221B0106564A; Tue, 13 Dec 2011 05:52:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 07CD78FC16; Tue, 13 Dec 2011 05:52:42 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id pBD5qTBu038941; Tue, 13 Dec 2011 14:52:39 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id pBD5qKUG066068; Tue, 13 Dec 2011 14:52:24 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Tue, 13 Dec 2011 14:52:02 +0900 (JST) Message-Id: <20111213.145202.186237260555725256.hrs@allbsd.org> To: dougb@FreeBSD.org From: Hiroki Sato In-Reply-To: <4EE6DCE1.5090400@FreeBSD.org> References: <4EE2A456.602@FreeBSD.org> <4EE6DCE1.5090400@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Tue_Dec_13_14_52_02_2011_385)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Tue, 13 Dec 2011 14:52:40 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-ports@FreeBSD.org Subject: Re: Clicking URLs with acroread8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 05:52:44 -0000 ----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Doug Barton wrote in <4EE6DCE1.5090400@FreeBSD.org>: do> On 12/09/2011 16:14, Doug Barton wrote: do> > I receive PDF documents with URLs that I need to click, and so I would do> > like to get that working in acroread8. I symlink'ed firefox into do> > /compat/linux/usr/local/bin, and set the preferences in acroread do> > accordingly. That got me from a "firefox not found" error to this, do> > printed out in the terminal: do> > do> > libfam.so.0: cannot open shared object file: No such file or directory do> > Failed to load module: /usr/lib/gio/modules/libgiofam.so do> > do> > Since I have that lib installed as a result of the linux-base port, I do> > assume that what is missing is something that it depends on. do> > do> > Any help resolving this is welcome. do> > do> > Alternatively, if I could extract the URL from the link, that'd be do> > awesome too. :) do> do> I tried everyone's suggestions, no luck. do> do> Adding the gamin port prevents the error, but doesn't make the url do> clicking work. do> do> I tried an sh version of Sean's script, caused my system to lock up do> completely. do> do> I tried 'export LD_LIBRARY_PATH='' ; acroread8 file.pdf' and got a long do> wristwatch icon, but never any actual result. Hmm, can you see what happens by specifying a script which contains the following in the browser command field and clicking a URL, and then invoking firefox at command line prompt with the arguments and the environment variables found in /tmp/env.log? #!/bin/sh (echo "$@"; env ) > /tmp/env.log I think by doing it we can see whether browser invocation works or not. -- Hiroki ----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk7m6AIACgkQTyzT2CeTzy3NpgCgudvI3AQh2aBFgoAdpwne4sA0 zOIAn0CpDD0D4cr2uP40z7SUIFzkgcEY =JxY8 -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Dec_13_14_52_02_2011_385)----