-
-
Save mandrean/fbe00ac1fc11b1b2625e8e9e53c1f7dc to your computer and use it in GitHub Desktop.
# 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)" |
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!
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.
Did get this work on M2 using @Architeuthis-Flux and @jwhitlark addition. Seems that gettext has newer version as mentioned by @Architeuthis-Flux mentioned. I also needed to download latest stable 0.4.2.
This is exact steps I followed
I believe nightly versions are using different python version or something as that's where it crashes.