From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 11:28:15 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C716216A403; Thu, 12 Apr 2007 11:28:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7863113C45A; Thu, 12 Apr 2007 11:28:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5CEF5.dip.t-dialin.net [84.165.206.245]) by redbull.bpaserver.net (Postfix) with ESMTP id DA0582E169; Thu, 12 Apr 2007 13:28:06 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id CE21C5B4882; Thu, 12 Apr 2007 13:28:03 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l3CBS3qQ078719; Thu, 12 Apr 2007 13:28:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 12 Apr 2007 13:28:03 +0200 Message-ID: <20070412132803.twm2froc0sow04cg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 12 Apr 2007 13:28:03 +0200 From: Alexander Leidinger To: Roman Divacky References: <200704120913.l3C9D5lA060207@lurza.secnetix.de> <20070412115026.sx5tdm2aogss4kkc@webmail.leidinger.net> <20070412095811.GA87726@freebsd.org> In-Reply-To: <20070412095811.GA87726@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.ORG, Oliver Fromme , freebsd-ports@FreeBSD.ORG, bsam@FreeBSD.ORG Subject: Re: Printing with Acrobat Reader 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: Thu, 12 Apr 2007 11:28:15 -0000 Quoting Roman Divacky (from Thu, 12 Apr 2007 =20 11:58:11 +0200): >> Acroread will use linux system calls to start the shell. This results >> in the linux shell (/compat/linux/bin/sh) to start (linuxulator >> directory prefixing). The linux shell will use the same linuxulator >> directory prefixing to start /compat/linux/usr/bin/lpr. So we're in >> the same situation like with Acroread. So when you play around with it >> also try to not specify a path to the lpr call and tell us which one >> works. > > this is not entirely true (or I just read it wrong). it works like this > > any binary (fbsd or linux) can run any binary (fbsd or linux). its just th= at > when linux binary wants to run "xyz" it searches /compat/linux first and t= hen > falls back to / > > just a clarification I think you said the same than I did, just differently (Oliver did =20 call lpr with the full (correct?) path in acroread and somehow it =20 didn't work for him). Bye, Alexander. --=20 Whereof one cannot speak, thereof one must be silent. =09=09-- Wittgenstein http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137