-
-
Save sathlan/02accf380e41db7c8d87 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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