Closed nlhnt closed 4 years ago
Closing for further investigation with the information found in #208
Edit: unfortunately cmake log didn't show any silent errors and cmake log error only mentioned libpthreads (lpthreads) which is installed in the system. I will try using pybombs.
For anyone wondering, I strongly advocate using pybombs to install gnuradio and everything associated with it. Even if cmake works then dependencies might not get resolved correctly inside the gnuradio-companion. I tried installing.
This module with pybombs while having installed gnuradio through yum/dnf and it would get stuck on installing libvolk. I tried installing libvolk from source instead and it also didn't work (even though it compiled and installed into system successfuly).
The solution is to use the same build configuration and dependency resolver which is smart: pybombs. Install your gnuradio through pybombs, then add the modules using the recipes and it will work. It even installed libvolk correctly now...
@nlhnt I am trying to use pybombs and the gr-foo module worked for me but when I try to run
pybombs install gr-ieee802_11
I get the error that there is no recipe file. Do you remember what recipe you had to add to pybombs for your install to work?
I added the recipe to pybombs via the command
pybombs recipes add git://github.com/bastibl/gr-ieee802-11.git
and it appears when I list the recipes.
I never used PyBomsb, but AFAIK, recipes are installation instruction for a module and not the module. So adding git://github.com/bastibl/gr-ieee802-11.git
won't help. This module seems to be in https://github.com/gnuradio/gr-recipes
and is called gr-ieee80211
.
EDIT: I have just found out about #208 so I am closing for now - I still didn't resolve it but maybe I will find some clue in there.
Hello, first of all thank you so much for your work on the implementation of IEEE 802.11 TRx. I have seen a lot of issues that were closed connected with "building" wifi_phy_hier.grc I am looking for some directions. I know this is not some help/support forum, but I decided to give it a shot anyway :) I installed GNU Radio using my system package manager - I know this is not the best practice, but on the newest Fedora it was fairly up to date so I decided to give it a try. I succesfully installed a custom module, following the guided tutorial on GNURadio wiki-site, it even appeared in my search bar in GRC. Then I decided to dive a little deeper and try to install gr-foo, gr-ieee802_11, gr-ieee802_15_4 from source. I cloned the repositories, made a build directory, ran the standard procedure:
Anywho, the modules didn't give me any errors, I needed to install a missing dependency in my system (fftw library). I got access to them in GRC, but the wifi_phy_hier.grc example gives me an error, which had been posted here a few time. I didn't find the sollution though. The module itself is imported correctly, so I don't know what's happeneing. It seems GRC also calls the same python interpreter. I got some logs from calling the GRC through terminal [1] and from importing the gnuradio and ieee802_11 modules in iPython [2].
Basically the logs say that ieee802_11 module has no attributes
LS
orsignal_field
, which also seems to be the case when I manually import the module in iPython [2]. Any idea what I might be missing or where I went wrong during the installation of the modules? I feel like the closest issue which maybe has the sollution is #19 but I am not reall sure if it is the same issue. The only similarity seems to be that there the import was not succesful at all, here the module doesn't have attributes which are called for - which might have the same genesis? As you can see in [2] the modules were built into the same directory/usr/lib64/python3.8/site-packages/
[1]:
Logs from GRC started from terminal - trying to load wifi_phy_hier.grc
[2]
Importing gnuradio and ieee802_11 modules in iPython