|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] control port on 3.7.8 ? |
Date: | Thu, 7 May 2015 09:53:56 -0400 |
AchilleasthanksOK, so cmake cannot find thrift, which is reasonable because i didn't build it...So, I followed the instructions on building thrift andconfigure 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?
On Wed, May 6, 2015 at 1:27 PM, Achilleas Anastasopoulos <address@hidden> wrote:AchilleasAfter pulling the latest version of gnuradio, and remaking/installing/etcIt is giving me the following error:
I am trying to run the application "pfb_sync_test.grc" in the examples directory of control port.
================
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 <module>
(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.thanksLooks like the server isn't being started. When you run cmake, you should see that under enabled components, you have:* gr-ctrlport** thriftThat 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:I also just pushed a new apache-thrift recipe to PyBOMBS today.Tom
[Prev in Thread] | Current Thread | [Next in Thread] |