Skip to content

Instantly share code, notes, and snippets.

@elcritch
Last active May 2, 2018 18:14
Show Gist options
  • Save elcritch/43928d33617aaf35075963c76b60e62b to your computer and use it in GitHub Desktop.
Save elcritch/43928d33617aaf35075963c76b60e62b to your computer and use it in GitHub Desktop.
Download and Compile Updated PulseView
  1. Download and save scripts "step01-" and "step02-".
  2. Change to sudo / root
  3. Execute scripts step01* and then step02*
#!/bin/sh
echo "retrieving needed packages"
apt install git-core gcc g++ make autoconf autoconf-archive automake libtool pkg-config libglib2.0-dev \
libglibmm-2.4-dev libzip-dev doxygen python3-dev cmake libqt4-dev libboost-test-dev libboost-thread-dev \
libboost-filesystem-dev libboost-system-dev libqt5svg5-dev qtbase5-dev
echo "retrieving sources"
cd /opt
mkdir bl
cd bl
git clone git://sigrok.org/libsigrok.git
git clone git://sigrok.org/libserialport.git
git clone git://sigrok.org/libsigrokdecode.git
git clone git://sigrok.org/sigrok-cli
git clone git://sigrok.org/pulseview.git
#!/bin/sh
echo "build libserialport"
cd libserialport
./autogen.sh && ./configure --prefix=/usr/local && make && make install
cd ..
echo "build libsigrok"
cd libsigrok
./autogen.sh && ./configure --prefix=/usr/local && make && make install
cd ..
echo "build libsigrokdecode"
cd libsigrokdecode
./autogen.sh && ./configure --prefix=/usr/local && make && make install
cd ..
echo "build sigrok-cli"
cd sigrok-cli
./autogen.sh && ./configure --prefix=/usr/local && make && make install
cd ..
echo "building pulseview"
cd pulseview
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment