# Control port on 3.7.8?

**URL:** <https://www.ruby-forum.com/t/control-port-on-3-7-8/241861>\
**Category:** GNU Radio\
**Created:** [May 6, 2015, 7:28pm UTC](https://www.ruby-forum.com/t/control-port-on-3-7-8/241861 "2015-05-06T19:28:31Z")\
**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:** [May 6, 2015, 7:28pm UTC](https://www.ruby-forum.com/t/control-port-on-3-7-8/241861/1 "2015-05-06T19:28:31Z")

</div>

After pulling the latest version of gnuradio, and  
remaking/installing/etc  
I am trying to run the application “pfb\_sync\_test.grc” in the examples  
directory of control port.  
It is giving me the following error:

================  
Executing:  
“/home/anastas/gnuradio\_trunk/gr-blocks/examples/ctrlport/pfb\_sync\_test\_qt.py”

# Using Volk machine: sse4\_1\_64\_orc ControlPort Monitor running. Traceback (most recent call last): File “/home/anastas/gnuradio\_trunk/gr-blocks/examples/ctrlport/pfb\_sync\_test\_qt.py”, line 233, in (tb.blocks\_ctrlport\_monitor\_0).start() File “/usr/local/lib64/python2.7/site-packages/gnuradio/ctrlport/monitor.py”, line 48, in start print “monitor::endpoints() = %s” % (gr.rpcmanager\_get().endpoints()) AttributeError: ‘NoneType’ object has no attribute ‘endpoints’ ctrlport.monitor received shutdown signal

this is on a Fedora 19-64.

Any help is greatly appreciated.

thanks  
Achilleas

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [May 6, 2015, 7:41pm UTC](https://www.ruby-forum.com/t/control-port-on-3-7-8/241861/2 "2015-05-06T19:41:58Z")

</div>

On Wed, May 6, 2015 at 1:27 PM, Achilleas A.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> # ControlPort Monitor running. ctrlport.monitor received shutdown signal
> 
> this is on a Fedora 19-64.
> 
> Any help is greatly appreciated.
> 
> thanks  
> Achilleas

Looks like the server isn’t being started. When you run cmake, you  
should  
see that under enabled components, you have:

- gr-ctrlport  
\*\* thrift

That tells you ControlPort is enabled and the Thrift backend will be  
built  
for it. You can also tell by looking at gnuradio/config.h to see if  
GR\_RPCSERVER\_ENABLED and GR\_RPCSERVER\_THRIFT are defined there.

My guess is that cmake isn’t picking up Thrift. It requires version  
0.9.2  
to run. You can get some info on building this yourself here:

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

I also just pushed a new apache-thrift recipe to PyBOMBS today.

Tom

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [May 7, 2015, 1:28am UTC](https://www.ruby-forum.com/t/control-port-on-3-7-8/241861/3 "2015-05-07T01:28:58Z")

</div>

OK, so cmake cannot find thrift, which is reasonable because i didn’t  
build  
it…

So, I followed the instructions on building thrift and  
configure returns

…

thrift 0.9.2

Building C++ Library … : no  
Building C (GLib) Library … : yes  
Building Java Library … : yes  
Building C# Library … : no  
Building Python Library … : yes  
Building Ruby Library … : no  
Building Haskell Library … : no  
Building Perl Library … : no  
Building PHP Library … : yes  
Building Erlang Library … : no  
Building Go Library … : no  
Building D Library … : no  
Building NodeJS Library … : no  
Building Lua Library … : no

Java Library:  
Using javac … : javac  
Using java … : java  
Using ant … : /usr/bin/ant

Python Library:  
Using Python … : /usr/bin/python

PHP Library:  
Using php-config … :

If something is missing that you think should be present,  
please skim the output of configure to find the missing  
component. Details are present in config.log.

==========================

Is the C++ library necessary?

The config.log file says that it needs boost 1.54.0 or greater, for some  
files. Can this be the reason the C++ library is not built?

thanks  
Achilleas

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [May 7, 2015, 3:55pm UTC](https://www.ruby-forum.com/t/control-port-on-3-7-8/241861/4 "2015-05-07T15:55:21Z")

</div>

On Wed, May 6, 2015 at 7:28 PM, Achilleas A.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Building C++ Library … : no  
> Building D Library … : no
> 
> The config.log file says that it needs boost 1.54.0 or greater, for some  
> files. Can this be the reason the C++ library is not built?
> 
> thanks  
> Achilleas

Here’s the Thrift webpage for the installation dependencies:

> **[Apache Thrift - Index of install/](https://thrift.apache.org/docs/install/)**

It /says/ it only requires Boost 1.53. The libevent and zlib are  
optional  
dependencies, but you’ll want to have the libevent, which I believe can  
be  
installed with “yum install libevent-devel” on Fedora.

If it really is complaining about Boost 1.53 and saying it needs 1.54,  
that’s either a bug in their build script or their documentation.

Tom
