I'm trying to install the Joe Marzot's SNMP module for
UCD-SNMP, to
monitor Cisco gear w/o telnetting, but hit a snag.
Problem appears to be from
make not Perl, but I hope a clueful Monk might point me in the right direction.
I'm hopelessly ignorant of make, so forgive me if I'm overlooking something dumb.
Retrieved the SNMP module from CPAN and proceed to perl Makefile.PL. Works fine.
But then make fails with Error 127 as follows:
sparky# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for SNMP
sparky# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/SNMP
mkdir blib/lib/auto
mkdir blib/lib/auto/SNMP
cp SNMP.pm blib/lib/SNMP.pm
AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP)
/usr/bin/perl -I/usr/lib/perl5/5.005/i386-linux -I/usr/lib/perl5/5.005
+ /usr/lib/perl5/5.005/ExtUtils/xsubpp -noprototypes -typemap /usr/lib
+/perl5/5.005/ExtUtils/typemap -typemap typemap SNMP.xs >xstmp.c && mv
+ xstmp.c SNMP.c
cc -c -I/usr/include -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/u
+sr/local/include -O2 -DVERSION=\"3.1.0\" -DXS_VERSION=\"3.1.0\" -f
+PIC -I/usr/lib/perl5/5.005/i386-linux/CORE SNMP.c
make: cc: Command not found
make: *** [SNMP.0] Error 127
sparky#
Other details I can think of:
SNMP module 3.1.0
SNMP library 4.1
SNMP developement
files 4.1
SNMP apps
Perl 5.005.03
Debian 2.2 x86
cheers,
Don
(ybiC)
striving for Perl Adept
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.