From 7f2424404d2626aa3ef5cf9969ec73862c579c37 Mon Sep 17 00:00:00 2001 From: sand <sand@autistici.org> Date: Wed, 23 Jul 2014 19:19:46 +0200 Subject: [PATCH] added compilation instructions to README --- README.rst | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.rst b/README.rst index 91a4f70..ec791d4 100644 --- a/README.rst +++ b/README.rst @@ -39,6 +39,43 @@ All background jobs are run as mapreduces: again the current implementation is very simple and does not run workers on multiple machines. +Building +-------- + +Dependencies: + +- portaudio +- leveldb +- libtool +- fftw +- pcre + +To build djrandom on GNU/Linux:: + + $ mkdir -p $GOPATH/src/git.autistici.org/ale + $ cd $GOPATH/src/git.autistici.org/ale + $ git clone https://git.autistici.org/ale/imms.git imms + $ cd imms + $ aclocal ; libtoolize ; automake --foreign --add-missing ; autoconf + $ ./configure && make && sudo make install + $ go get -d git.autistici.org/ale/djrandom + $ cd $GOPATH/src/git.autistici.org/ale/djrandom + $ go get -v ./... + $ ./mkclientdist.sh + +To build only the client you can run the following command instead of +``go get -v ./...``:: + + $ go get -v ./client/... + +To build djrandom on OS X you can install all the dependencies with +`homebrew`:: + + $ brew install portaudio leveldb libtool fftw pcre + +You also have to use ``glibtoolize`` instead of ``libtoolize``:: + + $ aclocal ; glibtoolize ; automake --foreign --add-missing ; autoconf Running the upload client ------------------------- -- GitLab