LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


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

Rep: Reputation: Disabled
Exclamation Unable to install NetSNMP::OID in RHEL 7.7


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, 11:44 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,873

Rep: Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481Reputation: 4481
duplicate of https://www.linuxquestions.org/quest...le-4175671982/
 
Old 03-26-2020, 09:39 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,692

Rep: Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215Reputation: 3215
Thread closed
 
  


Closed Thread


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
NetSnmp exec script return data type hemulll Linux - Networking 8 11-28-2011 07:00 AM
netsnmp on solaris8 lamou23 Solaris / OpenSolaris 1 02-02-2011 03:32 PM
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 - Distributions > Red Hat

All times are GMT -5. The time now is 07:25 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