discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] PyBombs installation issue


From: Ben Hilburn
Subject: Re: [Discuss-gnuradio] PyBombs installation issue
Date: Tue, 24 Jan 2017 10:00:41 -0500

Hi Usman -

Give the source build a shot and see what components it configures during the `cmake` process. Try to install the dependencies from your OS's package manager if you don't have them, yet.

Cheers,
Ben

On Tue, Jan 24, 2017 at 1:02 AM, Usman Haider <address@hidden> wrote:
Hi,

What is recommend to fix the issue? Should I go for source install instead of PyBombs?


--
Usman


On Fri, Jan 20, 2017 at 10:58 AM, Usman Haider <address@hidden> wrote:
Hi Martin,

I see from output of the command that a lot of components are disabled.

-- ######################################################
-- # Gnuradio disabled components                        
-- ######################################################
--   * python-support
--   * doxygen
--   * sphinx
--   * gr-ctrlport
--   * gnuradio-companion
--   * gr-comedi
--   * gr-utils
--   * gr-video-sdl
--   * gr-wxgui

Looking further I found that PyBombs was unable to find SWIG as well. I remember that PyBombs install all the required dependencies itself? Do I have to reinstall everything from scratch? Following is the output of the command
$ pybombs -vv rebuild gnuradio

 http://pasted.co/9ebaa709

Thanks.

--
Usman

On Thu, Jan 19, 2017 at 10:25 PM, Martin Braun <address@hidden> wrote:
It did not install GRC, and no other graphical tools either. Rerun

$ pybombs -vv rebuild gnuradio

to see where it fails during cmake.

Cheers,
Martin

