Skip to content

Instantly share code, notes, and snippets.

@takurx
Last active February 6, 2020 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takurx/f38d7ce88a679a0bf667902b31f9b85f to your computer and use it in GitHub Desktop.
Save takurx/f38d7ce88a679a0bf667902b31f9b85f to your computer and use it in GitHub Desktop.
command log of install gnuradio-stable (3.7.13.5) by pybombs
  1. install ubuntu 18.04.3 (minimal install, to scrape off and fast)
  2. Add to Favorites by right click
  • Settings
  • terminal
  1. Remove from Favorites by right click
  • help
  • Ubuntu Software
  1. Off screen lock and blank screen
  • Settings > Privacy > Screen Lock: On -> OFF
  • Settings > Power > Blank screen: 5 minutes -> Never
  1. update and upgrade for currently
sudo apt update
sudo apt -y upgrade
sudo apt -y autoremove
  1. install dependency
sudo apt install -y git build-essential cmake
sudo apt install -y python-pip python-apt
sudo apt install -y libcppunit-dev python-cheetah
sudo apt install -y automake bison flex g++ libboost-all-dev
sudo apt install -y libevent-dev libssl-dev libtool make pkg-config
sudo apt install -y libcanberra-gtk-module libcanberra-gtk3-module
sudo apt install -y python3 python3-pip python3-apt
sudo apt install -y python-six python3-six python-mako
sudo apt install -y python-numpy libxml2-dev libxslt-dev python-dev python3-lxml
sudo apt install -y qt4-default libqwt-qt5-6 libqwt-dev

sudo -H pip install lxml
sudo -H pip install sphinx
sudo -H pip install thrift
  1. install gnuradio-stable(3.7.13.5) by pybombs
sudo -H pip install PyBOMBS
mkdir ~/stable
cd ~/stable
pybombs auto-config
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git

pybombs prefix init ~/stable -R gnuradio-stable
@takurx
Copy link
Author

takurx commented Feb 6, 2020

I failed "pybombs install gr-osmosdr", maybe part of gr-iqbal.
I will do "git clone gr-osmosdr, cmake, make, sudo make install".

sharo@kirima:~$ pybombs install gr-osmosdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.17
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-osmosdr
   |
   +- airspy
   |
   +- hackrf
   |
   +- soapysdr
   |
   +- bladeRF
   |
   +- gr-iqbal
   |  |
   |  \- libosmo-dsp
   |
   +- osmo-sdr
   |
   \- rtl-sdr
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: rtl-sdr
From https://git.osmocom.org/rtl-sdr
 * [new branch]          master     -> rtl-sdr/master
 * [new tag]             0.5.4      -> 0.5.4
 * [new tag]             0.6.0      -> 0.6.0
 * [new tag]             v0.5.0     -> v0.5.0
 * [new tag]             v0.5.1     -> v0.5.1
 * [new tag]             v0.5.2     -> v0.5.2
 * [new tag]             v0.5.3     -> v0.5.3
 * [new tag]             v0.5.4     -> v0.5.4
Cloning into 'rtl-sdr'...
Configuring: (100%) [================================================================================================]
Building:    (100%) [================================================================================================]
Installing:  (100%) [================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: osmo-sdr
From https://git.osmocom.org/osmo-sdr
 * [new branch]          master          -> osmo-sdr/master
 * [new branch]          mci-rewrite     -> osmo-sdr/mci-rewrite
 * [new branch]          sylvain/pending -> osmo-sdr/sylvain/pending
Cloning into 'osmo-sdr'...
Configuring: (100%) [================================================================================================]
Building:    (100%) [================================================================================================]
Installing:  (100%) [================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: libosmo-dsp
From https://git.osmocom.org/libosmo-dsp
 * [new branch]          master     -> libosmo-dsp/master
 * [new tag]             0.4.0      -> 0.4.0
 * [new tag]             0.3.0      -> 0.3.0
Cloning into 'libosmo-dsp'...
Configuring: (100%) [================================================================================================]
Building:    (100%) [================================================================================================]
Installing:  (100%) [================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: gr-iqbal
From https://git.osmocom.org/gr-iqbal
 * [new branch]          gr3.6      -> gr-iqbal/gr3.6
 * [new branch]          gr3.7      -> gr-iqbal/gr3.7
 * [new branch]          master     -> gr-iqbal/master
 * [new tag]             v0.37.3    -> v0.37.3
 * [new tag]             v0.38.1    -> v0.38.1
 * [new tag]             v0.36.0    -> v0.36.0
 * [new tag]             v0.37.0    -> v0.37.0
 * [new tag]             v0.37.1    -> v0.37.1
 * [new tag]             v0.37.2    -> v0.37.2
 * [new tag]             v0.38.0    -> v0.38.0
Cloning into 'gr-iqbal'...
Configuring: (100%) [================================================================================================]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity.
CMake Error at CMakeLists.txt:45 (find_package):
  Could not find a configuration file for package "Gnuradio" that is
  compatible with requested version "3.8".

  The following configuration files were considered but not accepted:

    /home/sharo/stable/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.13.5



-- Configuring incomplete, errors occurred!
See also "/home/sharo/stable/src/gr-iqbal/build/CMakeFiles/CMakeOutput.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-iqbal:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gr-iqbal. Aborting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment