Kraken User Guide
  • Introduction
  • How to Use
  • Installing the Web Interface
  • Building from Sources
    • Building on Linux
    • Building on Mac
    • Building on FreeBSD
    • Cross-compiling for Windows
Powered by GitBook
On this page
  1. Building from Sources

Building on Mac

While cross-compilation of Darwin binaries is not available yet, it is possible to build binaries in a native Mac environment. While Yara is generally available using brew, we are going to compile the latest available sources. Before doing so, we need to install some dependencies:

$ brew install automake libtool go-bindata

Now you can proceed to download and compile the Yara sources in the same way as explained in the Building on Linux section. Once Yara is compiled and install correctly, you can proceed building binaries for Mac using the follwing command:

$ BACKEND=example.com RULES=test/ make darwin
PreviousBuilding on LinuxNextBuilding on FreeBSD

Last updated 6 years ago