Skip to content

Instantly share code, notes, and snippets.

@akhenakh
Last active November 4, 2015 22:35
Show Gist options
  • Save akhenakh/10819108 to your computer and use it in GitHub Desktop.
Save akhenakh/10819108 to your computer and use it in GitHub Desktop.
influxdb on freebsd
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
@cheffo
Copy link

cheffo commented Nov 12, 2014

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment