# Error in installing GNU Radio v3.7

**URL:** <https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266>\
**Category:** GNU Radio\
**Created:** [April 4, 2014, 9:31pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266 "2014-04-04T21:31:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [April 4, 2014, 9:31pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/1 "2014-04-04T21:31:07Z")

</div>

Hi All,

I am trying to install GNU Radio v3.7, but at 10% of my “make”, it shows  
the  
following error:

Traceback (most recent call last):  
File “/raid/anb10/gnuradio\_3.7/build/python\_compile\_helper.py”, line  
6, in  
  
py\_compile.compile(file=src, cfile=gen, doraise=True)  
File “/usr/lib64/python2.6/py\_compile.py”, line 129, in compile  
raise py\_exc  
py\_compile.PyCompileError: SyntaxError: (‘invalid syntax’,  
(‘/raid/anb10/gnuradio\_3.7/gnuradio-runtime/python/pmt/pmt\_to\_python.py’,  
67, 88, ’ (numpy.float32,pmt.init\_f32vector, float,  
pmt.f32vector\_elements, pmt.is\_f32vector),\n’))

make[2]: \*\*\* [gnuradio-runtime/python/pmt/ **init**.pyc] Error 1  
make[1]: \*\*\*  
[gnuradio-runtime/python/pmt/CMakeFiles/pygen\_gnuradio\_runtime\_python\_pmt\_763a1.dir/all]  
Error 2  
make: \*\*\* [all] Error 2

What does it mean? And how to solve it?  
Any help is appreciated.

Thank you,  
Azza

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html](http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 5, 2014, 2:27pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/2 "2014-04-05T14:27:57Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Azza,

yes, this is a bug, since the usage of a set in this context breaks  
Python 2.6 compatibility; I will hurry to make a fix for this.

Greetings,  
Marcus

On 04.04.2014 21:28, Azza wrote:

> raise py\_exc py\_compile.PyCompileError: SyntaxError: (‘invalid  
> syntax’,  
> (‘/raid/anb10/gnuradio\_3.7/gnuradio-runtime/python/pmt/pmt\_to\_python.py’,

67, 88, ’ (numpy.float32,pmt.init\_f32vector, float,

> pmt.f32vector\_elements, pmt.is\_f32vector),\n’))
> 
> make[2]: \*\*\* [gnuradio-runtime/python/pmt/ **init**.pyc] Error 1  
> make[1]: \*\*\*

[gnuradio-runtime/python/pmt/CMakeFiles/pygen\_gnuradio\_runtime\_python\_pmt\_763a1.dir/all]

> 

Error 2

> [http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html](http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html)

Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTP/Z9AAoJEBQ6EdjyzlHtBIMH/0yeQ++KhjuxeoechQmLdh3D  
MDWkWSwSdGHJ3GdEb3E2V8TuSce7+gJ2E7dlasTYwMK+6fsCvEbJ10/VjBFmIiMq  
upfYmAYFdYtZPHDb8y/cwZP2xsIcWLSwt9ZMzQw5ao0i11BOQsol+B7PHPsLd1MU  
Qis5RMx1BPzjMIsEvLBTHFcfD8N83k/ATuXSXOxRkj4Q61PA78ft6Z9xV03ahkyd  
AU5tkTbTYO43waxb48tjx6yciag56CebZhMbzzqJOHin9QEmoUj55FNPqfCgpsM3  
G7TtqzZVR+6e1Oc6ax/RzO8gsaJhEZTqaWrKu8LZvlrFvApHYw9XEywTfjkE5R8=  
=45Nh  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 5, 2014, 3:14pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/3 "2014-04-05T15:14:40Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

I made a patch for this, but I haven’t opened a pull request for my  
branch  
[GitHub - marcusmueller/gnuradio: GNU Radio · GitHub](https://github.com/marcusmueller/gnuradio.git) pmt\_to\_python-py2.6-compat  
since I’m not able to test it, since all my machines are running more  
recent pythons.  
Does anyone have a RHEL machine around to test my patch?

Thanks’n’Greetings  
Marcus

On 05.04.2014 14:26, Marcus M. wrote:

> > (‘/raid/anb10/gnuradio\_3.7/gnuradio-runtime/python/pmt/pmt\_to\_python.py’,
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTQAF2AAoJEBQ6EdjyzlHtxsMH/R9bNA+sxzkmjkCfGl8pO1oZ  
2QkFiLw05+LdVA+RH7DfR6+vmhrlbcGcDSR6/IDa/mv+6agiP2ABAgwNjg/YlWxp  
3VPumH1BxJw5lObz8vLwuV/ZCGS8cvM0gtHqpaTK2rJc9SXj0tFZfnxDQ+Z21PpI  
+dhZE0Q7qxql30XI7hybcwegdvBeRk1YlF31M4EXgkRP0bD1yhLrnRevUEylEhfu  
wFJ5gyxz0OO3RwLVW+wwb16M8IgkUnQ0/AbIsqe6xTHdrOb8E3X+cXZOoVZYSJFy  
0jH1rPHml80EiUDo6sDJOyR8iESEZCRBkfGX6arbOV15N+O0HVV4tlNexuiNHnM=  
=EJM7  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 7, 2014, 6:13pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/4 "2014-04-07T18:13:30Z")

</div>

Sorry for this lack of information. Actually, I work on CentOS and I  
have  
Python2.6 running.  
I will be more specific in my future emails.  
Thank you for your response.

Regards,  
Azza

On Sat, Apr 5, 2014 at 9:13 AM, Marcus Müller [via GnuRadio] \<

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 7, 2014, 8:16pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/5 "2014-04-07T20:16:45Z")

</div>

On Sat, Apr 5, 2014 at 8:26 AM, Marcus M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> -----BEGIN PGP SIGNED MESSAGE-----  
> Hash: SHA1
> 
> Hi Azza,
> 
> yes, this is a bug, since the usage of a set in this context breaks  
> Python 2.6 compatibility; I will hurry to make a fix for this.
> 
> Greetings,  
> Marcus

Hey Marcus,

I was able to test compiling GNU Radio on a VM I have that runs Python  
2.6  
with your patch. It builds fine now. I can actually run anything or test  
it, but the VM installation is in a strange state (one that I’m not  
particularly invested in caring about right now).

I’m doing one final test of this now and will likely merge and push it  
out  
soon.

Thanks!

Tom

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 5, 2014, 3:14pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/6 "2014-04-05T15:14:05Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Just a side note, Azza:

When reporting errors, please include more information (system, os  
version, platform, method of installation).  
If I hadn’t had a wild guess on what’s going wrong, I couldn’t even  
have attempted to help here; for future problems, it’d be great if you  
stuck to:

[http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors](http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors)

By the way, python2.6 is rather old; maybe you should update to a more  
recent version of your distribution (if possible).

By the way your paths look I’d assume you’re running Fedora, CentOS,  
or RHEL:  
I think Fedora 14 already had full support for Python2.7, and that was  
three and a half years ago; I think RHEL is -so far- stuck with  
Python2.6, but I can’t really confirm.

Greetings,  
Marcus

On 04.04.2014 21:28, Azza wrote:

> raise py\_exc py\_compile.PyCompileError: SyntaxError: (‘invalid  
> syntax’,  
> (‘/raid/anb10/gnuradio\_3.7/gnuradio-runtime/python/pmt/pmt\_to\_python.py’,

67, 88, ’ (numpy.float32,pmt.init\_f32vector, float,

> pmt.f32vector\_elements, pmt.is\_f32vector),\n’))
> 
> make[2]: \*\*\* [gnuradio-runtime/python/pmt/ **init**.pyc] Error 1  
> make[1]: \*\*\*

[gnuradio-runtime/python/pmt/CMakeFiles/pygen\_gnuradio\_runtime\_python\_pmt\_763a1.dir/all]

> 

Error 2

> [http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html](http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html)

Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTQAFKAAoJEBQ6EdjyzlHtCWIH/22hdnIbwmDK1da77LzwbYJj  
Az8PtaYBPBQ1wwTtVCKx8OrJ4ACzqcxpUZxOpqP2u3ynGk/r5Y+Xt3mdKtpJyEqE  
GllBvyBSb5S2XjoL5EcUM/yPJurLCP3B6hmM4PV1iwLm8oF0kAgZVou3J/Fbutht  
hDqF46ZtgZiy77zVp6LSajujUB9OvwA1/B9ixxU9TA2idzyxSE7zOVJCQA26Z6BJ  
Wd+qRw0/VWNWt5wl08XcqMO6InQxwYTPlvcRWHGSZJm3TUBCfqs3zlAuTkJ4RYjR  
H7iEbrqA+qmVBpi0mk1iESDpbwHHW7JahKTkF3ga+zmz9oIB6ky5A0thTNpTJCA=  
=UXxI  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Azza](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Azza](https://www.ruby-forum.com/u/Azza)\
**Post date:** [April 7, 2014, 8:27pm UTC](https://www.ruby-forum.com/t/error-in-installing-gnu-radio-v3-7/240266/7 "2014-04-07T20:27:51Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA512

I just happened to have set up a centOS 6.5 cm for that same purpose  
this afternoon. The patched python file loads just fine, but the code  
doesn’t really work- however, I’m still figuring out what the original  
code was meant to do ( for some corner cases) and will be pushing a  
working, more beautiful version soon:-)  
Greetings,  
Marcus

On April 7, 2014 8:15:17 PM CEST, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> it, but the VM installation is in a strange state (one that I’m not
> 
> > > “/raid/anb10/gnuradio\_3.7/build/python\_compile\_helper.py”, line 6,
> > > 
> > > What does it mean? And how to solve it? Any help is appreciated.
> > 
> > Discuss-gnuradio mailing list  
> > [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

* * *

Sent from my Android device with K-9 Mail. Please excuse my brevity.  
-----BEGIN PGP SIGNATURE-----  
Version: APG v1.1.1

iQFABAEBCgAqBQJTQu3bIxxNYXJjdXMgTfxsbGVyIDxtYXJjdXNAaG9zdGFsaWEu  
ZGU+AAoJEBKNLRrpJvfovJ0IAKFvKrtOT9zVN+vLEsDV8LkHpFQjy2m51ULhfUi2  
1Oh819cpUgO05Xp1h00LY9iOxpnLcY2Dz/JEw5zXWRY7c1G6402vh1+BqoTGHa3l  
Qar0uyyAcxzIG4Qswa6saP3w3G+wXfHbFivvkhlPje3/+QFtsuV8c8KGcaPzKbl5  
UtRTJNWF6QAZd6QStiltEPUvouzpVDnJqKCu7NVBHOZvBBf0l2v7aEdD3Dcx1Uw5  
bnjWbAjMp8OaqZ+Md0qVOc4kG420cxkKS1W7ur2UjsInGo8PjJohC90NV5VNZKib  
zN5JGJLf4lkbj+NGrAwbHd796Mgyh+NSjcD34dEDFMKNUUg=  
=2vmc  
-----END PGP SIGNATURE-----
