Oracle's VBox 4.1.x do not ship with VBoxPython module for Lion. (only for Leo and Snow Leo)
You must take Jeremy's compiled "VBoxPython2_7.so" module and put to:
/Applications/VirtualBox.app/Contents/MacOS/
Download it from:
http://qumble.org/downloads/VBoxPython2_7.so-or-
https://rcpt.yousendit.com/1319224516/0 ... 3462b7d772become root:
$ sudo su -
FOR PROGRAMMERS:
------
To compile VBoxPython2_7.so yourself (if you need to), you have to patch VBox sources:
http://her.gr.distfiles.macports.org/mi ... h-sdk.diffand then compile VBox using the following procedure:
https://www.virtualbox.org/wiki/Mac%20O ... structionsIf you need to compile for a compiled version of Python (as a Framework), you need to edit src/libs/xpcom18a4/python/gen_python_deps.py
and replace:
prefixes = ['/Developer/SDKs/MacOSX10.4u.sdk/usr', '/Developer/SDKs/MacOSX10.5.sdk/usr', '/Developer/SDKs/MacOSX10.6.sdk/usr', '/Developer/SDKs/MacOSX10.7.sdk/usr']
by the following (if you compile Python 2.7):
prefixes = ['/Library/Frameworks/Python.framework/Versions/2.7/']
------
UPDATE: Oracle ships this with future ver of VBox:
https://www.virtualbox.org/changeset/39213-Technologov