Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA Install Using MacPorts"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with "Installing OLA using MacPorts is very easy. It can take a while the first time because you'll need to download XCode & the OLA dependancies. * Install [http://developer.app…")
 
Line 6: Line 6:
 
* Install OLA and all the dependancies by running
 
* Install OLA and all the dependancies by running
  
  $ sudo port install ola
+
  sudo port install ola
 +
 
 +
 
 +
There are different features that can be turned on or off. In the MacPorts world these are known as [http://guide.macports.org/#development.variants variants]. You can see what variants are available for ola by running
 +
 
 +
port variants ola
 +
 
 +
For 0.8.18 this is what you get:
 +
 
 +
<pre>
 +
[+]http: Build with embedded web server
 +
[+]libusb: Build with libusb support
 +
  python26: Enable the Python 2.6 API
 +
    * conflicts with python27
 +
[+]python27: Enable the Python 2.7 API
 +
    * conflicts with python26
 +
  universal: Build for multiple architectures
 +
</pre>
 +
 
 +
The + sign means the variant is enabled. In this instance the ola port will be built with support for the web interface, libusb support and the Python 2.7 client libraries.

Revision as of 21:36, 13 May 2012

Installing OLA using MacPorts is very easy. It can take a while the first time because you'll need to download XCode & the OLA dependancies.


  • Install Xcode . Xcode comes in two versions: XCode 4 which you need to pay for and XCode 3 which is free. XCode 3 works just fine.
  • Install MacPorts, follow the instructions on the site.
  • Install OLA and all the dependancies by running
sudo port install ola


There are different features that can be turned on or off. In the MacPorts world these are known as variants. You can see what variants are available for ola by running

port variants ola

For 0.8.18 this is what you get:

[+]http: Build with embedded web server
[+]libusb: Build with libusb support
   python26: Enable the Python 2.6 API
     * conflicts with python27
[+]python27: Enable the Python 2.7 API
     * conflicts with python26
   universal: Build for multiple architectures

The + sign means the variant is enabled. In this instance the ola port will be built with support for the web interface, libusb support and the Python 2.7 client libraries.