Opened 12 years ago
Closed 12 years ago
#38031 closed defect (fixed)
Adding RTL-DSR to gnuradio-companion fails to include new input sources
Reported by: | whaleyweb00@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | mfeiri | |
Port: | gnuradio rtl-sdr |
Description
Hi, I am new with both Macports and gnuradio so the problem could be me, but....
My first attempt to install gnuradio did not succeed. The install script completed without error, but not all the components were compiled and copied to the /opt/local paths. No clue as to why. After reading other posts, I tried 'sudo port install gnuradio +full' which worked and installed all the components.
I then installed rtl-sdr with: 'sudo port install rtl-sdr' which quit with a qwt52 error since qwt was already present. I uninstalled qwt with a 'sudo port uninstall qwt' and that worked. The 2nd time I installed rtl-dsr ran with only a couple of qwt52 dependency warnings.
The rtl-sdr binaries compiled and are functional. However, I'd like to get the gnuradio-companion app to add the RTL-SDR input sources, but all that is there are the default input sources.
So my question is, how do I get gnuradio-companion to recognize the new input sources provided by RTL-SDR?
Any help is appreciated. Thanks, Greg
Change History (6)
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Cc: | mfeiri@… added |
---|---|
Keywords: | gnuradio rtl-sdr removed |
Owner: | changed from macports-tickets@… to michaelld@… |
comment:2 Changed 12 years ago by michaelld (Michael Dickens)
You need the gr-osmosdr extension to GNU Radio to get the GRC blocks installed. Neither the gnuradio nor the rtl-sdr ports provide this functionality. I believe that you have to install gr-osmosdr from source on Mac OS X. That said, it should be pretty straight forward to do the install -- just follow the instructions except the last step (Mac OS X does not do "ldconfig"). This will install everything into /usr/local somewhere, so you'll then need to set your shell environment's PATH and PYTHONPATH to include the correct directories therein.
Or, if you ask nicely, I'll bump creating a port for gr-osmosdr up on my list of things to do -- not that this means it'll get done quickly, but probably in the next couple of weeks instead of maybe months away. This would make installing the gr-osmosdr project as simple as "sudo port install gr-osmosdr", which would be pretty cool.
comment:3 Changed 12 years ago by michaelld (Michael Dickens)
On Feb 11, 2013, at 9:56 PM, GW <whaleyweb00@…> wrote on the MacPorts developer's list, replying to comment:2:
Yes, please, if you could bump the priority of creating a port for gr-osmsosdr, I would appreciate it.
OK; I'll look into it. I'll post back to this ticket once I have something checked in.
comment:4 follow-up: 5 Changed 12 years ago by michaelld (Michael Dickens)
Haha; took me much less time than I had thought. Done in r103082. And, I checked by running GRC and these RTL and OSMO blocks appear in it now. Very cool. I tried to get the new gr-osmosdr port to enforce the same variants as whatever is installed with gnuradio; not sure if I succeeded. Hopefully you can get this to work without much ado. I'll leave this ticket open for now; please do reply back if you have success or not.
comment:5 Changed 12 years ago by whaleyweb00@…
Replying to michaelld@…:
please do reply back if you have success or not.
After updating the port tree I was able to successfully install gr-osmosdr using the +full variant. The RTL-DSR sources are now installed in GRC. It seems to work as expected. Thanks for putting the package together!
comment:6 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Great! You're welcome. Thanks for reporting back.
Thanks for the ticket. In the future, please Cc relevant port maintainers.