# About building gnuradio on mac os x lion behind a firewall

**URL:** <https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018>\
**Category:** GNU Radio\
**Created:** [May 26, 2013, 3:41pm UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018 "2013-05-26T15:41:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alcina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@alcina](https://www.ruby-forum.com/u/alcina)\
**Post date:** [May 26, 2013, 3:41pm UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018/1 "2013-05-26T15:41:26Z")

</div>

Hi,

Is it possible to compile gnuradio in Mac OS X Lion. I am behind a  
college  
firewall and I can use only port 80 and sometimes 443. Svn, rsync etc.  
doesn’t work and so i can use neither fink nor macports. Some of the  
dependencies can be installed with Homebrew (package manager) using “git  
over https” but not all.

I managed to build UHD.

But while doing ‘make test’ on gnuradio 3.6.4.1, it failed almost all  
the  
tests.

Thanks,  
swrangsar

---

<div class="post-metadata">

**Author:** ![swrangsar\_basumatar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/df788c/32.png) [@swrangsar\_basumatar](https://www.ruby-forum.com/u/swrangsar_basumatar)\
**Post date:** [May 26, 2013, 9:49pm UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018/2 "2013-05-26T21:49:29Z")

</div>

Hi swrangsar - I’m the MacPorts maintainer for the GNU Radio related  
ports. MacPorts can install all of this (GNU Radio, UHD, osmosdr for  
RTL devices), and should work correctly with Mac OS X Lion. I generally  
recommend against simultaneously using MacPorts and any other means of  
installing dependencies (e.g., via Homebrew of Fink), but this can be  
made to work. I would have expected Homebrew and Fink to provide a GNU  
Radio and UHD install, too, so maybe that is worth looking into. If you  
do decide to use MacPorts, and have issues, send me an email off-list  
and I’ll help you work through the issues. Good luck! - MLD

---

<div class="post-metadata">

**Author:** ![swrangsar\_basumatar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/df788c/32.png) [@swrangsar\_basumatar](https://www.ruby-forum.com/u/swrangsar_basumatar)\
**Post date:** [May 28, 2013, 7:13am UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018/3 "2013-05-28T07:13:20Z")

</div>

Hi michael,

How do i install gnuradio with uhd support using macports.

my guess is : sudo port install gnuradio +uhd

thanks,

swrangsar

On Mon, May 27, 2013 at 10:40 AM, swrangsar basumatary  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![swrangsar\_basumatar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/df788c/32.png) [@swrangsar\_basumatar](https://www.ruby-forum.com/u/swrangsar_basumatar)\
**Post date:** [May 28, 2013, 8:03am UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018/4 "2013-05-28T08:03:00Z")

</div>

Hi swrangsar - I generally recommend doing:  
{{{  
sudo port install gnuradio +full  
}}}  
to get all of the goodies, including python swig interface files and all  
possible components (wxgui, qtgui, etc). But, Qt takes a -long- time to  
build if if a non-standard install – the default install will be  
available as a downloadable binary which is much faster. Hence, there  
are variants for different installs depending on what dependencies folks  
already have or are willing to install. Do:  
{{{  
port variants gnuradio  
}}}  
to see the list and make your selection. What you wrote (“sudo port  
install gnuradio +uhd”) will install the basic GNU Radio libraries along  
with binary/library support for UHD. But, it will not install the  
components for GUIs, SWIG bindings for the Python interface, nor GRC.  
Of course, not everyone wants all of the “bells and whistles” installed;  
so, maybe this would be all you need.

As a side note, if you have Homebrew installed and want to move to  
MacPorts, I think the major thing you need to is change your shell  
environment to -not- access anything from Homebrew. So, change PATH,  
PYTHONPATH, any DYLD\*, and anything else that refers to Homebrew’s  
install location. I’ve never used Homebrew so I cannot comment on if  
there is anything else; but, generally, my experience has been that if  
the shell does not know where to look, it won’t find anything. You can  
always make a tarball of the Homebrew directory then remove (sudo rm  
-rf) it.

Good luck! - MLD

---

<div class="post-metadata">

**Author:** ![swrangsar\_basumatar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/df788c/32.png) [@swrangsar\_basumatar](https://www.ruby-forum.com/u/swrangsar_basumatar)\
**Post date:** [May 26, 2013, 9:51pm UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018/5 "2013-05-26T21:51:50Z")

</div>

On May 26, 2013, at 3:48 PM, Michael D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Homebrew of Fink

Homebrew -or- Fink 🙂
