It is currently Mon Sep 25, 2017 11:25 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How-To install VBoxPython API module on Mac OS X Lion
PostPosted: Fri Nov 11, 2011 6:29 am 
Offline

Joined: Fri Mar 11, 2011 7:39 pm
Posts: 603
Location: Israel
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 ... 3462b7d772

become 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.diff

and then compile VBox using the following procedure:

https://www.virtualbox.org/wiki/Mac%20O ... structions

If 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




Top
 Profile  
 
 Post subject: Re: How-To install VBoxPython API module on Mac OS X Lion
PostPosted: Fri Dec 16, 2011 10:28 am 
Offline

Joined: Fri Mar 11, 2011 7:39 pm
Posts: 603
Location: Israel
Jeremy:
Please move it to "install->Mac OS X" forum.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO