Skip to content

Instantly share code, notes, and snippets.

@sathlan
Forked from akhenakh/influxdb
Last active August 29, 2015 14:02
Show Gist options
  • Save sathlan/02accf380e41db7c8d87 to your computer and use it in GitHub Desktop.
Save sathlan/02accf380e41db7c8d87 to your computer and use it in GitHub Desktop.
pkg install bison flex leveldb protobuf gmake ruby bzr mercurial valgrind leveldb go
export CC=clang
export CGO_CFLAGS="-I/usr/local/include"
export CGO_LDFLAGS="-L/usr/local/lib"
git clone https://github.com/influxdb/influxdb.git
sed -i -e 's,^SHELL.*,SHELL = /usr/local/bin/bash,' Makefile.in
./configure --with-flex=/usr/local/bin/flex --with-bison=/usr/local/bin/bison
gmake
# get the admin templates directory from http://s3.amazonaws.com/influxdb/influxdb-latest.386.tar.gz and move it in the same directory as the daemon binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment