Error in installing GNU Radio v3.7

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
Sent from the GnuRadio mailing list archive at Nabble.com.

-----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

Sent from the GnuRadio mailing list archive at Nabble.com.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - 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-----

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

I made a patch for this, but I haven’t opened a pull request for my
branch
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 [email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - 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-----

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] <

On Sat, Apr 5, 2014 at 8:26 AM, Marcus M. [email protected] 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

-----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

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

Sent from the GnuRadio mailing list archive at Nabble.com.

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

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

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

-----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. [email protected] 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
[email protected]
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-----

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