Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to INSTALL for FreeBSD, NetBSD and OpenBSD. #1843

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,48 @@ sudo zypper install autoconf automake make gcc perl zlib-devel libbz2-devel xz-d
Also install libdeflate-devel, available on OpenSUSE Leap 15.4 onwards
or directly via git releases above.

FreeBSD
-------

As root:
pkg install autoconf automake bash curl gmake libdeflate perl

Build as a normal user. When building, compiler flags need to be set so that
the packages installed above are found. It is also necessary to use "gmake":

./configure CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib -Wl,-R/usr/local/lib'
gmake && gmake check

NetBSD
------

Make sure you have installed the "comp" file set to get a compiler, then
get the following packages as root:

pkg_add autoconf automake bash curl gmake libdeflate perl

Build as a normal user. When building, compiler flags need to be set so that
the packages installed above are found. It is also necessary to use "gmake":

./configure CPPFLAGS='-I/usr/pkg/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib'
gmake && gmake check

OpenBSD
-------

Make sure you have installed the "comp" file set to get a compiler, then
get the following packages as root:

pkg_add autoconf automake bash bzip2 curl gmake libdeflate xz

You should select the most recent versions of autoconf and automake if asked.

Build as a normal user. When building, compiler flags need to be set so that
the packages installed above are found. It is also necessary to use "gmake":

./configure CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib -Wl,-R/usr/local/lib'
gmake && gmake check

Windows MSYS2/MINGW64
---------------------

Expand Down