Page 1 of 1

Update build instructions, source links

PostPosted: Thu Dec 15, 2022 12:48 pm
by tangent
With the (partial?) merger of the O3X and ZoL projects, wiki pages like this one are badly outdated.

I'm primarily a binary package user, but I needed to build one of the helper scripts from source and found the process of getting the source tree configured unnecessarily difficult.

The key things that need to be mentioned are:

1. The new repo URL, replacing the old separate "zfs" and "spl" repos.

2. The new configure command, which as far as I can tell is expressed most briefly for x86 Homebrew as:

Code: Select all
./configure CPPFLAGS="-I/usr/local/opt/gettext/include -I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/gettext/lib -L/usr/local/opt/openssl@1.1/lib" --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/local/bin


Then provide the same but with ARM Homebrew paths for M1/M2 users.

Note that these paths don't try to pin package versions more precisely than OpenSSL 1.1. This avoids the need to update the wiki often, effectively saying, "whatever's installed".

Re: Update build instructions, source links

PostPosted: Fri Dec 16, 2022 11:25 pm
by lundman
Yeah I agree, definitely needs updating - I'll see if I can get around to it.