- Download and save scripts "step01-" and "step02-".
- Change to sudo / root
- Execute scripts step01* and then step02*
Last active
May 2, 2018 18:14
-
-
Save elcritch/43928d33617aaf35075963c76b60e62b to your computer and use it in GitHub Desktop.
Download and Compile Updated PulseView
This file contains 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 characters
#!/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 | |
This file contains 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 characters
#!/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