Embeded perl support on win32
Andy Pearce <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Q: How do I compile net-smp with embeded-perl support on a win32 platform ?
I just cant seem to find any build switches etc to enabled it.
Background:
I am attempting to running a snmpd on a win32 machine [window 2000] with
the embedded perl support. I have installed net-snmp-5.2.1.2-1.win32.exe for
the source forge site. After some initial attempts with the following config
:
rouser alp
rocommunity public
syslocation "ALP work PC"
syscontact "A.L.Pearce x2747"
master agentx
perl do "C:/agent/perl_module.pl";
The snmpd is run at start-up with
C:\net-snmp\bin\snmpd.exe -service -Lf C:/net-snmp/log/snmpd.log -x
localhost:705
The log output then shows me that the perl directive in the snmpd.conf is
unknown.
Turning on AgentX master support.
C:/net-snmp/etc/snmp/snmpd.conf: line 74: Warning: Unknown token: perl.
NET-SNMP version 5.2.1.2
I then started to try and find out how to compile it under windows to get
the
embedded perl support. I have downloaded net-snmp-5.2.1.2.tar.gz from
sourceforge.net but cant seem to find how to enable the embedded perl
in the build. The win32 build options are nice and simple but nothing seems
to mention the embedded perl.
Any suggestions would help
Andy Pearce