PulseView is a Qt based logic analyzer and oscilloscope software. Find here a script that builds and installs it on Linux Ubuntu.
You will find in this post a script based on building instructions from official sigrok/PulseView wiki that automatically downloads, builds and installs all required dependencies and PulseView itself. The script has been written and tested on Ubuntu 17.10 but it should work on other apt based distros.
Before running this script, make sure you have universe repository enabled. This can be done from Software & Updates.
PulseView is a GUI that depends on command line tools. The script builds and installs the libraries libserialport, libsigrok and libsigrokdecode. Then it builds the command line tool sigrok-cli. PulseView is the last one that is built. Qt5 is used by this script. To have access to USB devices, libsigrok needs to install some udev rules. The script handles that too. The firmware needed by some devices is downloaded as prebuilt binaries and the copied to the firmware folder.
PulseView on Ubuntu 17.10 |
The script fails at line 34:
ReplyDeletesudo cp libsigrok/contrib/z60_libsigrok.rules /etc/udev/rules.d/z60-libsigrok.rules
cp: cannot stat 'libsigrok/contrib/z60_libsigrok.rules': No such file or directory
The copy of libsigrok pulled by the script on September 28, 2018 has the following rule sets in its contrib directory, none of which contain the 'z' in the file name:
60-libsigrok.rules
61-libsigrok-plugdev.rules
61-libsigrok-uaccess.rules
They probably changed file names. I will update the script.
Delete