Skip to content

Instantly share code, notes, and snippets.

@mandrean
Created January 23, 2023 17:29
Show Gist options
  • Save mandrean/fbe00ac1fc11b1b2625e8e9e53c1f7dc to your computer and use it in GitHub Desktop.
Save mandrean/fbe00ac1fc11b1b2625e8e9e53c1f7dc to your computer and use it in GitHub Desktop.
Install PulseView (& gettext) on Apple M1 Silicon (aarch64, arm64)
# 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)"
@dzungpv
Copy link

dzungpv commented Apr 21, 2025

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.

Thank you, it work for me on MacOS 15.3.2 M2 Max, but I need to install dbus with this command: arch -x86_64 /usr/local/homebrew/bin/brew install dbus because native arm version still not working for me

Update: this thread link to a ARM64 native build, work out of the box: https://www.eevblog.com/forum/testgear/new-sigrokpulseview-hardware-support-(siglent-sds-hd-rigol-dho800-)/

@rtm7777
Copy link

rtm7777 commented Apr 24, 2025

I tried to run the build from this forum and it works for me on macos 15.3: https://www.eevblog.com/forum/testgear/new-sigrokpulseview-hardware-support-(siglent-sds-hd-rigol-dho800-)/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment