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

Quick question about a possible Perl module dependency #3577

Closed
Nocifer opened this issue Aug 25, 2022 · 1 comment
Closed

Quick question about a possible Perl module dependency #3577

Nocifer opened this issue Aug 25, 2022 · 1 comment

Comments

@Nocifer
Copy link

Nocifer commented Aug 25, 2022

Describe Your Environment

  • Zoneminder 1.36.24
  • Arch Linux

Describe the bug
I was recently informed that zmonvif-probe.pl on Arch Linux produces an error about a missing IO::Interface module. I verified that the following error is produced if zmonvif-probe is used with an interface name:

$ zmonvif-probe.pl probe 1.1,1.2 enp0s3
IO::Interface module not available; use IP addr for interface at /usr/share/perl5/vendor_perl/WSDiscovery/TransportUDP.pm line 78.

But if zmonvif-probe is run with an IP instead (as the above error suggests) then everything works as expected.

So, seeing as IO::Interface is AFAICT not mentioned anywhere in Zoneminder's dependency lists, can I correctly assume that internally it is only ever used by Zoneminder with IPs/sockets and not with interface names (this is also suggested by reading the code around line 78 of TransportUDP.pm) and so IO::Interface is indeed not a required module? Or am I completely off the mark here and IO::Interface is a dependency I have missed?

Thanks.

@connortechnology
Copy link
Member

Sounds like a real dependency to me. I think I'll add it to the ubuntu deps..

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

No branches or pull requests

2 participants