Revisions
-
onetransistor revised this gist
Nov 25, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,8 @@ # For more information visit: # https://onetransistor.blogspot.com/2017/11/script-to-compile-and-install-pulseview.html set -e echo "PulseView: Download, build and install" echo "Installing dependencies" -
onetransistor revised this gist
Nov 5, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ # Script that will download, compile and install PulseView and its dependencies # For more information visit: # https://onetransistor.blogspot.com/2017/11/script-to-compile-and-install-pulseview.html echo "PulseView: Download, build and install" echo "Installing dependencies" -
onetransistor revised this gist
Nov 5, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ # Script that will download, compile and install PulseView and its dependencies # For more information visit: # https://onetransistor.blogspot.com/2017/11/script-compile-install-pulseview.html echo "PulseView: Download, build and install" echo "Installing dependencies" -
onetransistor created this gist
Nov 5, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,73 @@ #!/bin/bash # Script that will download, compile and install PulseView and its dependencies # For more information visit: # https://onetransistor.blogspot.com/2017/11/script-compile-install-pulseview-linux.html echo "PulseView: Download, build and install" echo "Installing dependencies" sudo apt -y install autoconf autoconf-archive automake check cmake doxygen g++ gcc git-core libboost-filesystem-dev libboost-system-dev libboost-test-dev libboost-thread-dev libftdi-dev libglib2.0-dev libglibmm-2.4-dev libqt5svg5-dev libtool libusb-1.0-0-dev libzip-dev make pkg-config python3-dev python-dev python-gi-dev python-numpy python-setuptools qtbase5-dev swig libserialport-dev libftdi1-dev libieee1284-3-dev echo "Downloading and building sources" mkdir -p pulseview_sources cd pulseview_sources echo "1. libserialport" git clone git://sigrok.org/libserialport cd libserialport ./autogen.sh ./configure make -j2 sudo make install cd .. echo "2. libsigrok" git clone git://sigrok.org/libsigrok cd libsigrok ./autogen.sh ./configure make -j2 sudo make install sudo cp libsigrok/contrib/z60_libsigrok.rules /etc/udev/rules.d/z60-libsigrok.rules cd .. echo "3. libsigrokdecode" git clone git://sigrok.org/libsigrokdecode cd libsigrokdecode ./autogen.sh ./configure make -j2 sudo make install cd .. echo "4. sigrok-cli" git clone git://sigrok.org/sigrok-cli cd sigrok-cli ./autogen.sh ./configure make -j2 sudo make install cd .. echo "5. pulseview" git clone git://sigrok.org/pulseview cd pulseview cmake . make -j2 sudo make install cd .. echo "6. Prebuilt firmware" wget -O sigrok-firmware-fx2lafw-bin-0.1.5.tar.gz http://sigrok.org/download/binary/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-bin-0.1.5.tar.gz tar zxf sigrok-firmware-fx2lafw-bin-0.1.5.tar.gz sudo cp -r sigrok-firmware-fx2lafw-bin-0.1.5 /usr/local/share/sigrok-firmware sudo chmod -R u+rwX,go+rX,go-w /usr/local/share/sigrok-firmware/ echo "Deleting sources" cd .. rm -rf pulseview_sources sudo ldconfig sudo udevadm control --reload echo "Done"