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 on OS X"

From wiki.openlighting.org

Jump to: navigation, search
(Run autoreconf)
(Basic setup)
Line 3: Line 3:
 
== Basic setup ==
 
== Basic setup ==
  
* Install xcode
+
* Install xcode [[http://developer.apple.com/technology/xcode.html]]
* install git
+
* install git [[http://code.google.com/p/git-osx-installer/]]
 
* install mac ports [[http://www.macports.org/]]
 
* install mac ports [[http://www.macports.org/]]
  

Revision as of 10:38, 9 February 2009

This page describes how to get LLA 0.3 working on OS X.

Basic setup

  • Install xcode [[1]]
  • install git [[2]]
  • install mac ports [[3]]

Use Mac Ports to install stuff

$ port install pkgconfig protobuf-cpp cppunit unittest-cpp

Set some env vars

set $PATH to point to something sane

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export CPPFLAGS="-I/opt/local/var/macports/software/protobuf-cpp/2.0.2_0/opt/local/include/"
export LDFLAGS="-L/opt/local/var/macports/software/protobuf-cpp/2.0.2_0/opt/local/lib/"


Optionally install microhttpd and ctemplate

If you want the http interface you need these

Run autoreconf

If this is the first time run with -i to install the missing files

autoconf -i

Do the usual steps

./configure
make
make check
sudo make install