From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 15 12:41:58 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 199AF1065741 for ; Thu, 15 Apr 2010 12:41:58 +0000 (UTC) (envelope-from stacy@Millions.Ca) Received: from mail-gw-0.millions.ca (www.millions.ca [96.53.2.246]) by mx1.freebsd.org (Postfix) with ESMTP id 285958FC08 for ; Thu, 15 Apr 2010 12:41:54 +0000 (UTC) Received: from bonsai.millions.ca (Bonsai.Millions.Ca [192.168.64.4]) by oak.millions.ca (8.14.2/8.14.2) with ESMTP id o3DJfjdO066539; Tue, 13 Apr 2010 13:41:46 -0600 (MDT) (envelope-from stacy@millions.ca) Message-ID: <4BC4C8F9.50901@millions.ca> Date: Tue, 13 Apr 2010 13:41:45 -0600 From: Stacy Millions User-Agent: Thunderbird 2.0.0.24 (X11/20100408) MIME-Version: 1.0 To: Daisuke Aoyama References: <28976d8065c7ecca24a2b3bacd01fcb7@bluelife.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox 3.1.6 does not work under i386 kernel X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 12:41:58 -0000 Daisuke Aoyama wrote: > The PR's patch use check_png function in configure to set > SDK_VBOX_LIBPNG_INCS, SDK_VBOX_LIBPNG_LIBS. > It seems to be smart than mine, of course :) > But I can't understand sed replacement section at line 1630. > I don't need it for this issue. So my suggested patch is attached in > this mail. As the author of PR ports/145457 and its patch, maybe I can shed some light on this. To create the patch, I did the following cd virtualbox-ose make extract mkdir xxx cp work/VirtualBox-3.1.6_OSE/configure xxx/configure.orig make patch vi work/VirtualBox-3.1.6_OSE/configure make check_png and SDK_VBOX_LIBPNG* changes cp work/VirtualBox-3.1.6_OSE/configure xxx/configure cp files/patch-configure xxx/patch-configure.orig cd xxx diff -u configure.orig configure > patch-configure diff -u patch-configure.orig patch-configure > pr.patch The "sed replacement section" is introduced by the make patch step, but I was at a loss to explain how/why. Since I had what appeared to be a working patch, I left it alone. > Also there is my reproductive step by using ESXi Virtual Machine. > I believe you can do. > > I tested VM(Mem:768M, HDD:8GB) on ESXi4. I just went through a similar exercise with 8.0-RELEASE on bare metal. > 6.) run VBoxManage > # rehash > # VBoxManage list vms > > 7.) you can get "ERROR: failed to create a session object!" :-) I got the same result. -stacy