Ubuntu Setup¶
Ubuntu 11.10¶
To build the dSS on a recent Ubuntu system run the following command to install the dependencies provided as Ubuntu packages:
sudo apt-get install g++ cmake git-core \
libxml2-dev \
libical-dev \
libpoco-dev \
libboost-system-dev \
libboost-filesystem-dev \
libboost-thread-dev \
libboost-program-options-dev \
libboost-test-dev \
libssl-dev \
gsoap \
librrd-dev rrdtool \
libmozjs185-dev \
libavahi-client-dev \
python-lxml
If you like to build the documentation you'll need
sudo apt-get install doxygen
as well.
Older Ubuntu Releases¶
Older releases do not fulfill the library requirements. You have to manually install the appropriate
SpiderMonkey (>1.8.5) and gSOAP (>2.8.4) releases from source.
Tools for building website¶
sprocketize¶
If you're planning to modify the built-in webpages you'll need to install sprockets and rake:
sudo apt-get install rubygems sudo gem install rake sprockets echo 'export PATH=$PATH:/var/lib/gems/1.8/bin/' >> ~/.bashrc source ~/.bashrc
yoke¶
Alternatively since dss-websrc release 1.3.0 you can use yoke from
http://blog.angeloff.name/post/3465035915/yoke-a-drop-in-quick-and-dirty-alternative-to.