discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install o


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04
Date: Wed, 6 Jul 2016 17:47:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 07/06/2016 05:20 PM, Dave wrote:
> I’m not sure how to respond to the list when I receive the daily archive
> of the email traffic.  As such I just copied your response text and am
> responding to that.

If you want to post and have discussions, you should consider changing
your subscription to individual messages, not digests.

This also helps other people trying to help you, since that way,
messages can be sorted by threads.

> I used apt-get remove uhd and apt-get remove gnuradio.  I also looked
> for anything with gnuradio and UHD in the Synaptic Package manager and
> removed anything I found.  I also deleted my directory “pybombprefix1”.

Can you please confirm that there's *no* UHD files anywhere on your
computer (e.g. find / -name multi_usrp.hpp will return nothing).

M



> 
>  
> 
> Then I re-executed the command:
> 
>  
> 
> pybombs prefix init pybombsprefix1 –a myprefix –R gnuradio-default
> 
>  
> 
> Again it failed in exactly the same place as mentioned below.
> 
>  
> 
> Thanks again for your help.
> 
>  
> 
> Dave
> 
>  
> 
>  
> 
> *From*:
> 
>       
> 
> Martin Braun
> 
> *Subject*:
> 
>       
> 
> Re: [Discuss-gnuradio] Issues with Pybombs and Package Manager Install
> on Ubuntu 16.04
> 
> *Date*:
> 
>       
> 
> Wed, 6 Jul 2016 13:33:48 -0700
> 
> *User-agent*:
> 
>       
> 
> Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
> 
> ------------------------------------------------------------------------
> 
> Dave,
> 
>  
> 
> let's stick to one issue at a time. Your compile is probably failing
> 
> because you have the package manager version still installed. Make sure
> 
> you've removed everything you installed via apt-get (or whatever you
> 
> used), that includes all UHD and GNU Radio packages, and retry PyBOMBS.
> 
>  
> 
> Once we get that working, let's tackle the other issues.
> 
>  
> 
> M
> 
>  
> 
> On 07/06/2016 12:23 PM, Dave wrote:
> 
>>/I am attempting to install gnuradio on a Ubuntu 16.04 machine.  Using/
> 
>>/pybombs I get about 85% of the way along and then I get the errors show/
> 
>>/at the end of this post.  After this attempt I used the package manager/
> 
>>/to load gnuradio with limited success.  I’m new to gnuradio and I’m/
> 
>>/using an ETTUS B100 device.  Everything about gnuradio and the usrp/
> 
>>/seems to work just fine if I boot from the current gnuradio usb stick/
> 
>>/image.  As such I think both my PC and my usrp are functioning/
> 
>>/properly.  After loading gnuradio from the package manager an running a/
> 
>>/simple usrp source and QT Gui Sink, I got an error indicating “No USD/
> 
>>/devices found”  I ran uhd_find_devices and got the error  message listed/
> 
>>/below with my subsequent actions.  I could then run my simple usrp/
> 
>>/sources and QT Gui Sink and get results however I cannot use a sample/
> 
>>/rate higher than about 2M samples/sec.  Again this flow graph works fine/
> 
>>/when booted from the usb image all the way to 8M samples/sec.  Also when/
> 
>>/running the uhd_wbfm_receive example flow graph I don’t get any audio/
> 
>>/from the Audio Sink but again it works just fine from the gnuradio usb/
> 
>>/stick image.  As such I’m trying to solve three problems.  1) install/
> 
>>/via pybombs to completion 2) using the package manger manager version of/
> 
>>/the install figure out why I can’t get 8M sample rate and 3) Audio sink/
> 
>>/output.  Note: Through a separate post on the USRP list, I am trying to/
> 
>>/work usrp “device not found” issues with my windows 7 install as well./
> 
>>//
> 
>>/I appreciate any help you folks can provide./
> 
>>//
> 
>>/Thanks,  Dave/
> 
>>//
> 
>>/Error from uhd_find_devices:/
> 
>>//
> 
>>/address@hidden:~$ uhd_find_devices/
> 
>>//
> 
>>/linux; GNU C++ version 5.3.1 20151219; Boost_105800;/
> 
>>/UHD_003.009.002-0-unknown/
> 
>>//
> 
>>/UHD Warning:/
> 
>>//
> 
>>/Could not locate B100 firmware. Please run:/
> 
>>//
> 
>>/"/usr/lib/uhd/utils/uhd_images_downloader.py"/
> 
>>//
> 
>>/No UHD Devices Found/
> 
>>//
> 
>>/address@hidden:~$ /usr/lib/uhd/utils/uhd_images_downloader.py/
> 
>>//
> 
>>/Images destination: /usr/share/uhd/images/
> 
>>//
> 
>>/You do not have sufficient permissions to write to: /usr/share/
> 
>>//
> 
>>/Are you root?/
> 
>>//
> 
>>/address@hidden:~$ sudo /usr/lib/uhd/utils/uhd_images_downloader.py/
> 
>>//
> 
>>/[sudo] password for dave:/
> 
>>//
> 
>>/Images destination: /usr/share/uhd/images/
> 
>>//
> 
>>/Downloading images from:/
> 
>>/http://files.ettus.com/binaries/images/uhd-images_003.009.002-release.zip/
> 
>>//
> 
>>/Downloading images to: /tmp/tmpozhdaY/uhd-images_003.009.002-release.zip/
> 
>>//
> 
>>/26296 kB / 26296 kB (100%)/
> 
>>//
> 
>>/Images successfully installed to: /usr/share/uhd/images/
> 
>>//
> 
>>/address@hidden:~$ uhd_find_devices/
> 
>>//
> 
>>/linux; GNU C++ version 5.3.1 20151219; Boost_105800;/
> 
>>/UHD_003.009.002-0-unknown/
> 
>>//
> 
>>/-- Loading firmware image: /usr/share/uhd/images/usrp_b100_fw.ihx... done/
> 
>>//
> 
>>/--------------------------------------------------/
> 
>>//
> 
>>/-- UHD Device 0/
> 
>>//
> 
>>/--------------------------------------------------/
> 
>>//
> 
>>/Device Address:/
> 
>>//
> 
>>/type: b100/
> 
>>//
> 
>>/name: b100/
> 
>>//
> 
>>/serial: EBR12XEB1/
> 
>>//
> 
>>/  /
> 
>>//
> 
>>/  /
> 
>>//
> 
>>/Pybombs Failure Transcript below:/
> 
>>//
> 
>>/[ 85%] Built target _uhd_swig_swig_tag/
> 
>>//
> 
>>/[ 85%] Built target uhd_swig_gr_uhd_swig_5e3ce/
> 
>>//
> 
>>/[ 85%] Building CXX object/
> 
>>/gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:/
> 
>>/In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,/
> 
>>/PyObject*, PyObject*)’:/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27178:15:/
> 
>>/error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’/
> 
>>//
> 
>>/(arg1)->set_gpio_debug(arg2,arg3);/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:/
> 
>>/In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*,/
> 
>>/PyObject*, PyObject*)’:/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:28541:16:/
> 
>>/error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’/
> 
>>//
> 
>>/(*arg1)->set_gpio_debug(arg2,arg3);/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:/
> 
>>/In function ‘void init_uhd_swig()’:/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47716:91:/
> 
>>/error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’/
> 
>>//
> 
>>/SWIG_Python_SetConstant(d,/
> 
>>/"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int/
> 
>>/>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47717:94:/
> 
>>/error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’/
> 
>>//
> 
>>/SWIG_Python_SetConstant(d,/
> 
>>/"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int/
> 
>>/>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47718:94:/
> 
>>/error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’/
> 
>>//
> 
>>/SWIG_Python_SetConstant(d,/
> 
>>/"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int/
> 
>>/>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>//home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47719:98:/
> 
>>/error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’/
> 
>>//
> 
>>/SWIG_Python_SetConstant(d,/
> 
>>/"dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int/
> 
>>/>(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));/
> 
>>//
> 
>>/^/
> 
>>//
> 
>>/gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:68: 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:11706: 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:160: 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./
> 
>>//
> 
>>/  /
> 
>  
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

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