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 Linux"

From wiki.openlighting.org

Jump to: navigation, search
(New page: =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...)
 
Line 16: Line 16:
 
With apt:
 
With apt:
  
   apt-get install libmicrohttpd-dev libmicrohttpd4
+
   apt-get install libmicrohttpd-dev libmicrohttpd4 libcppunit-dev libcppunit-1.12-1
  
 
From source or debian packages:
 
From source or debian packages:

Revision as of 10:32, 19 January 2009

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 xxxx

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:

With apt:

 apt-get install libmicrohttpd-dev libmicrohttpd4 libcppunit-dev libcppunit-1.12-1

From source or debian packages:

 libprotobuf2, libprotobuf-dev, protobuf-compiler
 ProtocolBuffers

From source:

 CTemplate

Configure

If you checked out the sources from git, you'll need to run

 autoreconf

After that run

 ./configure

Building & Testing

Build

 make

Run the tests

 make check

And install LLA

 sudo make install