From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 10 22:14:09 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A328D1065672 for ; Mon, 10 Mar 2008 22:14:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 482058FC18 for ; Mon, 10 Mar 2008 22:14:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 96E0B41C752; Mon, 10 Mar 2008 22:50:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id eQdKYLIqzWIu; Mon, 10 Mar 2008 22:50:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 0CC1041C749; Mon, 10 Mar 2008 22:50:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 61E7D44487F; Mon, 10 Mar 2008 21:45:44 +0000 (UTC) Date: Mon, 10 Mar 2008 21:45:44 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Palle Girgensohn In-Reply-To: <08EA672FEF40AD31704D0F1B@rambutan.pingpong.net> Message-ID: <20080310214327.V50685@maildrop.int.zabbadoz.net> References: <08EA672FEF40AD31704D0F1B@rambutan.pingpong.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-amd64@freebsd.org Subject: Re: running 32-bit mplayer (win32codecs) on FreeBSD-7.0-amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 22:14:09 -0000 On Mon, 10 Mar 2008, Palle Girgensohn wrote: > I've found some discussions about how to use a jail to build 32-bit ports on > amd64, bu my need is simpler, I just need to be able to run win32codecs on an > amd64 machine. Do I need to > > 1. build the relevant package chain on a i386 machine with the same major > FreeBSD version, using LOCALBASE=/something-32 > > 2. install the packages on the amd64 machine, in a separate root > /something-32 > > 3. set up ldconfig32_paths on the amd64 machine > > 4. just run the binary from the /something-32/path > > and hopefully it will work? So basically what I would try first... just build everything natively on amd64. If the (one specific) port refuses to build on amd64 comment out the ONLY_FOR_ARCHS= i386 and simply build and install it. It might just work... -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.