On 01/18/2017 10:35 PM, Usman Haider wrote:
> Hi Martin,
>
> Yeah. Please find below the output
>
> $ ls ~/rfnoc/bin
>
> gnuradio-config-info
> uhd_cal_tx_iq_balance
>  usrp2_card_burner
> octoclock_firmware_burner
> uhd_config_info
>  usrp_n2xx_simple_net_burner
> rfnocmodtool
> uhd_find_devices
>   usrp_x3xx_fpga_burner
> thrift
>  uhd_image_loader
>  volk-config-info
> uhd_cal_rx_iq_balance
>   uhd_images_downloader
> volk_modtool
> uhd_cal_tx_dc_offset
> uhd_usrp_probe
>   volk_profile
>
> $ pybombs inv
>
> PyBOMBS - INFO - PyBOMBS Version 2.3.1a
> Showing package state:
> uhd-fpga:           installed
> uhd:                installed
> apache-thrift:      installed
> gnuradio:           installed
> gr-ettus:           installed
>
>
> You get anything from this?  Thanks
>
> --
> Usman
>
> On Thu, Jan 19, 2017 at 5:15 AM, Martin Braun <address@hidden
> <mailto:address@hidden>> wrote:
>
>     It's almost as if UHD installed, but GNU Radio didn't, although your
>     output says otherwise.
>
>     What does
>
>     $ ls ~/rfnoc/bin
>
>     look like?
>
>     Or
>
>     $ pybombs inv
>
>     ?
>
>     On 01/18/2017 02:10 AM, Usman Haider wrote:
>     > Hi Nicolas,
>     >
>     > Thanks for your time. I did that but the result is same. I can run
>     >
>     > |$|uhd_images_downloader
>     > but
>     > |$ gnuradio-companion
>     > |
>     >
>     > fails. Let me know if any further information is needed. Thanks
>     >
>     > --
>     > Usman
>     > On Wed, Jan 18, 2017 at 2:11 PM, Nicolas Cuervo
>     > <address@hidden <mailto:address@hiddenom>
>     <mailto:address@hiddencom <mailto:address@hiddenom>>>
>     wrote:
>     >
>     >     Hello Usman,
>     >
>     >     Did you set up your PyBOMBS environment?  If not, please do so. As
>     >     long as I understand your prefix is at ~/rfnoc. Being that the case,
>     >     please run:
>     >
>     >     $ source ~/rfnoc/setup_env.sh
>     >
>     >     After this your shell will have access to everything which has been
>     >     installed in that prefix, and you should be able to start
>     >     gnuradio-companion. Please have in mind that you have to set up this
>     >     environment in every new shell you start.
>     >
>     >     Please let us know if this doesn't work so that we can look further
>     >     into it.
>     >
>     >     Cheers,
>     >
>     >     - Nicolas
>     >
>     >     On Wed, Jan 18, 2017 at 9:58 AM, Usman Haider
>     >     <address@hidden <mailto:address@hiddenm>
>     <mailto:address@hiddenom <mailto:address@hiddenm>>>
>     wrote:
>     >
>     >         Yes, could be the cause.  After running the following commands
>     >
>     >         $ cd ~/rfnoc
>     >         $ source ./setup_env.sh
>     >         $ uhd_images_downloader
>     >
>     >         I was able to download the images. But when I tried to run
>     >
>     >         |$ gnuradio-companion|
>     >
>     >         It failed giving "The program 'gnuradio-companion' is
>     currently
>     >         not installed. You can install it by typing: sudo apt-get
>     >         install gnuradio". Although, I have
>     >
>     >         $ gnuradio-config-info --v
>     >         v3.7.10.1-202-g6225e5d4
>     >
>     >         $ gnuradio-config-info --prefix
>     >         /home/emb/rfnoc
>     >
>     >         Otuput of PyBOMBS is as under.
>     >
>     >         $ pybombs prefix init ~/rfnoc -R rfnoc -a rfnoc
>     >         PyBOMBS - INFO - PyBOMBS Version 2.3.1a
>     >         PyBOMBS.prefix - INFO - Creating directory `/home/emb/rfnoc'
>     >         Alias `rfnoc' already exists, overwrite Y/[N]? y
>     >         PyBOMBS.ConfigManager - INFO - Creating new config file
>     >         /home/emb/rfnoc/.pybombs/config.yml
>     >         PyBOMBS.prefix - INFO - Installing default packages for
>     prefix...
>     >         PyBOMBS.prefix - INFO -
>     >           - gnuradio
>     >           - uhd
>     >           - gr-ettus
>     >           - uhd-fpga
>     >         PyBOMBS.install_manager - INFO - Phase 1: Creating install
>     tree
>     >         and installing binary packages:
>     >         DEPRECATION: The default format will switch to columns in the
>     >         future. You can use --format=(legacy|columns) (or define a
>     >         format=(legacy|columns) in your pip.conf under the [list]
>     >         section) to disable this warning.
>     >         Install tree:
>     >         |
>     >         +- uhd-fpga
>     >         |
>     >         \- gr-ettus
>     >            |
>     >            +- uhd
>     >            |
>     >            \- gnuradio
>     >               |
>     >               +- uhd
>     >               |
>     >               \- apache-thrift
>     >         PyBOMBS.install_manager - INFO - Phase 2: Recursively
>     installing
>     >         source packages to prefix:
>     >         PyBOMBS.install_manager - INFO - Installing package:
>     apache-thrift
>     >         Cloning:     (100%)
>     >         [=========================================================]]
>     >         Cloning:     (100%)
>     >         [=========================================================]
>     >         Configuring: (100%)
>     >         [=========================================================]
>     >         Building:    (100%)
>     >         [=========================================================]
>     >         Installing:  (100%)
>     >         [=========================================================]
>     >         PyBOMBS.install_manager - INFO - Installation successful.
>     >         PyBOMBS.install_manager - INFO - Installing package: uhd
>     >         Cloning:     (100%)
>     >         [=========================================================]]
>     >         Configuring: (100%)
>     >         [=========================================================]
>     >         Building:    (100%)
>     >         [=========================================================]
>     >         Installing:  (100%)
>     >         [=========================================================]
>     >         PyBOMBS.install_manager - INFO - Installation successful.
>     >         PyBOMBS.install_manager - INFO - Installing package: gnuradio
>     >         Cloning:     (100%)
>     >         [=========================================================]]
>     >         Configuring: (100%)
>     >         [=========================================================]
>     >         Building:    (100%)
>     >         [=========================================================]
>     >         Installing:  (100%)
>     >         [=========================================================]
>     >         PyBOMBS.install_manager - INFO - Installation successful.
>     >         PyBOMBS.install_manager - INFO - Installing package: gr-ettus
>     >         Cloning:     (100%)
>     >         [=========================================================]
>     >         Configuring: (100%)
>     >         [=========================================================]
>     >         Building:    (100%)
>     >         [=========================================================]
>     >         Installing:  (100%)
>     >         [=========================================================]
>     >         PyBOMBS.install_manager - INFO - Installation successful.
>     >         PyBOMBS.install_manager - INFO - Installing package: uhd-fpga
>     >         Cloning:     (100%)
>     >         [=========================================================]]
>     >         Configuring: (100%)
>     >         [=========================================================]
>     >         Building:    (100%)
>     >         [=========================================================]
>     >         Installing:  (100%)
>     >         [=========================================================]
>     >         PyBOMBS.install_manager - INFO - Installation successful.
>     >
>     >
>     >         Any pointers? :)
>     >
>     >         --
>     >         Usman
>     >
>     >
>     >         On Tue, Jan 17, 2017 at 4:47 PM, Marcus Müller
>     >         <address@hidden <mailto:address@hiddenom>
>     <mailto:address@hiddencom <mailto:address@hiddenom>>>
>     wrote:
>     >
>     >             Possibly just a temporary failure then; github or your
>     >             network might have had problems :)
>     >
>     >             Cheers,
>     >
>     >             Marcus
>     >
>     >
>     >             On 17.01.2017 08:01, Usman Haider wrote:
>     >>             Hello Marcus,
>     >>
>     >>             I am surprised the following command ran successfully.
>     >>
>     >>             $ pybombs -vv recipes add gr-recipes
>     >>             git+https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>             <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>>
>     >>
>     >>             --
>     >>             Usman
>     >>
>     >>             On Mon, Jan 16, 2017 at 5:10 PM, Marcus Müller
>     >>             <address@hidden <mailto:address@hiddenom>
>     >>             <mailto:address@hiddencom <mailto:address@hiddenom>>> wrote:
>     >>
>     >>                 Hm, interesting. Could you run your pybombs command
>     >>                 with "-vv"?
>     >>
>     >>                 Best regards,
>     >>
>     >>                 Marcus
>     >>
>     >>                 On 01/16/2017 12:55 PM, Usman Haider wrote:
>     >>>                 Hello Nicolas,
>     >>>
>     >>>                 Thanks for your reply. I have sufficient disk space,
>     >>>                 more than 400 GB,  so that is not an issue.  I do not
>     >>>                 have any .gitconfig file in my home directory. I can
>     >>>                 download the recipes manually using the command you
>     >>>                 mentioned.
>     >>>
>     >>>                 git clone https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>>                 <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>> gr-recipes
>     >>>
>     >>>
>     >>>                 Please let me know if you need any further
>     >>>                 information. Thanks.
>     >>>
>     >>>                 --
>     >>>                 Usman
>     >>>
>     >>>                 On Mon, Jan 16, 2017 at 3:21 PM, Nicolas Cuervo
>     >>>                 <address@hidden <mailto:address@hiddenom>
>     >>>                 <mailto:address@hiddencom
>     <mailto:address@hiddencom>>> wrote:
>     >>>
>     >>>                     Hello Usman,
>     >>>
>     >>>                     uhm, this is odd. So far I can see the
>     command is
>     >>>                     correct. Although error 128 means that git did
>     >>>                     not exit cleanly, and I just run it and it ran
>     >>>                     fine. Just some guesses for now:
>     >>>
>     >>>                     1. Do you have enough disk space? the recipes do
>     >>>                     not require a lot of disk space, though, but not
>     >>>                     enough space would lead to this.
>     >>>                     2. Do you have specific cloning configuration in
>     >>>                     your gitconfig? you can check this by typing:
>     >>>                         git config --global --edit
>     >>>
>     >>>                      or just by editing .gitconfig which is normally
>     >>>                     located at your home directory.
>     >>>                     3. Can you clone anything else manually? you can
>     >>>                     try running:
>     >>>
>     >>>                          git clone
>     >>>                     https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>>                     <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>>
>     >>>                     gr-recipes
>     >>>
>     >>>                       just as a test that your git is working as
>     >>>                     expected.
>     >>>
>     >>>                     Please let us know if you find out something
>     with
>     >>>                     this hypothesis I mentioned.
>     >>>
>     >>>                     Cheers,
>     >>>
>     >>>                     - Nicolas
>     >>>
>     >>>
>     >>>
>     >>>
>     >>>                     On Mon, Jan 16, 2017 at 9:46 AM, Usman Haider
>     >>>                     <address@hidden
>     <mailto:address@hiddenom>
>     >>>                     <mailto:address@hiddenom
>     <mailto:address@hiddenom>>> wrote:
>     >>>
>     >>>                         I am following this guide to get started
>     with
>     >>>                         RFNoC.  I am using Ubuntu 14.04 and I ran
>     >>>                         following commands
>     >>>
>     >>>                         $ sudo apt-get install git
>     >>>                         $ sudo apt-get install python-setuptools
>     python-dev build-essential
>     >>>                         $ sudo easy_install pip
>     >>>                         $ sudo pip install
>     git+https://github.com/gnuradio/pybombs.git
>     <https://github.com/gnuradio/pybombs.git>
>     >>>                         <https://github.com/gnuradio/pybombs.git
>     <https://github.com/gnuradio/pybombs.git>>
>     >>>
>     >>>                         When I run following command
>     >>>
>     >>>                         $ pybombs -v recipes add gr-recipes
>     git+https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>>
>      <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>>
>     >>>
>     >>>                         I get output.
>     >>>                         ..... ..... ..... OMBS.PackageManager -
>     DEBUG
>     >>>                         - Checking if package git is installed...
>     >>>                         PyBOMBS.Packager.apt - DEBUG - Package git
>     >>>                         has version 1.9.1 installed
>     >>>                         PyBOMBS.install_manager - DEBUG - Phase 2:
>     >>>                         Recursively installing source packages to
>     >>>                         prefix: PyBOMBS.Fetcher.git - DEBUG -
>     >>>                         Requirements met. PyBOMBS.Fetcher.git -
>     DEBUG
>     >>>                         - Using url -
>     >>>
>      https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>>
>      <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>>
>     >>>                         PyBOMBS._process_thread() - DEBUG -
>     Executing
>     >>>                         command `git clone
>     >>>
>      https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>
>     >>>
>      <https://github.com/gnuradio/gr-recipes.git
>     <https://github.com/gnuradio/gr-recipes.git>>
>     >>>                         gr-recipes' Cloning:     [
>     >>>                         PyBOMBS.recipes - ERROR - Could not fetch
>     >>>                         recipesCloning:     [ PyBOMBS.recipes -
>     ERROR
>     >>>                         - Could not fetch recipes: Process
>     >>>                         returnCloning:     (100%)
>     >>>
>      [=========================================================]
>     >>>                         PyBOMBS.monitor_process() - DEBUG - Thread
>     >>>                         signaled termination or returned
>     >>>                         PyBOMBS.monitor_process() - DEBUG - Return
>     >>>                         value: 128 PyBOMBS.recipes - ERROR - Could
>     >>>                         not fetch recipes: Process returned
>     value: 128
>     >>>                         What could be the issue? pybombs version is
>     >>>                         2.3.1a. Thanks --
>     >>>                         Usman
>     >>>
>      _______________________________________________
>     >>>                         Discuss-gnuradio mailing list
>     >>>                         address@hidden
>     <mailto:address@hiddenorg>
>     >>>                         <mailto:address@hiddenorg
>     <mailto:address@hiddenorg>>
>     >>>
>      https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >>>                         <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>>
>     >>>
>     >>>
>     >>>                 _______________________________________________
>     >>>                 Discuss-gnuradio mailing list
>     >>>                 address@hidden <mailto:address@hiddenrg>
>     >>>                 <mailto:address@hiddenorg
>     <mailto:address@hiddenorg>>
>     >>>
>      https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >>>                 <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>>
>     >>                 _______________________________________________
>     >>                 Discuss-gnuradio mailing list address@hidden <mailto:address@hiddenrg>
>     >>                 <mailto:address@hiddenorg
>     <mailto:address@hiddenorg>>
>     >>
>      https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>>
>     >>
>     >>
>     >
>     >
>     >         _______________________________________________
>     >         Discuss-gnuradio mailing list
>     >         address@hidden <mailto:address@hiddenrg>
>     <mailto:address@hiddenorg <mailto:address@hiddenrg>>
>     >         https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >         <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>>
>     >
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > Discuss-gnuradio mailing list
>     > address@hidden <mailto:address@hiddenrg>
>     > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>     >
>
>
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     address@hidden <mailto:address@hiddenrg>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>
>
>


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
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]