From 4e6f42836bc40da4e339d443cb94de13fc6ddfb8 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Thu, 5 Nov 2015 22:30:36 +0100 Subject: [PATCH] build instructions for Ubuntu closes #64 closes #66 --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26a893e..f04b35f 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ isotst,vel,addr You will require: -* [libmosquitto](http://mosquitto.org) +* [libmosquitto](http://mosquitto.org), but see below for platform instructions * [libCurl](http://curl.haxx.se/libcurl/) * [lmdb](http://symas.com/mdb) (included). While the use of lmdb is optional, we strongly recommend you configure the _recorder_ to use it. * Optionally [Lua](http://lua.org) @@ -706,10 +706,21 @@ This named lmdb database is keyed on topic name (`owntracks/jane/phone`). If the ## Prerequisites for building +You need a current version of the Mosquitto library (and you probably require the Mosquitto broker as well for OwnTracks). We strongly recommend installing Mosquitto either from [source](http://mosquitto.org/download/) or from a [binary package](http://mosquitto.org/download/), both of which are provided by the [Mosquitto project](http://mosquitto.org/). In particular, older or LTS OS versions profit from this. + ### Debian ``` apt-get install build-essential linux-headers-$(uname -r) libcurl4-openssl-dev libmosquitto-dev liblua5.2-dev ``` +### Ubuntu + +``` +sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa +sudo apt-get update +sudo apt-get install libmosquitto-dev +sudo apt-get install libcurl3 libcurl4-openssl-dev +``` + [![Build Status](https://travis-ci.org/owntracks/recorder.svg?branch=master)](https://travis-ci.org/owntracks/recorder)