# Gr-ctrlport

**URL:** <https://www.ruby-forum.com/t/gr-ctrlport/239730>\
**Category:** GNU Radio\
**Created:** [March 12, 2014, 7:13am UTC](https://www.ruby-forum.com/t/gr-ctrlport/239730 "2014-03-12T07:13:46Z")\
**Posts on this page:** 3\
**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:** [March 12, 2014, 7:13am UTC](https://www.ruby-forum.com/t/gr-ctrlport/239730/1 "2014-03-12T07:13:46Z")

</div>

I am building GNU Radio 3.7.3 from source and wish to  
enable the CTRLPORT module. I have already installed  
Ice-3.5.1 for C++ in the location /opt/Ice-3.5.1  
(satisfying required dependencies)  
My current gcc version is 4.8.1  
But, cmake is not able to locate ice 3.5.1 and hence disables support  
for gr-ctrlport.  
I tried by passing the flags, -DICE\_MANUALL\_INSTALL\_PATH=/opt/Ice-2.5.1/  
and -DENABLE\_GR\_CTRLPORT=ON, but to no avail. Any suggestions ?

Here is the relevant cmake output :

* * *

## – Python checking for Ice \>= 3.5 – Python checking for Ice \>= 3.5 - not found – ICE 3.5 not found. Looking for 3.4 – package ‘Ice-3.4’ not found

## – Configuring gr-ctrlport support… – Dependency Boost\_FOUND = TRUE – Dependency SWIG\_FOUND = TRUE – Dependency SWIG\_VERSION\_CHECK = TRUE – Dependency ICE\_FOUND = – Dependency ENABLE\_GNURADIO\_RUNTIME = ON – Disabling gr-ctrlport support. – Override with -DENABLE\_GR\_CTRLPORT=ON/OFF

I couldn’t build python extensions for ice 3.5.1 on ubuntu 12.04  
(something  
wrong with the tarball available for download). Has anyone got this to  
work  
correctly ?  
Else, do I have to revert to ice 3.4.x with something less than gcc-4.6  
?

Abhishek

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 12, 2014, 10:46am UTC](https://www.ruby-forum.com/t/gr-ctrlport/239730/2 "2014-03-12T10:46:11Z")

</div>

On Wed, Mar 12, 2014 at 7:12 AM, Abhishek B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Here is the relevant cmake output :  
> – Dependency SWIG\_VERSION\_CHECK = TRUE
> 
> Abhishek

Python needs to know where the Ice module is and be able to run it,  
which means your system needs to know where libIce.so is. In other  
words, you need to set your PYTHONPATH to include  
/opt/Ice-3.5.1/python and LD\_LIBRARY\_PATH to include  
/opt/Ice-3.5.1/lib.

Tom

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 12, 2014, 2:55pm UTC](https://www.ruby-forum.com/t/gr-ctrlport/239730/3 "2014-03-12T14:55:22Z")

</div>

Paths were already updated. So that’s not the issue I feel.  
I will retry using the build-gnuradio script to ensure nothing was wrong  
with downloaded tarball.
