unable to install NetSNMP::OID in RHEL7.7

vikasgurlinka

New Member
OS : RHEL 7.7 (AWS)

when I try to Install Perl module NetSNMP::OID have the below error

Could not find a typemap for C type 'netsnmp_oid *'

''' [[email protected] NetSNMP-OID-5.0404]# perl Makefile.PL Generating a Unix-style Makefile Writing Makefile for NetSNMP::OID Writing MYMETA.yml and MYMETA.json

[[email protected] NetSNMP-OID-5.0404]# make

Skip blib/lib/NetSNMP/OID.pm (unchanged)

Running Mkbootstrap for OID ()

chmod 644 "OID.bs"

"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- OID.bs blib/arch/auto/NetSNMP/OID/OID.bs 644

"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -prototypes -typemap '/usr/share/perl5/ExtUtils/typemap' OID.xs > OID.xsc

Could not find a typemap for C type 'netsnmp_oid *'.

The following C types are mapped by the current typemap: 'AV *', 'Boolean', 'CV *', 'FILE *', 'FileHandle', 'HV *', 'I16', 'I32', 'I8', 'IV', 'InOutStream', 'InputStream', 'NV', 'OutputStream', 'PerlIO *', 'Result', 'STRLEN', 'SV *', 'SVREF', 'SysRet', 'SysRetLong', 'Time_t *', 'U16', 'U32', 'U8', 'UV', 'bool', 'bool_t', 'caddr_t', 'char', 'char *', 'char **', 'const char *', 'double', 'float', 'int', 'long', 'short', 'size_t', 'ssize_t', 'time_t', 'unsigned', 'unsigned char', 'unsigned char *', 'unsigned int', 'unsigned long', 'unsigned long *', 'unsigned short', 'void *', 'wchar_t', 'wchar_t *' in OID.xs, line 192

Could not find a typemap for C type 'netsnmp_oid *'.

The following C types are mapped by the current typemap: 'AV *', 'Boolean', 'CV *', 'FILE *', 'FileHandle', 'HV *', 'I16', 'I32', 'I8', 'IV', 'InOutStream', 'InputStream', 'NV', 'OutputStream', 'PerlIO *', 'Result', 'STRLEN', 'SV *', 'SVREF', 'SysRet', 'SysRetLong', 'Time_t *', 'U16', 'U32', 'U8', 'UV', 'bool', 'bool_t', 'caddr_t', 'char', 'char *', 'char **', 'const char *', 'double', 'float', 'int', 'long', 'short', 'size_t', 'ssize_t', 'time_t', 'unsigned', 'unsigned char', 'unsigned char *', 'unsigned int', 'unsigned long', 'unsigned long *', 'unsigned short', 'void *', 'wchar_t', 'wchar_t *' in OID.xs, line 209

make: *** [OID.c] Error 1

[[email protected] NetSNMP-OID-5.0404]# '''
 


Members online


Latest posts


Top