user5110: I'm facing error with the llvm install, i tried all the llvm@11;12;13 even the 14 and still a come across error when i move to step "cabal build all" my set up is a M1 pro. Help!  thank you

user5343: Could you try to run open ~/.zshrc in your terminal and in that file add export PATH="/usr/local/opt/llvm/bin:$PATH"?
Once you've done that open a new terminal and try to run cabal build all. If the llvm error disappears and show another error related to HsOpenSSL run brew install openssl. Then go to cabal.project in the cardano-node directory and add this:
package HsOpenSSL
  extra-include-dirs: /opt/homebrew/opt/openssl@3/include
  extra-lib-dirs: /opt/homebrew/opt/openssl@3/lib

NOTE: recent versions of homebrew have changed the path from /opt/homebrew/opt to  /usr/local/opt. Please do a manual check to see where your brew installs are getting placed.
Here's a comprehensive document that shows the installation process for Mac (M1 as well)!
https://github.com/mallapurbharat/cardano-tx-sample/blob/main/0_installation/preview_preprod_network/1_macos_m1_process.md

5110: <p>I'm facing error with the llvm install, i tried all the llvm@11;12;13 even the 14 and still a come across error when i move to step &quot;cabal build all&quot; my set up is a M1 pro. Help! <a href="https://i.stack.imgur.com/zwdMW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zwdMW.jpg" alt="enter image description here" /></a> thank you</p>
 5343: <p>Could you try to run <code>open ~/.zshrc</code> in your terminal and in that file add <code>export PATH=&quot;/usr/local/opt/llvm/bin:$PATH&quot;</code>?</p>
<p><strong>Once you've done that open a new terminal</strong> and try to run <code>cabal build all</code>. If the llvm error disappears and show another error related to <code>HsOpenSSL</code> run <code>brew install openssl</code>. Then go to <code>cabal.project</code> in the cardano-node directory and add this:</p>
<pre><code>package HsOpenSSL
  extra-include-dirs: /opt/homebrew/opt/openssl@3/include
  extra-lib-dirs: /opt/homebrew/opt/openssl@3/lib
</code></pre>
<p>NOTE: recent versions of homebrew have changed the path from /opt/homebrew/opt to  /usr/local/opt. Please do a manual check to see where your brew installs are getting placed.</p>
<p>Here's a comprehensive document that shows the installation process for Mac (M1 as well)!</p>
<p><a href="https://github.com/mallapurbharat/cardano-tx-sample/blob/main/0_installation/preview_preprod_network/1_macos_m1_process.md" rel="nofollow noreferrer">https://github.com/mallapurbharat/cardano-tx-sample/blob/main/0_installation/preview_preprod_network/1_macos_m1_process.md</a></p>
