[BUG] core-daemon reports that emane is not installed, despite being installed
See original GitHub issueDescribe the bug When launching the core-daemon, it reports that:
$ sudo core-daemon
2022-02-24 12:24:51,610 - INFO - core-daemon:banner - CORE daemon v.8.1.0 started Thu Feb 24 12:24:51 2022
2022-02-24 12:24:51,620 - INFO - coreemu:_load_emane - emane is not installed, emane functionality disabled
2022-02-24 12:24:51,620 - INFO - server:listen - CORE gRPC API listening on: localhost:50051
2022-02-24 12:24:51,621 - INFO - core-daemon:cored - CORE TLV API TCP/UDP listening on: localhost:4038
Special note to message:
2022-02-24 12:24:51,620 - INFO - coreemu:_load_emane - emane is not installed, emane functionality disabled
To Reproduce I have followed the basic steps advised in the docs:
$ inv install
installing core locally: False
installing core with prefix: /usr/local
checking for old installations ... done
installing system dependencies ... done
installing system grpcio-tools ... done
building core ... done
installing vcmd/gui ... done
installing core virtual environment ... done
installing scripts, examples, and configuration ... done
installing systemd service ... done
installing ospf mdr ... /
quagga already installed, skipping ospf mdr
done
install complete!
and:
$ inv install-emane master
installing system dependencies ... done
cloning emane ... done
setup emane ... done
build emane python bindings ... done
installing emane python bindings for core virtual environment ... done
which seems to suggest emane (master version) and its python bindings install successfully. However, upon launching the core-daemon:
$ sudo core-daemon
2022-02-24 12:24:51,610 - INFO - core-daemon:banner - CORE daemon v.8.1.0 started Thu Feb 24 12:24:51 2022
2022-02-24 12:24:51,620 - INFO - coreemu:_load_emane - emane is not installed, emane functionality disabled
2022-02-24 12:24:51,620 - INFO - server:listen - CORE gRPC API listening on: localhost:50051
2022-02-24 12:24:51,621 - INFO - core-daemon:cored - CORE TLV API TCP/UDP listening on: localhost:4038
I also cannot see the ‘emane’ tab under WLAN node configure option:
Double-click on a WLAN node to invoke the WLAN configuration dialog. Click the EMANE tab; when EMANE has been properly installed, EMANE wireless modules should be listed in the EMANE Models list.
from: https://github.com/coreemu/core/blob/master/docs/emane.md
Expected behavior I expected core-daemon to say that emane is installed, and I should see an emane tab under WLAN configuration.
Screenshots None.
Desktop (please complete the following information):
- OS:Ubuntu 20.04
- CORE Version v.8.1.0
- EMANE Version [Latest master]
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
That makes sense, thanks. And… good news! Upon running ‘sudo core-daemon’ it now recognises that emane is installed!
Yes, due to changes in behavior of building EMANE and not trying to account for them all the time, the plan is to just point to using their official packages/wiki for installation.