discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] problem in installing gnuradio


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] problem in installing gnuradio
Date: Mon, 21 Nov 2011 10:28:27 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 21/11/2011 10:07 AM, S Haque wrote:

I have a comment and a question about this advice, but probably I am parsing too much as a new user.

 

I recently tried to “sync” my development workstations (in my lab): Gnu Radio 3.5.0rc0 and UHD 3.3.1 which is installed and working very well on my principal development machine.

 

A few days later on another system totally different than my own, I tried to install new  development environments and initially chose NOT to use Marcus’ build script in full, but used its “gitfetch” function, followed by:

 

(cd to UHD directory)

(git checkout tag release_003_003_001)

(build-gnuradio with options to build only the UHD)

 

And then,

 

(cd to GNU radio directory)

(git checkout tag 3.5.0rc0)

(build-gnuradio with options to build only the GNU Radio)

 

All of these were on a updated Ubuntu 10.04 LTS. And while the UHD 3.3.1 system worked initially (uhd_find_device worked great), it broke immediately after gnu-radio was installed .. with a segmentation fault as the UHD installed now showed UHD_003.004.000 instead of UHD_003_003_001.  This IMHO is not what I expected, it should be possible to roll back (UHD, GnuRadio) to whatever version we wish to have, to test out older scripts..

 

Based upon a suggestion from a colleague, I later ran the build-gnuradio script in full and all is fine for now, albeit two different foundation framework.

 

3.5.0rc0 + UHD 3.3.1

3.5.0rc0 + UHD 3.4.0

 

But, may I ask the developers to explain the reasoning for this behavior of an install script that was run on two similar machines separated by only four days? What can we do, explicitly, to choose particular <matching> distributions of Gnuradio and UHD, so we don’t end up having several versions of the codebase which may have different classes of bugs. What is your recommended strategy for regression testing, or synching the various development environments ?

 

Regards

 

s


The build-gnuradio script explicitly was designed to fetch and build the current git master branches.  It has no facility for fetching any
  particular instance.  If you want that behaviour, then manual use GIT to fetch/checkout the instance you want, and build it by hand.

Or, alternatively, I'm happy to accept patches that allow you to build particular instances.

Keep in mind that UHD recently changed the API between gr-uhd, and UHD proper, which means that you can't mix-and-match older
  Gnu Radio with newer UHD, etc.  Josh talked about this in his announcement of a week or two ago.

I originally wrote build-gnuradio for *me* and some of my customers, to allow us to keep up with the current development code in
  a reasonably-easy-to-use way.  It works just fine for that, and most of the people who use it don't have any particular version that
  they're aiming for.  They just want to press the "go" button and have a working Gnu Radio + UHD installation an hour later.



reply via email to

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