Hi Fernando,

the bug report you linked to was closed because it's a) inaccurate and
b) posted to the wrong github repo. So, Sylvain actually tried to make
gr-osmosdr 3.8 compatible, and it's sad that doesn't work for you.

I don't think you should actually need MPIR – MPIR is kind of the fall
back when GMP cannot be found (which, for example, always happens on
Windows, because there's no Windows version of GMP). So, could you try
installing GMP (simply through apt-get, i.e. `sudo apt install libgmp`.

Also, can you please uninstall your manually installed CMake? The CMake
in Ubuntu 19.04 should be 3.13.4. It was 3.10.2 in 18.04, so, maybe you
have a half-upgraded Ubuntu installation? That's all a bit strange.
After uninstalling your manual CMake installation, try using `sudo apt
update && sudo apt install --reinstall cmake`.

Best regards,
Marcus


On Wed, 2020-01-15 at 17:57 +0100, Fernando wrote:
> I have tried:
> 
>  sudo apt install git
> 
> sudo apt install cmake
> 
> git clone git://git.osmocom.org/gr-osmosdr
> 
> cd gr-osmosdr/
> 
> git checkout gr3.8
> 
> mkdir build
> 
> cd build/
> 
> cmake ../
> 
> Error:  CMake 3.13 or higher is required.  You are running version 3.10.2
> 
> Then I installed last cmake (and  mpir3.0.0) and
> 
> bin/cmake ../  
> 
> and then
> 
> grc@gnuradio:~/gr-osmosdr/build$ bin/cmake ../
> -- Build type not specified: defaulting to release.
> -- Checking for module 'gmp'
> --   No package 'gmp' found
> -- Could NOT find GMP (missing: GMPXX_LIBRARY GMP_LIBRARY GMP_INCLUDE_DIR) 
> -- Checking for module 'mpir >= 3.0'
> --   No package 'mpir' found
> -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_INCLUDE_DIR) 
> CMake Error at 
> build/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 
> (message):
>   Could NOT find MPLIB (missing: MPLIBXX_LIBRARY MPLIB_INCLUDE_DIR)
> Call Stack (most recent call first):
>   build/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 
> (_FPHSA_FAILURE_MESSAGE)
>   /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindMPLIB.cmake:26 
> (find_package_handle_standard_args)
>   build/share/cmake-3.15/Modules/CMakeFindDependencyMacro.cmake:47 
> (find_package)
>   /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:26 
> (find_dependency)
>   CMakeLists.txt:45 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/grc/gr-osmosdr/build/CMakeFiles/CMakeOutput.log".
> 
> 
> 
> 
> And I have read this wich says that gr-osmosdr does not work with gnuradio 3.8
> 
> https://github.com/gnuradio/gnuradio/issues/2838
> 
> 
> 
> 
> 
> On 14/1/20 11:42, Müller, Marcus (CEL) wrote:
> > Ah little correction:
> > On Tue, 2020-01-14 at 10:10 +0000, Müller, Marcus (CEL) wrote:
> > > 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
> > 
> > also 
> > 
> > sudo apt install gnuradio-dev
> > > 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