I never used zfsadm myself, and I don't know if ilovezfs is maintaining it.
But you are right, the wiki is woefully out of date, still talks about spl and zfs being separate repositories.
When I build I go checkout openzfs-fork:
- Code: Select all
# git checkout zfs-macOS-2.2.2-release
# ./autogen.sh
# ./configure CPPFLAGS="-I/usr/local/opt/gettext/include -I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/gettext/lib" CFLAGS="-Wno-error -O2 -g" --sysconfdir=/etc --localstatedir=/var --prefix=/usr/local/zfs/ --sbindir=/usr/local/zfs/bin --libexecdir=/usr/local/zfs/libexec --enable-pam=NO SED=gsed
# make
# make install
-or-
# ./scripts/pkg_macos.sh -L
Showing the full configure for how I make install pkg. You will need to change the include and library paths based on where you install openssl and gettext. I used brew or macports.
In your case, no "-Wno-error" is what is stopping you, what is an unavoidable warning, is turned into an error due to -Werror that zfsadm uses.