discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pybombs install gr-osmosdr ........ bunch of errors


From: CEL
Subject: Re: pybombs install gr-osmosdr ........ bunch of errors
Date: Tue, 14 Jan 2020 10:10:49 +0000

Hi Fernando,

GNU Radio itself doesn't interface with the bladeRF directly, at all –
things like gr-osmosdr do.
Hence, there's absolutely no need to build GNU Radio from source.

Instead:

1. Get a modern GNU Radio (3.8.0.0 as of writing) as a binary package
via our PPA [1]: 
sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo apt update
sudo apt install gnuradio
2. build the libbladerf from source that can talk to your BladeRF.
Install it.
3. build gr-osmosdr from source so that you get GNU Radio blocks to use
that libbladerf

Best regards,
Marcus


[1] https://launchpad.net/~gnuradio/+archive/ubuntu/gnuradio-releases
On Mon, 2020-01-13 at 21:53 +0100, Fernando wrote:
> As I reported before I'm trying to use a new bladeRF 2.0 in gnuradio but it 
> does not work with the bladeRF in the ubuntu repos, so I'm trying to install 
> gnuradio and gr-osmosdr with pybombs
> 
> I'm using ubuntu 19.04. The precess i have followed is the following:
> 
>  sudo apt install git
>  sudo apt install python3
> sudo apt install python3-pip
> sudo pip3 install --upgrade git+https://github.com/gnuradio/pybombs.git
> pybombs auto-config
> pybombs recipes add-defaults
> sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy 
> \
> python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev libcomedi-dev \
> libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 \
> liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins \
> python3-zmq
> pybombs prefix init ~/gnuradio -R gnuradio-default
> 
>  pybombs install gr-osmosdr
> ....  there comes the error:   mpir not found, then I have installed mpir
> 
> sudo apt install yasm
> I have installed mpir3.0.0 from
>  http://mpir.org/downloads.html
> 
> 
> and then
> 
> 
> 
> grc@gnuradio:~$ pybombs install gr-osmosdr
> [INFO] Prefix Python version is: 3.7.3
> [INFO] PyBOMBS Version 2.3.4a0
> [INFO] Phase 1: Creating install tree and installing binary packages:
> Install tree:
> |
> \- gr-osmosdr
> [INFO] Phase 1 complete: All binary dependencies installed.
> [INFO] Phase 2: Recursively installing source packages to prefix:
> [INFO] Installing package: gr-osmosdr
> [WARNING] Build dir already exists: /home/grc/gnuradio/src/gr-osmosdr/build
> Configuring: (100%) 
> [==============================================================================================================================================]
> [WARNING] Configuration failed. Re-trying with higher verbosity.
> -- Extracting version information from git describe...
> -- Configuring Boost C++ Libraries...
> -- Boost version: 1.67.0
> -- Found the following Boost libraries:
> --   thread
> --   system
> --   chrono
> --   date_time
> --   atomic
> -- Checking for module 'gmp'
> --   No package 'gmp' found
> -- Checking for module 'mpir >= 3.0'
> --   No package 'mpir' found
> -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_INCLUDE_DIR)             
>                                                                               
>          
> -- Checking for module 'gnuradio-iqbalance'                                   
>                                                                               
>          
> --   No package 'gnuradio-iqbalance' found                                    
>                                                                               
>          
> -- Found gnuradio-uhd: /home/grc/gnuradio/include, 
> /home/grc/gnuradio/lib/libgnuradio-uhd.so                                     
>                                     
> -- Checking for module 'gnuradio-fcd'                                         
>                                                                               
>          
> --   No package 'gnuradio-fcd' found                                          
>                                                                               
>          
> -- gnuradio-fcd not found.                                                    
>                                                                               
>          
> -- Could NOT find GNURADIO_FCD (missing: GNURADIO_FCD_LIBRARIES 
> GNURADIO_FCD_INCLUDE_DIRS)                                                    
>                        
> -- Checking for module 'gnuradio-fcdproplus'                                  
>                                                                               
>          
> --   No package 'gnuradio-fcdproplus' found                                   
>                                                                               
>          
> -- gnuradio-fcdproplus not found.                                             
>                                                                               
>          
> -- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES 
> GNURADIO_FCDPP_INCLUDE_DIRS)                                                  
>                    
> -- Checking for module 'libmirisdr'                                           
>                                                                               
>          
> --   No package 'libmirisdr' found                                            
>                                                                               
>          
> -- libmirisdr not found.                                                      
>                                                                               
>          
> -- Checking for module 'libfreesrp'                                           
>                                                                               
>          
> --   No package 'libfreesrp' found                                            
>                                                                               
>          
> -- libfreesrp not found.                                                      
>                                                                               
>          
> CMake Error at CMakeLists.txt:179 (message):                                  
>                                                                               
>          
>   GnuRadio Runtime required to build gr-osmosdr                               
>                                                                               
>          
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/grc/gnuradio/src/gr-osmosdr/build/CMakeFiles/CMakeOutput.log".
> See also "/home/grc/gnuradio/src/gr-osmosdr/build/CMakeFiles/CMakeError.log".
> [ERROR] Configuration failed after running at least twice.
> [ERROR] Problem occurred while building package gr-osmosdr:
> Configuration failed                                                          
>                                                                               
>          
> [ERROR] Error installing package gr-osmosdr. Aborting.
> grc@gnuradio:~$
> 
> 
> 
> 
> 
> I'm stuck here,  any help, please?
> 
> 
> 
> 
> 
> best regards
> 
> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]