You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by du...@apache.org on 2022/04/19 13:21:30 UTC

[brooklyn-ui] branch duncangrant-arm64-fix created (now c552d64d)

This is an automated email from the ASF dual-hosted git repository.

duncangrant pushed a change to branch duncangrant-arm64-fix
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


      at c552d64d Update README.md

This branch includes the following new commits:

     new c552d64d Update README.md

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[brooklyn-ui] 01/01: Update README.md

Posted by du...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

duncangrant pushed a commit to branch duncangrant-arm64-fix
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit c552d64dbd686d374c97ee876d55cf2dda7f5621
Author: Duncan Grant <du...@gmail.com>
AuthorDate: Tue Apr 19 14:21:26 2022 +0100

    Update README.md
---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 3264e5cc..4406ccef 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,15 @@ or the `jpeg` compilation failing (note this one can be a non-fatal error at the
 
 Consult the list above of dependencies to install, and make sure you wipe the `node_modules` dirs.
 
+If libpng still seems to be missing and you are using an M1 Mac then the following lines may help.
+
+```bash
+arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+arch -x86_64 /usr/local/bin/brew install libpng
+```
+
+This installs th x86 version of brew and uses that to install the x86 version of the libpng library.  This won't affect your arm64 brew or anything installed using it.
+
 If it still fails, try installing `nvm` (curl-to-bash) then `nvm ls-remote` and `nvm install v12.9.0` (or other latest).
 Then retry the `mvn` build; even though `mvn` uses a different version of `node` and `npm`, simply installing the latest
 node version sometimes sorts out errors.