-
Notifications
You must be signed in to change notification settings - Fork 11
Builds
You can find an overview of how to build plptools on the project README. This page attempts to provide additional platform-specific build information.
Building for macOS can be a little awkward as Xcode ships some CLI tools, necessitating a some path manipulation to ensure the correct tools are used over Xcode's built-in versions.
-
Bootstrap and configure the project:
PATH="$(brew --prefix coreutils)/libexec/gnubin:$(brew --prefix m4)/bin:$PATH" ./bootstrap --skip-po CPPFLAGS="-I$(brew --prefix gettext)/include -I$(brew --prefix readline)/include" LDFLAGS="-L$(brew --prefix gettext)/lib -L$(brew --prefix readline)/lib" ./configure
-
Then make:
make
Building on Haiku works with some caveats. There is a small bug with RegEx that makes ./configure crash (see https://github.com/plptools/plptools/issues/23), which can be worked around with --with-included-regex.
-
Install prerequisites:
pkgman install libtool gnupg gettext readline_devel
-
Bootstrap and configure:
./bootstrap --skip-po ./configure --with-included-regex
-
Then make:
make
- Haiku's
usb_serialdrivers do not implement RS232 hardware control lines (see https://dev.haiku-os.org/ticket/19622), so USB RS232 adapters won't work with plptools. Physical serial ports work fine. -
plpfusewon't compile whenuserland_fsis installed (if it isn't installed,plpfuseis skipped).
- m4
- libtool
- gnupg
- pkgconf
- automake
- autoconf
- gettext
- gmake (otherwise man files won't build)
./bootstrap --skip-po
LDFLAGS="-L/usr/local/lib/" ./configure
gmake- m4
- libtool-2.4.7
- gnupg-1.4.23nb23
- pkgconf
- autoconf
- automake
- gettext-0.22.5
- coreutils (for buiilding):
gnulib/gnulib-tool: 'join' program is buggy. Consider installing GNU coreutils.
- gmake (otherwise man files won't build)
./bootstrap --skip-po
LDFLAGS="-L/usr/pkg/lib -Wl,--rpath=/usr/pkg/lib" ./configure
gmakeWarning
plptools on OpenBSD is not yet classed as stable.
- m4
- libtool
- gnupg
- autoconf
- automake
- gettext-tools
- readline
- gmake (otherwise man files won't build)
./bootstrap --skip-po
CPPFLAGS="-I/usr/local/include/ereadline/" ./configure
gmakeOn a fresh build, you need to set AUTOCONF_VERSION and AUTOMAKE_VERSION environment variable.
export AUTOCONF_VERSION="2.72"
export AUTOMAKE_VERSION="1.18"