[Discuss-gnuradio] OS X Tutorial Problem fixed

2016-04-26 Thread jim Schimpf
Hi,
Thanks to  Michael Dickens <michael.dick...@ettus.com 
<mailto:michael.dick...@ettus.com>>. The tutorial problem in OS X I was having 
is fixed.  Deleting the tutorial build directory, and then starting over using 
cmake -DCMAKE_INSTALL_PREFIX=/opt/local ../ for the cmake line in the tutorial 
was the cure. This re-targeted the "make install" to /opt/local which is the 
“port” OS X install location for gnuradio. Starting gnuradio-companion then had 
the tutorial block added just like it’s supposed to.

Thank you for the help.

—jim schimpf

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] OS X GnuRadio Tutorial question

2016-04-25 Thread jim Schimpf
Hi,
 I have installed GnuRadio via “port” on OS X 10.11.4 and it runs with 
my RTL dongle.  I am working through the GnuRadio Tutorials and am on this one 
(http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_Python
 
)
 building new blocks. I have followed the tutorial, building the multiply_py_ff 
block and run it directly in Python which works.  When I try to build it so 
gnuradio-companion can use it all the steps work except for the last “sudo 
ldconfig” as ”ldconfig” is not present. in OS X  The block does not appear in 
the list of available blocks when I run gnuradio-companion.  

The "make install" ran OK and put things in the right places. How do I 
fix this so the new block appears in gnuradio-companion ?  I searched the group 
and didn’t find a reference to this particular problem.

The make install did write the XML to the block directory that 
gnuradio-companion uses:

---
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_multiply_py_ff.xml

Startup of gnuradio-companion

Preferences file: /Users/jim/.gnuradio/grc.conf
Block paths:
/opt/local/share/gnuradio/grc/blocks
/Users/jim/.grc_gnuradio
---

Thank you for the help.

Also I am using PyCharm as my Python IDE and found to use it on my 
install of GnuRadio I created a new project and set the Python interpreter to 
/opt/local/bin/python2.7. it then works just fine with the GnuRadio python code.


—jim schimpf___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio