Last active
November 4, 2015 22:35
-
-
Save akhenakh/10819108 to your computer and use it in GitHub Desktop.
influxdb on freebsd
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 ruby-gems bzr mercurial valgrind | |
export CC=clang | |
export GOROOT=/home/akh/dev/gosrc | |
export CGO_CFLAGS="-I/usr/local/include" | |
export CGO_LDFLAGS="-L/usr/local/lib" | |
git clone https://github.com/influxdb/influxdb.git | |
./configure --with-flex=/usr/local/bin/flex --with-bison=/usr/local/bin/bison | |
# edit Makefile to change the SHELL path to /usr/local/bin/bash | |
gmake | |
# a test will fail but the daemon binary is working | |
# 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
Hi, I'm working on FreeBSD port for InfluxDB - current status - compile/install/works, but depends on ports not included in official FreeBSD repo. The port do not compile in poudriere and depends on clang!
https://github.com/cheffo/influxdb-port
Dependency ports are available here - https://github.com/cheffo/FreeBSD-Ports/