net-smp i ipv6

stacho stacho at venco.com.pl
Fri Feb 21 20:30:49 CET 2020


Witam!

Chciałem sobie przebudować net-snmp z przyblokowanym komunikatem o braku 
ipv6.
=========================
--- a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c
+++ b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c
@@ -234,7 +234,7 @@

  #define PROCFILE "/proc/net/if_inet6"
      if (!(in = fopen(PROCFILE, "r"))) {
-        snmp_log_perror("ipaddress_linux: could not open " PROCFILE);
+        NETSNMP_LOGONCE((LOG_ERR, "ipaddress_linux: could not open " 
PROCFILE));
          return -2;
      }
=========================

Ale nawet testowe budowanie pakietu z gita się wywala tak:

Checking script shebangs...
/usr/src/examples/perl-SNMP-5.8/pingmib.pl starts with '#!/usr/bin/env 
perl', should be explicit interpreter path
  DONE
error: Błędny status wyjścia z /home/users/4/builder/tmp/rpm-tmp.28902 
(%install)

Pomożecie?? :)
-- 
pzdr
Stacho Pal


More information about the pld-devel-pl mailing list