network-analytics / mdt-dialout-collector

Model-Driven Telemetry - Collecting <multi-vendor> metrics via gRPC dialout
MIT License
27 stars 8 forks source link

Docs: debian_INSTALL.md, missing libfmt-dev lib #17

Closed paololucente closed 1 year ago

paololucente commented 1 year ago

Add apt install -y libfmt-dev to list of libraries required to Build & install the collector libraries (Integrate the collector)

scuzzilla commented 1 year ago

Hi @paololucente ,

libfmt-dev it's coming automagically together with libspdlog-dev.

+toto@debian0 ~ $ apt-cache depends libspdlog-dev
libspdlog-dev
  Depends: libspdlog1
  Depends: libfmt-dev
paololucente commented 1 year ago

Somehow not on Ubuntu. Just adding that lib to the list of the ones to install makes the process go flawlessly on a Ubuntu 20.04

scuzzilla commented 1 year ago

I see the problem ...

Ubuntu:

[bionic  (18.04LTS)] - libspdlog-dev: 0.16.3-1      ---> the library seems to be a bit outdated. Never did any tests, however I would say officially not supported & last resource manually compile and install a newer release of libspdlog-dev.
[focal   (20.04LTS)] - libspdlog-dev: 1.5.0-1       ---> libfmt-dev is not a direct dependency. Workaround: sudo apt -y install libfmt-dev.
[jammy   (22.04LTS)] - libspdlog-dev: 1.9.2+ds-0.2  ---> fine with the current install procedure.
[kinetic (22.10)   ] - libspdlog-dev: 1.10.0+ds-0.4 ---> fine with the current install procedure.
[lunar             ] - libspdlog-dev: 1.10.0+ds-0.4 ---> fine with the current install procedure.

In theory there are also [Xenial 16.04LTS] & [Trusty 14.04LTS] which are end-of-support 2026/2024 - I would follow the same procedure as per [bionic (18.04LTS)]

scuzzilla commented 1 year ago

Hi @paololucente,

install.sh is now supporting the build/install process.