Apple M1 Special Needs: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
Line 9: Line 9:
== libpng ==
== libpng ==
* [http://www.libpng.org/pub/png/libpng.html Download libpng source]
* [http://www.libpng.org/pub/png/libpng.html Download libpng source]
Build and install into /usr/local
Unpack the distribution bundle and build and install the library into /usr/local
* ./configure
* ./configure
* make
* make
* make check
* make check
* make install
* make install

Revision as of 23:48, 29 December 2021

Computers with the Apple M1 chip require dedicated binaries, or binaries with both Intel and M1 contents. In order to get the hyrax-dependencies to build the following packages need to be installed prior to running the hyrax-dependencies build.

openssl

brew install openssl export CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.0.1/include" export LDFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.0.1/lib"

libpng

Unpack the distribution bundle and build and install the library into /usr/local

  • ./configure
  • make
  • make check
  • make install