On Sat, Jan 12, 2013 at 8:19 PM, Michael L Kornegay <m...@mlksys.atlanta.ga.us> wrote: > Alex, > > You said: > > Thanks for the tip - I will try to rebuild using gcc later and see > what difference it makes. For now I am happy that after installing > gnuradio, I could install the rtl-sdr and gr-osmosdr packages, and > since I already had Qt 4.8 installed I could also build gqrx without > major issues. > > > Sounds like you have had general success on Mac OS X. > > > I have been trying the following: > > sudo port install gnuradio +full configure.compiler=llvm-gcc-4.2 > sudo port select --set python python27 > > volk_profile > > sudo port install rtl-sdr > > rtl_test -t > > All with success, the only hardware I have right now is the DTV tuner. > Success except the following... > > > What I am having trouble with is getting gr-osmosdr installed. I did not > see it in macports so I tried from the rtl-sdr site: > > git clone git://git.osmocom.org/gr-osmosdr > cd gr-osmosdr/ > mkdir build > cd build/ > cmake ../ > make > sudo make install > sudo ldconfig > > > The last command 'ldconfig' is not supported on the Mac. > > When I do this it ends up in /usr/local instead of /opt/local for macports. > I changed one of the make files and got it to copy over to /opt/local > instead. > > My problem is the new sources do not show up in gnuradio-companion. Maybe I > did something out of order. Maybe missing something. > > How did you successfully install rtl-sdr and gr-osmosdr in the Mac and > working with gnu radio-companion?
Hi Michael, I didn't realize rtl-sdr was in macports, so I installed both of them from source. It should be fine from macports though as long as it doesn't get too old compared to gr-osmosdr. In order to have gr-osmosdr installed in /opt/local I use: $ cmake -DCMAKE_INSTALL_PREFIX=/opt/local .. Be sure to uninstall the other first - having multiple copies of the same library installed is very bad. After installing rtl-sdr and gr-osmosdr I could compile gqrx but to make it run I had to copy the rtl-sdr and gr-osmosdr libraries to the same directory where gqrx.app was located. I suppose there is something incorrect with the linker commands - I didn't have time to look at it. I only installed the minimal gnuradio whithout python and gnuradio-companion. You probably need to add a path to the grc configuration (I believe it's explained in the wiki). Alex _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio