Below is how we managed to build Rackspace Cloud Monitoring Agent on FreeBSD 10:12345678910111213pkg install gitpkg install gcc46git clone https://github.com/racker/virgocd virgogit submodule update --init --recursive./configuresetenv CC gcc46setenv CXX g++46setenv CPP cpp46gmake -C outgmake installcp base/pkg/freebsd/rackspace-monitoring-agent.init /etc/rc.d/rackspace-monitoring-agentchmod 755 /etc/rc.d/rackspace-monitoring-agent