Wednesday, July 31, 2019

Re: [Discuss-gnuradio] [VOLK][announcement] VOLK release impeding

Thanks Barry,
Those are great notes.
I will try to follow them.

However it would be great if I could start from an image of the Sd card.
One issue with SD card images is to remember to remove passwords from browsers

I am also using a 32GB card, but it compressed very well, down to 2.5GB

Best regards
Glen

On Wed, Jul 31, 2019 at 1:28 PM Barry Duggan <barry@dcsmail.net> wrote:
Hi Glen,

With the help of many of our friends here, I was able to build 3.8 from
scratch on a Pi 3B+. Here are my notes from that effort:

Build gnuradio on Raspberry Pi 3B+

Author: Barry Duggan
31 July 2019

OS: Raspbian Buster with desktop and recommended software
32GB microSD

A. Load prerequisites

sudo apt-get update --allow-releaseinfo-change
sudo apt-get upgrade
sudo apt-get install git cmake g++ libboost-all-dev libgmp-dev swig
python3-numpy
sudo apt-get install python3-mako python3-sphinx python3-lxml doxygen
libfftw3-dev
sudo apt-get install libsdl1.2-dev libgsl-dev libqwt-qt5-dev
libqt5opengl5-dev python3-pyqt5
sudo apt-get install liblog4cpp5-dev libzmq3-dev python3-yaml
sudo apt-get install libpthread-stubs0-dev
sudo pip3 install click-plugins

D. Set up swap file

sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

-   To make this permanent, add this line to /etc/fstab
/swapfile  none  swap  sw  0  0

C. Clone repository

cd
git clone --recursive https://github.com/gnuradio/gnuradio.git

D. Build

cd ~/gnuradio
mkdir build
cd build
(this next command is all on one line, starting with cmake and ending
with ../)
cmake -DENABLE_GR_UHD=OFF -DCMAKE_INSTALL_PREFIX="/usr/local"
-DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../
make
sudo make install
sudo ldconfig

Of course, if you want UHD, leave out the "-DENABLE_GR_UHD=OFF".

It took about eight hours total.

Good luck! Let me know how it went.

Best wishes,
--
Barry Duggan

No comments:

Post a Comment