If your end goal is to install gr-baz, then you need to build it from
the source code.
It's old code and it assumes you have a UHD so you may need to install
UHD also to get it to build.
But to answer your question, you either need to build what you need from
source or upgrade ubuntu.
And then it may not be able to get gr-baz to work regardless of which
option you choose.
-- Cinaed
On 11/5/21 14:23, Ian Bennett wrote:
> All,
> I followed the install instructions from here:
> https://wiki.gnuradio.org/index.php/InstallingGR
> After uninstalling 3.7 that came from the Ubuntu repos, I did:
> $ sudo add-apt-repository ppa:gnuradio/gnuradio-releases
> $ sudo apt update
> $ sudo apt install gnuradio
> This gave me version 3.8.2.0 (Python 3.6.9) and not 3.9 as indicated.
> I now have no source for my RTL dongle, nor do I have a "osmocom
> source".
> I note that during the install, one of the "Suggested Packages" is
> gr-osmosdr however at the bottom of the website install instructions
> it states "Attention: Do NOT try to install further packages like
> `gr-osmosdr` via Ubuntu's package management (i.e. using "apt").
> Ubuntu will try to install a potentially incompatible version and your
> system will be in an undefined state."
> How do I solve my RTL dongle and osmocom source problem?
> Guidance appreciated.
>
> Ian
>
> On 6/11/21 7:51 am, Ian Bennett wrote:
>> Cinaed,
>> Thanks for the reply.
>> librtlsdr-dev was already installed. The other two were not and
>> pulled in some other dependencies during the install process.
>> This did not fix my problem though.
>> I couldn't install gr-baz from the ubuntu repo so followed the
>> build process for gr-baz on github. I could then get it to run, but
>> with no output.
>> After further reading, the website recommends a minimum version
>> of 3.8. I note that 3.9 is available via a PPA so will install that
>> and work through the tutorials (which I didn't find yesterday). Must
>> have had a "man" look ;-)
>> Thanks again for your assistance.
>>
>> Ian
>>
>> On 6/11/21 6:47 am, Cinaed Simson wrote:
>>> I'd recommend installing -the following - if you haven't already
>>> done so
>>>
>>> librtlsdr-dev
>>> libosmosdr-dev
>>> libosmocore-dev (not sure)
>>>
>>> And I'm just guessing - I don't have gnuradio 3.7 or ubuntu installed.
>>>
>>> Also,unless you were able to in install the ubuntu package gr-baz
>>> from one of the ubuntu repositories - which is unlikely, then
>>> download and built the code from
>>>
>>> https://github.com/balint256/gr-baz
>>>
>>> I's an OOT module which doesn't come with gnuradio.
>>>
>>> And I would test using the rtl dongle with gnuradio. Create a
>>> flowgraph with the "osmocom soure" and a "qt gui sink".
>>>
>>> -- Cinaed
>>>
>>> On 11/5/21 03:40, Ian Bennett wrote:
>>>> Good Evening,
>>>> I am taking my first tentative steps with GNU Radio.
>>>> I am using Ubuntu 18.04.6 LTS with a RTL2832U dongle from
>>>> RTL-SDR.COM. This combination works fine with CubicSDR and rtl_433.
>>>> I installed gnuradio-companion from the repo (sudo apt install
>>>> gnuradio) which gave me version 3.7.11-10.
>>>> I found a tutorial that built a FM receiver, so thought that
>>>> would be a good place to start.
>>>> After a few issues building the receiver (solved with google),
>>>> I finally got to the point where I could execute the flow graph.
>>>> Now I get the following in the terminal:
>>>>
>>>> Executing: /usr/bin/python -u
>>>> /data/Amateur_Radio/SDR/GNU-radio/top_block.py
>>>>
>>>> Traceback (most recent call last):
>>>> File "/data/Amateur_Radio/SDR/GNU-radio/top_block.py", line 35,
>>>> in <module>
>>>> import baz
>>>> File "/usr/local/lib/python2.7/dist-packages/baz/__init__.py",
>>>> line 40, in <module>
>>>> from baz_swig import *
>>>> ImportError: No module named baz_swig
>>>>
>>>> I can see there is "No module named baz_swig" but no amount of
>>>> googling yielded a solution.
>>>> Hoping someone can help.
>>>> Regards,
>>>>
>>>> Ian
>>>>
>>>> .
>>>
>>>
>>
>
No comments:
Post a Comment