Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when I try to Install Perl module NetSNMP::OID have the below error
Code:
Could not find a typemap for C type 'netsnmp_oid *'''' [root@ip-10-1-1-75 NetSNMP-OID-5.0404]# perl Makefile.PL Generating a Unix-style Makefile Writing Makefile for NetSNMP::OID Writing MYMETA.yml and MYMETA.json
[root@ip-10-1-1-75 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
[root@ip-10-1-1-75 NetSNMP-OID-5.0404]# '''
Please use CODE tags when posting things such as this, to make them easier to read. First question would be why you aren't using the Red Hat repositories to install the SNMP tools, versus building a module from (assuming) CPAN. You're using RHEL 7.7 on an Amazon server...both are pay-for resources; have you contacted support for either?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.