From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 20:45:19 2009 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 3A21E1065670 for ; Thu, 17 Sep 2009 20:45:19 +0000 (UTC) (envelope-from jeronimocalvop@googlemail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id B874B8FC12 for ; Thu, 17 Sep 2009 20:45:18 +0000 (UTC) Received: by bwz27 with SMTP id 27so297808bwz.43 for ; Thu, 17 Sep 2009 13:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=RxisN2K733YQu1GyMlVdnxcN+XHMMvQX/pVeezpf3ac=; b=Kot3tDvoou1zOPJOSg6eF8wJmym65tsDMf+no/I7nLn+VnCn/R7oQCDuZyQe/48Iss Y5k+A3IviYUKxRVMKhzUm/pFCWZAb5KWEntduqqLkxgelXz1ltwgVLS3wLF0QUco3JjJ Ehv1HfsJ+4Ja0tHLyaCYRaZvfDC4n7TQa+SxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sXf4TiJ/4RPIfsNUDIqYchsPR1LQaTvsuUzsU5pxSliq0r0nK9xcvRYOnXG+a0pBiI RrL42nKrcF6vLPqaNKxUIXs8cebWL39OnZfMhhcyG8IgBmT3vi7djGLuYn6VD5SYVWUl LlOAfcdnw+nKAHJLfMkFNmOia3iyMITzq2zwg= MIME-Version: 1.0 Received: by 10.204.162.143 with SMTP id v15mr791307bkx.50.1253220317468; Thu, 17 Sep 2009 13:45:17 -0700 (PDT) In-Reply-To: <1253219698.1320.13.camel@coyote.lerwick.hopto.org> References: <20090917190053.GA5250@osiris.chen.org.nz> <1253218609.1320.4.camel@coyote.lerwick.hopto.org> <1253219698.1320.13.camel@coyote.lerwick.hopto.org> Date: Thu, 17 Sep 2009 20:45:17 +0000 Message-ID: From: Jeronimo Calvo To: Craig Butler Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions , Jonathan Chen Subject: Re: Virtualbox does not lunch (FREEBSD 7.2 STABLE) 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: Thu, 17 Sep 2009 20:45:19 -0000 I am getting the following error on #make deinstall # make deinstall ===> Deinstalling for emulators/virtualbox ===> Deinstalling virtualbox-3.0.51.r22226 pkg_delete: file '/usr/local/lib/virtualbox/nls' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox/nls' pkg_delete: unable to completely remove directory '/usr/local/lib/virtualbox' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) Btw, skipping that step and doing a #make reinstall it only takes few secs... and gives VirtualBox was installed. but when i run it as a normal user i get: $ VirtualBox bash: /usr/local/bin/VirtualBox: No such file or directory 2009/9/17 Craig Butler : > On Thu, 2009-09-17 at 20:32 +0100, Jeronimo Calvo wrote: >> True... >> >> when runned >> >> $truss VirtualBox >> >> it gives me Error in SUPR3hardenedmain... >> >> How do i reinstall the package properly to get VBOX_WITH_HARDENING = 0 ? > > # cd /usr/ports/emulators/virtualbox/ > # make clean > # make extract patch > # edit work/virtualbox-3.0.51r22683/Config.kmk (or LocalConfig.kmk) so > that VBOX_WITH_HARDENING = 0 > # make > # make deinstall > # make reinstall > > /Craig B > >> >> Thanks a lot!! >> >> 2009/9/17 Craig Butler : >> > On Fri, 2009-09-18 at 07:00 +1200, Jonathan Chen wrote: >> >> On Thu, Sep 17, 2009 at 06:36:08PM +0000, Jeronimo Calvo wrote: >> >> > Hi folks! >> >> > >> >> > I do have a problem when launching VirtualBox (installed from source), >> >> > when launched as a normal user it doesnt lunch. Takes few secs... but >> >> > nothing happens... >> >> >> >> Did you "kldload vboxdrv.ko"? >> > >> > Hi >> > >> > Have you tried running it under truss ? >> > >> > I think you might find that it will say - Error in SUPR3HardenedMain >> > and hang... >> > >> > Solution; >> > Rebuild and install Virtualbox port after editing Config.kmk so that >> > VBOX_WITH_HARDENING = 0 >> > >> > Hope it helps >> > >> > Cheers >> > >> > Craig Butler >> > >> > >> > > >