Macports install where is gnuradio-core?

Hello,
I recently installed gnu radio using macports and so far things seem to
be working, that is I can open and edit changes in GRC, make my own
modules and see it compile etc. Early days.However I dont see where
gnuradio-core is installed if at all.
Does Macports install gnu radio-core?

Here is the output from port installed:
port installed | grep gnuradio
gnuradio
@3.7.4_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui
(active)

Here is the output from ls
ls /opt/local/lib/python2.7/site-packages/
volk_modtoolxcbgen

Specifically I am looking for the package “read_complex_binary” which
can help me read files dumped from grc.

thanks in advance,
Sharath

Hi Sharath - GNU Radio API version 3.7 installs “gnuradio-runtime”.
“gnuradio-core” is from the 3.6 API. This change is version dependent
and OS agnostic. You can find what a port installed and where it is
installed via “port contents gnuradio | more”. THe Python files are
installed into
“/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/”.
Hope this helps. - MLD

On Aug 7, 2014, at 6:59 PM, Sharath A. [email protected] wrote:

Specifically I am looking for the package “read_complex_binary” which can help
me read files dumped from grc.


Michael D., OSX Programmer
Ettus R. Technical Support
Email: [email protected]
Web: http://www.ettus.com

Hi Sharath - Ah; OK. You are correct that the GNU Radio installer does
not install Octave files (in MacPorts or any other place; it’s OS
agnostic). But, they are present in “gr-utils/octave” if you download
the source (release or git). You don’t need to reinstall GNU Radio from
source or whatever, since these are just scripts used by Octave.
Further, since the GNU Radio source is already downloaded, you can just
use it. You can find those for GNU Radio in
“/opt/local/var/macports/distfiles/gnuradio/”. Since you installed the
release, you should have a file “gnuradio-3.7.4.tar.gz” … so, you
should be able to extract the files you want via
{{{
tar jxf /opt/local/var/macports/distfiles/gnuradio/gnuradio-3.7.4.tar.gz
“*/gr-utils/octave”
}}}
Then, you’ll probably want to move them to some place move appropriate;
you can figure that part out :slight_smile: - MLD

Michael,
Thanks for the response. What I am looking for was to replicate the
following instructions which got from another website…

“After that you need to tell the location of these scripts to the
Octave, typing the following line on the octave prompt will do the work
addpath(”/home/username/gnuradio/gnuradio-core/src/utils/")
say the name of the data file you collected using uhd_rx_cfile is data
type the following in octave now
data_oct = read_complex_binary("/home/username/data")"

However there is no src/utils in gnuradio-runtime and this script
‘read_complex_binary’ is not anywhere…

My thinking is that this is because macports has not installed this.
Should I be trying to install from source?

Thanks again,
Sharath

On Thursday, August 7, 2014 4:12 PM, Michael D.
[email protected] wrote:

Hi Sharath - GNU Radio API version 3.7 installs “gnuradio-runtime”.
“gnuradio-core” is from the 3.6 API. This change is version dependent
and OS agnostic. You can find what a port installed and where it is
installed via “port contents gnuradio | more”. THe Python files are
installed into
“/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/”.
Hope this helps. - MLD

On Aug 7, 2014, at 6:59 PM, Sharath A. [email protected] wrote:

Specifically I am looking for the package “read_complex_binary” which can help
me read files dumped from grc.


Michael D., OSX Programmer
Ettus R. Technical Support
Email: [email protected]
Web: http://www.ettus.com