diff --git a/cmake b/cmake index 3fcb71abc1..5945b41dc7 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 3fcb71abc1697c23d16b987340e957639275ec21 +Subproject commit 5945b41dc7cbdd3e305e522c84aae9a525478af8 diff --git a/doc/install/install.rst b/doc/install/install.rst index a9f1c85bdd..60c7cf27d1 100644 --- a/doc/install/install.rst +++ b/doc/install/install.rst @@ -75,6 +75,21 @@ To install the required dependencies, you can use: Note that in older versions of FreeBSD, you might have to use the "pkg_add -r" command instead of "pkg install". + For older versions of FreeBSD (especially FreeBSD 9.x), the system compiler + is not new enough to compile Bro. For these systems, you will have to install + a newer compiler using pkg; the ``clang34`` package should work. + + You will also have to define several environment variables on these older + systems to use the new compiler and headers similar to this before calling + configure: + + .. console:: + + export CC=clang34 + export CXX=clang++34 + export CXXFLAGS="-stdlib=libc++ -I${LOCALBASE}/include/c++/v1 -L${LOCALBASE}/lib" + export LDFLAGS="-pthread" + * Mac OS X: Compiling source code on Macs requires first installing Xcode_ (in older