<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 5 Jul 2021 at 19:15, Jan Gorski <<a href="mailto:debbug@slimak.info">debbug@slimak.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">libsnmp-dev contains mib2c script which gives following output if libsnmp-perl<br>
package is not installed:<br></blockquote><div>[...] </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
After installing libsnmp-perl mib2c seems to start up properly (save for some<br>
uninitialized variables warnings in SNMP.pm which are probaly upstream issue)<br>
<br>
Could you consider adding appropriate dependency/reccomendation to the<br>
libsnmp-dev package?<br></blockquote><div><br></div><div>Hi Jan,</div><div>  I had a look at this. As you suggest we could either go as a dependency or a recommendation.</div><div><br></div><div>A dependency would mean mib2c "just works" but it also means that anyone using libsnmp-dev will pull in the Perl module and any other dependencies that it needs, even if you never use mib2c.  That really isn't ideal for most users.</div><div><br></div><div>However, a recommendation is a good idea. It could be installed but if you don't want Perl then your system will still allow it.  I'll also look into patching mib2c so the error message is more specific about Debian rather than saying download something from the net-snmp website.</div><div><br></div><div> - Craig</div><div><br></div></div></div>