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 FreeBSD"
From wiki.openlighting.org
m (→OpenBSD) |
(add NetBSD) |
||
Line 37: | Line 37: | ||
− | == | + | ==Tools== |
If you want to run autoreconf (after git clone for example): | If you want to run autoreconf (after git clone for example): | ||
Line 52: | Line 52: | ||
==OpenBSD== | ==OpenBSD== | ||
− | + | Some packages are missing but you can try with: | |
Line 64: | Line 64: | ||
* export AUTOMAKE_VERSION=1.11 | * export AUTOMAKE_VERSION=1.11 | ||
* autoreconf -fi | * autoreconf -fi | ||
+ | |||
+ | |||
+ | ==NetBSD== | ||
+ | |||
+ | Some packages are missing but you can try with: | ||
+ | |||
+ | |||
+ | * ksh (Don't forget to switch to ksh !) | ||
+ | * export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All/" | ||
+ | * pkg_add -r bison pkg-config protobuf ossp-uuid cppunit | ||
+ | * pkg_add -r libmicrohttpd (will install more dependencies) | ||
+ | * pkg_add -r autoconf automake libtool | ||
+ | |||
=Building OLA= | =Building OLA= | ||
+ | |||
+ | You can use the tarball or git to get the code. | ||
+ | |||
+ | Version >= 0.8.22 | ||
+ | |||
+ | http://code.google.com/p/open-lighting/source/checkout | ||
You just need to run: | You just need to run: | ||
Line 78: | Line 97: | ||
− | + | Since you built with libmicrohttpd, you can use the web UI from http://127.0.0.1:9090 | |
Enjoy :) | Enjoy :) |
Revision as of 13:45, 7 August 2012
Since version 0.8.22, OLA can run on FreeBSD.
Dependencies
- pkg_add -r bison (will install m4, libiconv, gettext)
- pkg_add -r pkg-config
- pkg_add -r protobuf
- pkg_add -r ossp-uuid
- pkg_add -r cppunit
- pkg_add -r libmicrohttpd
- pkg_add -r python27
- pkg_add -r py27-protobuf (will install py27-setuptools)
Packages
You can use this combo line:
- pkg_add -r bison pkg-config protobuf ossp-uuid cppunit libmicrohttpd python27 py27-protobuf
pkg_info (FreeBSD 9.0-RELEASE)
- bison-2.4.3,1 A parser generator from FSF, (mostly) compatible with Yacc
- cppunit-1.12.1 C++ port of the JUnit framework for unit testing
- gettext-0.18.1.1 GNU gettext package
- libiconv-1.13.1_1 A character set conversion library
- libmicrohttpd-0.9.15 C library for embedding HTTP server functionality
- m4-1.4.16,1 GNU m4
- ossp-uuid-1.6.2_1 ISO-C & Perl API and CLI for generating Universally Unique
- pkg-config-0.25_1 A utility to retrieve information about installed libraries
- protobuf-2.4.1 A data interchange format library
- py27-protobuf-2.4.1 Google protobuf Python Client Library
- py27-setuptools-0.6c11_1 Download, build, install, upgrade, and uninstall Python pac
- python27-2.7.2_3 An interpreted object-oriented programming language
Tools
If you want to run autoreconf (after git clone for example):
- pkg_add -r autoconf268 automake111 libtool
pkg_info
- autoconf-2.68 Automatically configure source code on many Un*x platforms
- automake-1.11.1 GNU Standards-compliant Makefile generator (1.11)
- libtool-2.4_1 Generic shared library support script
OpenBSD
Some packages are missing but you can try with:
- export PKG_PATH="ftp://ftp.openbsd.org/pub/OpenBSD/5.1/packages/i386/"
- pkg_add bison protobuf ossp-uuid cppunit
- pkg_add autoconf automake (it will tell you the versions)
- pkg_add autoconf-2.68 automake-1.11.1p2 libtool
- export AUTOCONF_VERSION=2.68
- export AUTOMAKE_VERSION=1.11
- autoreconf -fi
NetBSD
Some packages are missing but you can try with:
- ksh (Don't forget to switch to ksh !)
- export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.1/All/"
- pkg_add -r bison pkg-config protobuf ossp-uuid cppunit
- pkg_add -r libmicrohttpd (will install more dependencies)
- pkg_add -r autoconf automake libtool
Building OLA
You can use the tarball or git to get the code.
Version >= 0.8.22
http://code.google.com/p/open-lighting/source/checkout
You just need to run:
- $ ./configure (--enable-rdm-tests will need python)
- $ make
- # make install
Running OLA
- $ olad -l3
Since you built with libmicrohttpd, you can use the web UI from http://127.0.0.1:9090
Enjoy :)