|
|
| (47 intermediate revisions by 15 users not shown) |
| Line 1: |
Line 1: |
| This page describes how to get LLA 0.3 working on OS X.
| | #REDIRECT [[Download_%26_Install_OLA#Mac_OS_X]] |
| | |
| == Basic setup ==
| |
| | |
| * Install xcode [[http://developer.apple.com/technology/xcode.html]]
| |
| * install git [[http://code.google.com/p/git-osx-installer/]]
| |
| * install mac ports [[http://www.macports.org/]]
| |
| | |
| == 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 (you should also make sure you point it at your ctemplate and libmicrohttpd)
| |
| | |
| export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
| |
| export CPPFLAGS="-I/opt/local/var/macports/software/protobuf-cpp/2.0.3_0/opt/local/include/"
| |
| export LDFLAGS="-L/opt/local/var/macports/software/protobuf-cpp/2.0.3_0/opt/local/lib/"
| |
| | |
| == Optionally install microhttpd and ctemplate==
| |
| | |
| If you want the http interface you need these
| |
| | |
| * http://www.gnu.org/software/libmicrohttpd/ (Currently you need to install libgcrypt too for this library to work)
| |
| sudo port install libgcrypt
| |
| * http://code.google.com/p/google-ctemplate/
| |
| | |
| == 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
| |