From 68a2146acc5fab2451ac05911877085f52127fd7 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Mon, 19 Jun 2017 07:15:02 +0000 Subject: [PATCH] ready to test first few steps git-svn-id: https://svn.code.sf.net/p/freetel/code@3219 01035d8c-6547-0410-b346-abe4f91aad63 --- misc/lilacsat1/README.txt | 14 ++++++ ...{lilacsat_setup.txt => lilacsat1_setup.sh} | 47 ++++++++++--------- 2 files changed, 40 insertions(+), 21 deletions(-) create mode 100644 misc/lilacsat1/README.txt rename misc/lilacsat1/{lilacsat_setup.txt => lilacsat1_setup.sh} (55%) diff --git a/misc/lilacsat1/README.txt b/misc/lilacsat1/README.txt new file mode 100644 index 00000000..dd391aca --- /dev/null +++ b/misc/lilacsat1/README.txt @@ -0,0 +1,14 @@ +README.txt +LilacSat-1 Rx Setup for AREG Club Project +Mark Jessop and David Rowe +June 2017 + +If the build fails, (e.g. due to a missing package) you can restart it: + +$ cd prefix/default/ +$ pybombs rebuild + +TODO +---- +[ ] rebuild instructions +[ ] link to gnuradio build instructions diff --git a/misc/lilacsat1/lilacsat_setup.txt b/misc/lilacsat1/lilacsat1_setup.sh similarity index 55% rename from misc/lilacsat1/lilacsat_setup.txt rename to misc/lilacsat1/lilacsat1_setup.sh index 2ac27791..972452bc 100644 --- a/misc/lilacsat1/lilacsat_setup.txt +++ b/misc/lilacsat1/lilacsat1_setup.sh @@ -1,35 +1,40 @@ -# Install dependencies. -# this probably isnt all of them -sudo apt-get install - feh - libfftw* - cmake - build-essential - git - python-pip - +# lilacsat1_setup.txt +# LilacSat-1 Rx Setup for AREG Club Project +# Mark Jessop and David Rowe +# June 2017 + +# Open a terminal and check you have Ubuntu 16.04 + +lsb_release -a + +# List of packages suggested by gnuradio install instructions + +$ sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-sphinx libcomedi-dev python-zmq + +# Setup pybombs, which handles the gnuradio installation + +sudo easy_install -U pip +sudo pip install construct pybombs +mkdir prefix + +# Building gnuradio - takes some time + +pybombs prefix init -a default prefix/default/ -R gnuradio-default # Add gpredict-daily PPA and install (we want the latest version) + sudo add-apt-repository ppa:gpredict-team/daily sudo apt-get update sudo apt-get install gpredict -# Upgrade pip -sudo easy_install -U pip - -# Install some stuff from pip -sudo pip install - construct - pybombs - # Install some other dependencies + git clone https://github.com/daniestevez/libfec.git + # follow the INSTALL file for that one. https://github.com/daniestevez/gr-satellites.git -# Compile/install gnuradio -sudo pybombs install gnuradio -# should compile and install stuff + # Install gqrx sudo pybombs install gqrx -- 2.25.1