Skip to content

Commit

Permalink
Add instructions to INSTALL for FreeBSD, NetBSD and OpenBSD. (#1843)
Browse files Browse the repository at this point in the history
* Add instructions to INSTALL for FreeBSD, NetBSD and OpenBSD.

* perl should be perl5 on FreeBSD
  • Loading branch information
daviesrob authored Oct 9, 2024
1 parent e0d1956 commit 2a59ad4
Showing 1 changed file with 42 additions and 0 deletions.
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 perl5

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

0 comments on commit 2a59ad4

Please sign in to comment.