tree: b4b58d8ec827cb8c3e5a05a5b2d309cb0d6e8a2e [path history] [tgz]
  1. boost/
  2. logstash/
  3. check_sigs.sh
  4. clean-site.sh
  5. common.sh
  6. download_staged_release.sh
  7. pom.xml
  8. README.md
tools/README.md

Linux

On a clean Ubuntu 18.04 the following software needs to be installed:

sudo apt install bison flex python-dev

If you‘re building a source-distribution and haven’t installed git yet, be sure to do so:

sudo get install git

MAC

Make sure Homebrew ist installed in order to update Bison to a newer version (the version 2.3 installed per default is too old)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then update Bison:

brew install bison
brew link bison --force
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.bash_profile

Install Python 2.7:

brew install python@2

Be sure to re-open the command window or the changes will not apply.

Windows

Some tools need to be installed before being able to build on Windows:

  • WinBuilds
  • Bison
  • Flex
  • Python 2.7

He have tested WinBuilds with the bundle of: http://win-builds.org/doku.php/download_and_installation_from_windows When running the installer, make sure to select the options:

  • Native Windows
  • x86_64 Not quite sure which elements are really needed, better just install all of them.

For Bison, please download the Setup installer version from here: http://gnuwin32.sourceforge.net/packages/bison.htm (When using the zip version the bison.exe couldn‘t find some DLL files) It seems the official 2.4.1 version has issues when installed in a directory which’s path contains spaces. Please make sure you replace the exe with a patched version form here: http://marin.jb.free.fr/bison/bison-2.4.1-modified.zip (More infos on this issue here: https://sourceforge.net/p/gnuwin32/bugs/473/)

Please download the Flex compiler from here: http://gnuwin32.sourceforge.net/packages/flex.htm (Ideally download the binary zip distribution)

You can get Python from here: https://www.python.org/downloads/release/python-2716/

Make sure the bin directories of containing the executables mingw32-make.exe, bison.exe and flex.exe are all on your systems PATH.

If you‘re building a source-distribution and haven’t installed git yet, be sure to do so.