Hi Christopher, As per the suggestion Mr Marcus gave, you can try that too. but before doing that make sure that you completely remove the gnuradio-uhd file from the pybombs prefix as you may again get the same error.
Also if you don't want to go to Marcus's way then you can try one more thing which I suggest: 1) Completely remove(uninstall) pybombs file and folder. 2) Use locate command and search for uhd file and delete it. As per the error which you gave it seems there exist other uhd files already in the system. 3) Be cautious on step 2, make sure you don't delete any important library or other files. On Mon, Sep 3, 2018 at 11:24 PM Müller, Marcus (CEL) <[email protected]> wrote: > > Hi, > you've got conflicting installations of UHD. > > Anyway, you probably shouldn't be using pybombs at all, since Ubuntu > 18.04 (at this time!) delivers a halfway tolerably recent GNU Radio, > and you can just install that using "apt". > > Best regards, > Marcus > > On Sat, 2018-09-01 at 10:48 +0000, Christopher Clement J wrote: > > > > Hi, > > > > I am trying to install GNU Radio in my Ubuntu 18.04 system using Pybombs as > > follows > > > > > > >> sudo pip install pybombs > > > > >> pybombs recipes add gr-recipes > > >> git+https://github.com/gnuradio/gr-recipes.git > > > > >> mkdir prefix/ > > > > >> pybombs prefix init -a default prefix/default/ -R gnuradio- default > > > > It went on well for a while, then it gives below error. > > > > Scanning dependencies of target _trellis_swig1 > > [ 86%] Building CXX object > > gr-trellis/swig/CMakeFiles/_trellis_swig1.dir/trellis_swig1PYTHON_wrap.cxx.o > > [ 86%] Linking CXX shared module _trellis_swig1.so > > [ 87%] Built target _trellis_swig1 > > [ 87%] Built target pygen_gr_trellis_python_trellis_41952 > > [ 87%] Built target pygen_gr_trellis_examples_python_d1eb2 > > [ 87%] Built target gnuradio-uhd > > [ 87%] Built target tags_demo > > [ 87%] Built target _uhd_swig_doc_tag > > [ 87%] Built target uhd_swig_swig_doc > > [ 87%] Built target _uhd_swig_swig_tag > > [ 87%] Built target uhd_swig_gr_uhd_swig_5e3ce > > [ 87%] Built target pygen_gr_uhd_swig_0cf98 > > [ 87%] Building CXX object > > gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o > > /home/johnchris/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: > > In function ‘PyObject* _wrap_time_spec_t_get_system_time(PyObject*, > > PyObject*)’: > > /home/johnchris/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:20234:34: > > error: ‘get_system_time’ is not a member of ‘uhd::time_spec_t’ > > result = uhd::time_spec_t::get_system_time(); > > ^~~~~~~~~~~~~~~ > > gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:70: recipe for target > > 'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o' failed > > make[2]: *** > > [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1 > > CMakeFiles/Makefile2:16166: recipe for target > > 'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all' failed > > make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2 > > Makefile:162: recipe for target 'all' failed > > make: *** [all] Error 2 > > PyBOMBS.Packager.source - ERROR - Build failed. See output above for error > > messages. > > PyBOMBS.Packager.source - ERROR - Problem occurred while building package > > gnuradio: > > Build failed. > > PyBOMBS.install_manager - ERROR - Error installing package gnuradio. > > Aborting. > > > > What is the cause? Could some one please help me to rectify the error? > > > > Regards > > Chris Clement > > > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio -- Regards, Prabhat Kumar Rai M.Tech - Communication & Signal Processing IIT Hyderabad _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
