[vbox-dev] building and running VirtualBox on Mac OS X
egor at fine.kiev.ua
Mon Sep 3 07:28:48 PDT 2007
On 3 сент. 2007, at 17:02, Knut St. Osmundsen wrote:
>> I'm trying to build VirtualBox from SVN on intel Mac OS X 10.4.10
>> last dev tools. I found the kLdr package "from month ago" and put the
>> source into src/VBox/Runtime/kLdr, I configure as:
>> ./configure --disable-sdl-ttf
>> --with-g++=/opt/local/bin/i386-elf-g++-3.4.3 --ose
> The gcc and g++ compilers you point configure to here aren't right. I
> guess that's because the gcc version check logic in configure didn't
> account for mac os x using gcc 4.0.x. That's been fixed now. So,
> ./configure without any arguments should work fine again.
As it is written at Mac OS X build instructions page, I had to
install i386-elf-gcc port. So, should I use stock gccs? I'll try now.
>> It builds, though, I had to tweak makefiles to omit non-existing
>> installation and USB support, but it's minor.
> I've fixed makefiles so that now tweaks should be necessary.
One more little fix, I guess :)
--- src/VBox/Installer/Makefile.kmk (revision 4497)
+++ src/VBox/Installer/Makefile.kmk (working copy)
@@ -23,9 +23,6 @@
SUBDIRS.linux = linux
- SUBDIRS.darwin = darwin
> I've fixed this problem. The src/VBox/VMM/Makefile.kmk had an
> VBOX_OSE hack. If you've loaded VBoxDrv.kext and checked out kLdr
> correctly, it should work now. The kext can be loaded using the
> script found in out/darwin.x86/release/dist. kLdr you can get by
> entering src/VBox/Runtime and typing:
> svn co http://svn.netlabs.org/repos/libc/trunk/kLdr@3523 kLdr
Yes, I have it (took some time to figure out where to find kLdr
repository, though); Should I build with it or without it? What's the
>> Even with "fake" specified, it doesn't boot Windows; after the
>> splash screen, the virtualbox segfaults. Extensions installed.
>> starts to boot, but very slow. Didnt' tested if it can finish the
>> but kernel is working, that's for sure.
> The fake mode is very slow. It's not a priority (yet) to do anything
> about that as its only purpose it to serve as a milestone when porting
> VirtualBox to a new host OS.
Thank you, will try now and feedback.
More information about the vbox-dev