How do I install Postgres on OSX with the gssapi option (--with-gssapi) ?
as seen here:
Can I use brew?
The installation you are referring to is the source code installation and not the binary. You can use the --with-gssapi option with the source code installation.
As this is the source code installation, you cannot install it using the package manager such as brew.
You will need the GNU make, C compiler, zlib etc. libraries to install the source code, refer below link for the requirements of it :
Once these requirements are present, you can install source using commands mentioned in below link :
Hope this helps you. Please let us know if you have any more queries with respect to this.