GNU Radio distribution and build from source

I think the distribution and build system needs some improvement.

I say that because a disproportionate amount of traffic on this list
seems
to pertain to building the software from source. It shouldn’t be this
hard
given the tools that are available.

Mike H., N4PLE


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

On Tue, May 27, 2014 at 10:12 AM, Marcus L. [email protected]
wrote:

o pybombs
Gnu Radio, like many modern pieces of software has a metric tonne of

So, short of the Gnu Radio project inventing their own,
yet-another-build-system, and ditching all the dependencies and writing
from “bare metal”, I’m not sure that the path forward would be any
different than what we have now.

And I agree that it /should/ be easy. But the thing is, I think that it
/is/ easy. However… One issue is that the project has evolved a lot
over
its lifetime and a lot even in the past year. So that means that a)
there’s
a lot of bad information out there about working with older releases and
b)
people want the latest and greatest. So they try one thing, and it only
gives them an older version, like 3.6, so they want to update. Without
properly removing everything from their system, they try and build from
scratch or use on of the build tools Marcus mention, which then causes
conflicts. Many of the installation questions are really related to
Linux
and it just happens to be GNU Radio that’s causing them to run into
these
OS problems.

Tom

On 27/05/14 15:21, Tom R. wrote:

?
? *some* of the "top" distributions "out there", but can't
re-build all that functionality from "bare metal".?  Modern software
?  above??  Well, the folks who write our Cmake files cannot, as a

Marcus mention, which then causes conflicts. Many of the installation


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
Ubuntu supplies 3.7.2 for 14.04, Fedora 20 and openSUSE supply 3.7.3 but
I prefer to build my own.

I use SDR apps such as quisk, qsdr and ghpsdr3-alex which have quite a
number of dependencies that help to reduce the number needed by
gnuradio. I needed only about 4 to build the latest git on Fedora 20.

Once I have built those apps, especially ghpsdr3-alex which details a
number of pre-reqs to be installed, it makes light work of building
gnuradio.

I use 3 cmake scripts, one for x86_64, one for Ubuntu x86_64 and one for
Ubuntu ARM.

x86_64 openSUSE and Fedora which use /usr/lib64

#!/bin/sh
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7
-DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr
.

Ubuntu x86_64 which uses /usr/lib

#!/bin/sh
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr .

ARM Ubuntu on Pandaboard, ODROID-X and Parallella-16.

#!/bin/sh
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr
-DENABLE_PYTHON=ON -DENABLE_VOLK=ON -DENABLE_GRC=ON …

73 … Sid.