From owner-freebsd-questions@FreeBSD.ORG Tue Jun 7 01:40:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A2B2106564A for ; Tue, 7 Jun 2011 01:40:03 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E43688FC21 for ; Tue, 7 Jun 2011 01:40:02 +0000 (UTC) Received: by gxk28 with SMTP id 28so2581252gxk.13 for ; Mon, 06 Jun 2011 18:40:02 -0700 (PDT) Received: by 10.236.143.33 with SMTP id k21mr358375yhj.256.1307410802242; Mon, 06 Jun 2011 18:40:02 -0700 (PDT) Received: from papi.localnet ([177.17.59.224]) by mx.google.com with ESMTPS id i62sm3624498yhm.80.2011.06.06.18.40.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 18:40:01 -0700 (PDT) To: freebsd-questions@freebsd.org From: Mario Lobo Date: Mon, 6 Jun 2011 22:39:14 -0300 X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201106062239.14221.lobo@bsd.com.br> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Virtualbox on 8.2 64-bit (cont) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 01:40:03 -0000 On Monday 06 June 2011 17:56:53 Rob wrote: > I was attempting to install virtualbox on my 8.2-p2 64-bit system this > weekend, and hit a rather curious situation. The pre-packaged version > of virtualbox retrievable by pkg_add is 3.2.12 (which looks in > ports/amd64/packages-8.2-release). Poking around on the ftp server, I > see that packages-8.1-release also has a 3.x version, but > packages-8-stable has the latest 4.0.8. > > I went to look in ports, which contains 4.0.8, and build it myself but I > got an error saying I need to have the 32-bit libraries installed in > order to build virtualbox. > > So, my question is 2-fold: > 1) What is the reason the 64-bit pre-packaged version of virtualbox is > still at the 3.x version? Would there be a problem with installing the > packages (virtualbox and kernel module) from packages-8-stable? > > 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit > libs. Is that possible? Searching around has produced old e-mail > threads indicating this was a problem as of 2 or so years ago with the > 3.x release. If it's not possible to build w/o the 32-bit libs, what do > I need to install? > > Rob You need to rebuild your kernel with options COMPAT_FREEBSD32 # Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)