# Gr-air-modes compilation

**URL:** <https://www.ruby-forum.com/t/gr-air-modes-compilation/240725>\
**Category:** GNU Radio\
**Created:** [April 28, 2014, 1:25am UTC](https://www.ruby-forum.com/t/gr-air-modes-compilation/240725 "2014-04-28T01:25:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 28, 2014, 1:25am UTC](https://www.ruby-forum.com/t/gr-air-modes-compilation/240725/1 "2014-04-28T01:25:53Z")

</div>

I am trying to compile the lasted code from github and am getting an  
error  
from CMake. It is looking for pyZMQ and not finding it. I tried to  
install  
the module but not having much luck - that is it is not simple. Is  
there a  
scenario that I can follow? The dependency list does not cite PyMZQ so  
I am  
curious if it really needs it. This is on Ubutunu 14.04.

Alan - W6ARH

---

<div class="post-metadata">

**Author:** ![Silverfox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Silverfox](https://www.ruby-forum.com/u/Silverfox)\
**Post date:** [April 29, 2014, 11:14am UTC](https://www.ruby-forum.com/t/gr-air-modes-compilation/240725/2 "2014-04-29T11:14:47Z")

</div>

I got it complied and working. The key was to install Cython. It is  
probably worthwhile to add it to the dependency list.

Alan

From: Nick F. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Sunday, April 27, 2014 4:30 PM  
To: Silverfox  
Subject: Re: [Discuss-gnuradio] gr-air-modes compilation

Open python, type “import zmq”. What’s the result?

On Sun, Apr 27, 2014 at 4:24 PM, Silverfox [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

I am trying to compile the lasted code from github and am getting an  
error from CMake. It is looking for pyZMQ and not finding it. I tried  
to install the module but not having much luck - that is it is not  
simple. Is there a scenario that I can follow? The dependency list  
does not cite PyMZQ so I am curious if it really needs it. This is on  
Ubutunu 14.04.

Alan - W6ARH

---

<div class="post-metadata">

**Author:** ![Silverfox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Silverfox](https://www.ruby-forum.com/u/Silverfox)\
**Post date:** [April 29, 2014, 11:17am UTC](https://www.ruby-forum.com/t/gr-air-modes-compilation/240725/3 "2014-04-29T11:17:44Z")

</div>

That’s very strange. Cython isn’t required for either PyZMQ or  
gr-air-modes. My guess is you have multiple Python versions installed,  
and  
PyZMQ got installed to a version that isn’t the one gr-air-modes found.

Whatever works! =)

–n

---

<div class="post-metadata">

**Author:** ![Silverfox](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Silverfox](https://www.ruby-forum.com/u/Silverfox)\
**Post date:** [April 29, 2014, 12:31pm UTC](https://www.ruby-forum.com/t/gr-air-modes-compilation/240725/4 "2014-04-29T12:31:38Z")

</div>

gr-air-modes did not require it but it was needed to compile libzmq.  
I’ll check but I am sure all I have is Python 2.7.

Cheers,

Alan

From: Nick F. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Monday, April 28, 2014 9:13 AM  
To: Silverfox  
Cc: GNURadio D.ion List  
Subject: Re: [Discuss-gnuradio] gr-air-modes compilation

That’s very strange. Cython isn’t required for either PyZMQ or  
gr-air-modes. My guess is you have multiple Python versions installed,  
and PyZMQ got installed to a version that isn’t the one gr-air-modes  
found.

Whatever works! =)

–n

On Mon, Apr 28, 2014 at 9:10 AM, Silverfox [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

I got it complied and working. The key was to install Cython. It is  
probably worthwhile to add it to the dependency list.

Alan

From: Nick F. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Sunday, April 27, 2014 4:30 PM  
To: Silverfox  
Subject: Re: [Discuss-gnuradio] gr-air-modes compilation

Open python, type “import zmq”. What’s the result?

On Sun, Apr 27, 2014 at 4:24 PM, Silverfox [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

I am trying to compile the lasted code from github and am getting an  
error from CMake. It is looking for pyZMQ and not finding it. I tried  
to install the module but not having much luck - that is it is not  
simple. Is there a scenario that I can follow? The dependency list  
does not cite PyMZQ so I am curious if it really needs it. This is on  
Ubutunu 14.04.

Alan - W6ARH
