Skip to content

Building Hercules on non Linux UNIXen

Stephen Orso edited this page Mar 12, 2018 · 1 revision

FreeBSD

These notes were made from my experience with FreeBSD 9.1 and 10.2.

You need to install the autoconf and automake packages/ports to be able to run autogen.sh

If you get a message about aclocal missing, you forgot automake.

FreeBSD 11

FreeBSD 11 can be used to build and run Hercules v4.

Hercules-required packages that are included in the base distribution and need not be replaced.

  • clang (3.8, can be used to build Hercules)
  • grep (GNU)
  • m4 (BSD version)
  • make (BSD version)
  • nawk (BSD version of gawk)
  • sed (BSD version)
  • perl
  • zlib (developer’s libraries and headers)

GNU packages that must be installed; use pkg install to retrieve them from the FreeBSD repository

  • automake
  • autoconf

Other required packages. All can be installed using pkg install

  • git
  • rexx-regina
  • bzip2
  • cmake (installs 3.7.1)

FreeBSD installs perl and rexx in /usr/local, and this has two impacts:

  1. bldlvlck fails because it expects perl to be installed in /usr/bin
  2. configure fails to find the rexx and bzip2 headers and library because /usr/local/lib is not included in Hercules builds on other than AIX.

The application flex, identified as required by bldlvlck, does not seem to be necessary and need not be installed.

Clone this wiki locally