Opened 15 years ago
Closed 13 years ago
#23080 closed submission (duplicate)
VirtualBox
Reported by: | bm55b@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Virtualization VirtualBox | Cc: | jp@…, phillipao@…, mmitar@…, fracai |
Port: | virtualbox |
Description
Beginning of a Portfile for Sun's VirtualBox Open Source Edition. WARNING, this is incomplete. Author was playing around with it and got stuck. Original Portfile submission after execution requires reboot of machine to fix shell problems. Believe this is due to the VirtualBox build system calling VirtualBox provided 32 bit binaries!! Hmm...
Possibly Sun is building on a 32 bit machine??? Unknown. Want to use this ticket to work with people interested in from source build of VirtualBox. Comments welcome!
Attachments (3)
Change History (13)
Changed 15 years ago by bm55b@…
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|---|
Version: | 1.8.1 |
comment:3 Changed 14 years ago by phillipao@…
Replying to bm55b@…:
Beginning of a Portfile for Sun's VirtualBox Open Source Edition. WARNING, this is incomplete. Author was playing around with it and got stuck. Original Portfile submission after execution requires reboot of machine to fix shell problems. Believe this is due to the VirtualBox build system calling VirtualBox provided 32 bit binaries!! Hmm...
Possibly Sun is building on a 32 bit machine??? Unknown. Want to use this ticket to work with people interested in from source build of VirtualBox. Comments welcome!
It's not too hard to build VirtualBox 3.2.8 for OS X 10.6 on a 32-bit machine. Here's a post explaining it:
http://forums.virtualbox.org/viewtopic.php?f=10&t=34615&p=156830#p156830
I'll try this portfile to see how well it builds in that environment.
comment:6 Changed 14 years ago by mmitar@…
I have managed to compile VirtualBox 4.0.0 against MacPorts' qt4-mac independently. The biggest problem is that VirtualBox is expecting Qt4 framework and MacPorts does not provide one. The solution was to just remove all special handling of "darwin" in VirtualBox build system and pretend it is Linux. And it worked.
I also have to remove some strange ApplicationServices
references in auto-generated file AutoConfig.kmk
, although it could be that this was needed just because I was trying all possible things in different order.
I have also created a file LocalConfig.kmk
as described here. So except Qt4 everything else was straightforward.
I am attaching a patch of all changes I made.
I was doing this for myself so that I can have VirtualBox.app
in Utilities
subdirectory of Applications
directory. So this change is also in the patch.
Changed 14 years ago by mmitar@…
Attachment: | virtualbox-remove-darwin.patch added |
---|
A patch which links VirtualBox against non-framework Qt4
comment:7 Changed 14 years ago by carsomyr@…
Here's my take on VirtualBox. I've been working on it for a while, and everything builds and installs. The kernel modules are even loaded/unloaded by post-activate and pre-deactivate hooks. It should work for anyone running Snow Leopard. Please find attached virtualbox-port-4.0.2.tgz.
Changed 14 years ago by carsomyr@…
Attachment: | virtualbox-port-4.0.2.tgz added |
---|
The port archive for VirtualBox 4.0.2.
comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Version 4.0.4 has been submitted as #28469.
comment:10 Changed 13 years ago by rmstonecipher@…
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Refer to #28469 for current work on porting virtualbox.
Original hacky Portfile for VirtualBox