About building gnuradio on mac os x lion behind a firewall

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

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

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
<[email protected]

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

On May 26, 2013, at 3:48 PM, Michael D. [email protected] wrote:

Homebrew of Fink

Homebrew -or- Fink :slight_smile: