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.
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 Linux"
From wiki.openlighting.org
(→Configure) |
|||
Line 6: | Line 6: | ||
==Checkout or Download an Archive== | ==Checkout or Download an Archive== | ||
− | + | git clone http://www.nomis52.net/git/lla | |
==Install libraries== | ==Install libraries== | ||
Line 12: | Line 12: | ||
You need a couple of libraries installed for everything to work correctly. Some of these are available as Debian packages but others need to be downloaded. | You need a couple of libraries installed for everything to work correctly. Some of these are available as Debian packages but others need to be downloaded. | ||
− | First up we'll need microhttpd for the embedded web server (Note: | + | First up we'll need microhttpd for the embedded web server (Note: you'll need version >= 0.4.0): |
+ | |||
+ | [ftp://ftp.gnu.org/gnu/libmicrohttpd/ microhttpd] | ||
− | |||
− | apt-get install | + | Install some more libraries with apt: |
+ | |||
+ | apt-get install libcppunit-dev libcppunit-1.12-1 | ||
From source or debian packages: | From source or debian packages: |
Revision as of 09:37, 13 February 2009
Contents
Installing LLA on Debian From GIT/Archive
This describes how to get LLA working on a Debian system. It should be pretty similar for any other Linux based OS.
Checkout or Download an Archive
git clone http://www.nomis52.net/git/lla
Install libraries
You need a couple of libraries installed for everything to work correctly. Some of these are available as Debian packages but others need to be downloaded.
First up we'll need microhttpd for the embedded web server (Note: you'll need version >= 0.4.0):
Install some more libraries with apt:
apt-get install libcppunit-dev libcppunit-1.12-1
From source or debian packages:
libprotobuf2, libprotobuf-dev, protobuf-compiler ProtocolBuffers
From source:
CTemplate
Finally run ldconfig as root to pick up the new libraries
ldconfig
Configure
If you checked out the sources from git, you'll need to run
autoreconf -i
After that run
./configure
Building & Testing
Build
make
Run the tests
make check
And install LLA
sudo make install