Skip to content

Building

netbsduser edited this page Oct 6, 2021 · 3 revisions

Required runtime dependencies:

  • On all BSD platforms:
    • libinotify-kqueue v0.0.20180201+ (provided as libinotify in Ports, DPorts, pkgsrc, and OpenPorts.)
  • On FreeBSD:
    • fusefs-libs

Optional runtime dependencies:

  • On GNU/Linux:
    • udev or eudev (for .device unit support)
  • On DragonFly BSD:
    • udevd running (for .device unit support)
  • On FreeBSD:
    • libudev-devd (for .device unit support)

To build InitWare, all the libraries listed under the required runtime dependencies above must be present complete with their associated development libraries, if the distro separates them (e.g. Red Hat Linux's -devel packages or Debian's -dev packages.)

Additionally required are the following:

  • a C toolchain supporting GNU C extensions, e.g. GNU CC or LLVM/Clang
  • Typical build prerequisites (e.g. build-essential on Debian)
  • CMake 3.9+
  • GPerf
  • pkg-config or pkgconf
  • M4, AWK

For building the index manual page, Python 3 is required. To build HTML documentation, DocBook stylesheets and LibXML's xsltproc are required.

Building and installation is done in the typical CMake way, i.e. git submodule update --init --recursive && cmake && make && make install.

Clone this wiki locally