New build-gnuradio

I worked-over build-gnuradio tonight rather thoroughly, and it now uses
the Cmake infrastructure to do its Gnu Radio builds.

It also has built-in help:

build-gnuradio --help

Yields:

Usage: build-gnuradio [–help|-h] [-v|–verbose] [-jN] [-ja]
[-l|–logfile logfile ] funcs

-v|–verbose - turn on verbose logging to stdout

-jN - have make use N concurrent jobs

-ja - have make use N concurrent jobs with auto setting of N
(based on number of cpu cores on build system)

-l|–logfile lf - log messages to ‘lf’

available funcs are:

all - do all functions
prereqs - install prerequisites
gitfetch - use GIT to fetch Gnu Radio and UHD
uhd_build - build only UHD
firmware - fetch firmware/FPGA
gnuradio_build - build only Gnu Radio
mod_groups - modify the /etc/groups and user to group ‘usrp’
mod_udev - add UDEV rule for USRP1
mod_sysctl - modify SYSCTL for larger net buffers

I’d love people to add support for systems other than Ubuntu and Fedora,
but those are the most popular Linux distros in use.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

On Tue, Oct 25, 2011 at 9:55 PM, Marcus D. Leech [email protected]
wrote:

logfile ] funcs
available funcs are:

I’d love people to add support for systems other than Ubuntu and Fedora,
but those are the most popular Linux distros in use.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

Wonderful, Marcus, thanks!

Tom

On 10/25/2011 11:51 PM, Dan CaJacob wrote:

setting of N
firmware        - fetch firmware/FPGA
Marcus L.

themselves. It’s my own fault, but occasionally, I will go to build
the newest gnuradio and forget that I have a grc instance left
running. This seems to really mess things up and nothing short of
hunting down every last bit of gnuradio in the operating system will
allow you to start over from scratch. Has anyone else had this problem?

By they way, 7 minutes, 18 seconds from start of UHD build to end of
gnuradio build on a quad-core Mac Book Pro (bought in June). They
actually abstract it into 8 cores - I used all 8 for the test build.
Really nice!

On 10/25/2011 10:02 PM, Tom R. wrote:

Yields:
                (based on number of cpu cores on build system)
gnuradio_build  - build only Gnu Radio
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

Wonderful, Marcus, thanks!

Cool! I want to mention a problem I have encountered a few times when
using the build-gnuradio script so that others can be wary themselves.
It’s my own fault, but occasionally, I will go to build the newest
gnuradio and forget that I have a grc instance left running. This seems
to really mess things up and nothing short of hunting down every last
bit of gnuradio in the operating system will allow you to start over
from scratch. Has anyone else had this problem?

Can you add docutils and PyQwt to the dependency installation? I think
those are missing.

(Excellent script, by the way. Saves a lot of grunt work.)

Sean

On 26/10/2011 9:23 AM, Nowlan, Sean wrote:

Can you add docutils and PyQwt to the dependency installation? I think those are
missing.

(Excellent script, by the way. Saves a lot of grunt work.)

Sean

Can you suggest package names for both Fedora and Ubuntu that would
satisfy this request, and I’ll add them this evening.

Docutils: “python-docutils” for both Fedora and Ubuntu.

PyQwt: “PyQwt,” “PyQwt-devel,” and “qwt-devel” for Fedora*; it looks
like you already have PyQwt covered on Ubuntu (python-qwt5-qt4 and
libqwt5-qt4-dev).

    • works on Fedora 13

Thanks,
Sean

thanks Marcus will give it a whirl.

Yes Dan, Ive had the same problem, you have to really hunt down
leftovers from prior install attempts.

-Bob

Hooray! It worked: 50 minutes on dual-core Pentium Ghz, 1 GB RAM with
the following cmd line: ./build-gnuradio -ja

thanks,
-Bob

Docutils: “python-docutils” for both Fedora and Ubuntu.

PyQwt: “PyQwt,” “PyQwt-devel,” and “qwt-devel” for Fedora*; it looks like you
already have PyQwt covered on Ubuntu (python-qwt5-qt4 and libqwt5-qt4-dev).

    • works on Fedora 13

Thanks,
Sean

Done.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

Ran into a small problem. Accessing GRC from the menu
Applications/programming comes back with ‘cannot import gnuradio’ check
Python and LD_LIBRARY_PATHS. After wasting a few hours checking paths,
reading/searching forums, reading wiki readme’s, reading Joshs website,
I decided to run it at command line: ‘gnuradio-companion’ - and it
works.

I actually thought this fight would take me to Xmas.

-Bob

I just wanted to say that I solved most problems.

It was due to doing everything through remoting in via xrdp instead of
working directly on the console. So I think it was security related.

Thanks,
-Bob

Bob And wrote in post #1028710:

Ran into a small problem. Accessing GRC from the menu
Applications/programming comes back with ‘cannot import gnuradio’ check
Python and LD_LIBRARY_PATHS. After wasting a few hours checking paths,
reading/searching forums, reading wiki readme’s, reading Joshs website,
I decided to run it at command line: ‘gnuradio-companion’ - and it
works.

I actually thought this fight would take me to Xmas.

-Bob

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs