discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] installing UHD using PyBOMBS 2.0


From: Martin Braun
Subject: Re: [Discuss-gnuradio] installing UHD using PyBOMBS 2.0
Date: Thu, 28 Jan 2016 11:18:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hey Rob,

thanks for trying PyBOMBS and sorry for the lack of an announcement on
usrp-users. I will announce it there once we release the next version
(which will be very soon) because I've fixed some issues and also made
UHD installation easier.

In your case, to install UHD, do the following:

1) Create a prefix. Run one of these commands:
  a) $ pybombs prefix init -a default ~/path/to/prefix
  b) $ sudo pybombs prefix init -a default /usr/local

The latter will put all source installs in the system, the former will
put them somewhere in your home dir. For the record: Most people will
want a).

2) Define this as the default prefix:
    $ pybombs config default_prefix default

This step is not required, but if lets you skip the -p option for all
following PyBOMBS commands.

3) Now comes the complicated part, which will be changed in the next
version. PyBOMBS provides no defaults on which packages to install from
source rather than from apt-get or whatever. You need to configure your
prefix to override system defaults to source. To do this, edit the
<prefix>/.pybombs/config.yml file and add the lines from here:
https://github.com/gnuradio/pybombs/blob/master/pybombs/skel/.pybombs/config.yml

(or just copy that file there).

4) Now you can just do 'pybombs install uhd' and it will install UHD
from source to your prefix. At any time, you can then 'pybombs  update
uhd' to re-pull master and re-build.

Hope this helps!

M

On 01/28/2016 12:11 AM, Rob Kossler wrote:
> Hi,
> I just setup a new system and as I attempted to install UHD via PyBOMBS,
> I stumbled on the PyBOMBS 2.0 changeover.  Since I typically only follow
> the usrp-users list and not the gnuradio list, I didn't see the
> announcement of this changeover.
> 
> I am having trouble with the install.  I really am only interested in
> installing UHD (source code install), so I tried the following line, but
> nothing really happened.  Afterwards, I do not see any UHD installation
> in my prefix location.  Also, it is not clear to me how I would choose
> whether this install should be a source install or binary install.
> 
> $ pybombs install uhd
> PyBombs.install - INFO - No packages to install.
> 
> Any idea why the above does not seem to do anything?
> 
> 
> When this didn't seem to work, I decided to go ahead and install
> gnuradio since previous PyBOMBS installs of this type would also install
> UHD as a source code install.  This install failed - the results are in
> the attached TXT file.  Basically, it looks like it can't find some
> boost component, but it is not clear to me why it couldn't fix the
> problem and install what it needed.  There are plenty of boost warnings,
> but I'm not sure if they are benign or not. 
> 
> Let me know any suggestions.  Thanks.
> 
> Rob
> 
> 
> _______________________________________________
> 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]