Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure --with-drivers=X does not require its dependencies #1271

Closed
jimklimov opened this issue Jan 26, 2022 · 0 comments · Fixed by #1277
Closed

configure --with-drivers=X does not require its dependencies #1271

jimklimov opened this issue Jan 26, 2022 · 0 comments · Fixed by #1277

Comments

@jimklimov
Copy link
Member

jimklimov commented Jan 26, 2022

As raised in #1017:

It seems that configure script does not really know or care about the ever-changing population of drivers, and is geared to enable/disable whole categories (e.g. with/without modbus) so did not require to have libmodbus as a dependency for that particular enabled driver - just opted to use one if available.

We've just bought a UPS2000-A-1KTTS. I'm not very familiar with building C
code, i had some issues. (fresh master 88e8a83)
Linux mgmt01 4.4.0-210-generic #242
#242-Ubuntu SMP Fri Apr 16
09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04 (yeah, old, currently under replacement)
config: ./configure --with-user=ups --with-group=nut --with-usb
--with-drivers=huawei-ups2000
i'm not sure if it's a bug, but configure won't complain about missing
modbus lib, but the make will fail. apt-get install libmodbus-dev is needed.

Originally posted by @jimklimov in #1017 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant