Created
January 23, 2023 17:29
-
-
Save mandrean/fbe00ac1fc11b1b2625e8e9e53c1f7dc to your computer and use it in GitHub Desktop.
Install PulseView (& gettext) on Apple M1 Silicon (aarch64, arm64)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install xcodes | |
brew install robotsandpencils/made/xcodes aria2 | |
# install & select latest version of xcode | |
xcodes list | awk 'END{system("xcodes install " $1"; xcodes select " $1)}' | |
# install x86-64 homebrew | |
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# switch to x86_64 homebrew | |
eval "$(/usr/local/homebrew/bin/brew shellenv)" | |
# install x86_64 gettext | |
arch -x86_64 brew install gettext | |
# link libintl.8.dylib into expected location | |
sudo mkdir -p /usr/local/opt/gettext/lib | |
sudo ln -s /usr/local/Cellar/gettext/0.21.1/lib/libintl.8.dylib /usr/local/opt/gettext/lib/libintl.8.dylib | |
# download PulseView-NIGHTLY.dmg and copy PulseView.app to your /Applications folder | |
https://sigrok.org/download/binary/pulseview/PulseView-NIGHTLY.dmg | |
# ...then CTRL+right click PulseView.app and left click "Open". Done! | |
# and for switching back to arm64 homebrew, just run: | |
eval "$(/opt/homebrew/bin/brew shellenv)" |
As an extra step for Mac M2max I had to brew reinstall dbus
and link the specific /opt path to the installed homebrew lib fln -s /usr/local/opt/dbus/lib/libdbus-1.3.dylib /usr/local/homebrew/Cellar/dbus/1.14.10/lib/libdbus-1.3.dylib
.
But then it also works to open pulseview.app.
Right now, version PulseView 0.4.2 (64bit) works directly on my Mac M3 Pro without additional steps.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for confirming it worked for you @jniemin! I had it working on an old intel mac, and had given up on my M2 until I saw your comment.
Your instructions worked for me! I had a couple of problems around signing into my apple developers account, and gettext install hanging, but the first was easily solved, and the second don't seem to be an issue.
So now Pulseview works fine for me. Thanks again!