LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2020, 09:49 PM   #1
vikasgurlinka
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Rep: Reputation: Disabled
unable to install NetSNMP::OID module


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 *'

''' [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]# '''
 
Old 03-26-2020, 02:14 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,465

Rep: Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117Reputation: 6117
Quote:
Originally Posted by vikasgurlinka View Post
OS : RHEL 7.7 (AWS)

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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install NetSNMP::OID in RHEL 7.7 vikasgurlinka Red Hat 2 03-26-2020 09:39 PM
NetSnmp exec script return data type hemulll Linux - Networking 8 11-28-2011 07:00 AM
NetSnmp question hemulll Linux - Software 2 07-30-2008 12:08 AM
NETSNMP Installation and Configuration at Linux soelawin Linux - Software 4 02-07-2007 07:48 AM
link down trap with netsnmp giovannicuriel Linux - Networking 0 06-20-2006 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration