Update build instructions, source links

All your general support questions for OpenZFS on OS X.

Update build instructions, source links

Postby tangent » Thu Dec 15, 2022 12:48 pm

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".
tangent
 
Posts: 47
Joined: Tue Nov 11, 2014 6:58 pm

Re: Update build instructions, source links

Postby lundman » Fri Dec 16, 2022 11:25 pm

Yeah I agree, definitely needs updating - I'll see if I can get around to it.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 30 guests