: Ubuntu 16.04 LTS. Relatively clean install with the latest API, SoapySDR (as per workflow), and dump1090 (provided by support) installed.
I initially followed the instructions as per https://www.sdrplay.com/linux-gr-source/
to install gr-osmosdr. I ran into 3 issues. Two I self resolved and list just for reference.
The 3rd issue issue is unresolved.
1. Boost a requirement. Had to install libboost-system-dev and libboost-thread-dev.
2. gnuradio-dev is required. This will also install gnuradio.
3. osmocom does does not appear in source/sink in gnu-radio. After successful compile and install based on the instructions I launched the gnuradio-companion after setting the environment variables as prescribed.
LD_LIBRARY_PATH=~/gr-osmosdr/lib:$LD_LIBRARY_PATH PYTHONPATH=~/gr-osmosdr/lib/python2.7/dist-packages:$PYTHONPATH GRC_BLOCKS_PATH=~/gr-osmosdr/share/gnuradio/grc/blocks:$GRC_BLOCKS_PATH
Checking on the file system under gr-osmosdr there are two directories, lib and include.
Comparing this to at the variables "share" is missing. Also lib/python 2.7 directory is missing.
This is what is installed in gr-osmosdr:
│ └── osmosdr
│ ├── api.h
│ ├── device.h
│ ├── pimpl.h
│ ├── ranges.h
│ ├── sink.h
│ ├── source.h
│ └── time_spec.h
├── libgnuradio-osmosdr.so -> libgnuradio-osmosdr.so.0.1.5git
4 directories, 10 files
Support ticket directed me here. Going through the steps above I encountered the following issues:
1. pip install --upgrade pip
pip upgrade takes one to version 10.0.1. which breaks pip "ImportError: cannot import name main"
due to change introduced in v10.
TL;DR's reply om this thread best describe possible solutions an links to discussions in why the problem occur: https://stackoverflow.com/questions/498 ... for-python
I reverted back to the distribution default
2.pybombs prefix init ~/prefix -a myprefix -R gnuradio-default
After bombing my system with a heaps of additional packages (pun intended
) the build failed with the following error in terminal:
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = 0
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
-- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
CMake Error at cmake/Modules/UHDComponent.cmake:59 (MESSAGE):
Dependencies for required component LibUHD not met.
Call Stack (most recent call first):
-- Configuring incomplete, errors occurred!
See also "/home/jengel/prefix/src/uhd/host/build/CMakeFiles/CMakeOutput.log".
See also "/home/jengel/prefix/src/uhd/host/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package uhd:
PyBOMBS.install_manager - ERROR - Error installing package uhd. Aborting.
From the error log found 2 errors. (I could not attach them, the forum won't allow me to attach .log files)
cmTC_a30cd/fast: CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
cmTC_746dc/fast: /usr/bin/ld: cannot find -lpthreads
1. Any suggestions on PyBombs issue?
2. Is installing GQRX (this is what PyBombs install here I assume) really needed to get the parts for GNU Radio to work?