Re: Is it necessary to be root to install Net-SNMP
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/5/9 Raghavendra Prasad <[email protected]>: >>>OK - so install the perl modules (manually) into a suitable location, >>>and tweak the @INC search list to look there. > > Could you please explain in more detail. Are you referring to fiddling > with Make file? No. I mean installing these modules manually. i.e. rather than cd perl ; make install which will attempt to install the modules into the system location (typically requiring root access). Instead do something like: mkdir $HOME/perl mkdir $HOME/perl/NetSNMP cd perl cp SNMP.pm $HOME/perl/ cp ASN/ASN.pm OID/OID.pm default_store/*.pm $HOME/perl/NetSNMP then tweak the mib2c script to add use lib $HOME/perl; so that the script will look there as well. Note that this is completely untested, and I'm no perl expert. But it ought to work. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users