Dave Shield wrote: > Upon investigating test #44, creating and invoking the 'hello.pl' script > relies on the environment variable SNMP_PERLPROG, but this is not set. > I'm not sure where it's meant to be picked up from, but setting it manually > within the test script fixes the problem on both Free and OpenBSD (at least > for root - running as a normal user fails to open /dev/mem). > But that's not exactly a clean solution :-)
Both of these issues should already be fixed in 5.3.x CVS. Can you please grab testing/tests/T115agentxperl and testing/TESTCONF.sh from 5.3.x CVS and rerun the test? > I'm not sure what the underlying problem is for test #37 on FreeBSD. The > agent simply logs "embedded perl support failed to initialise". I'm seeing the exact same problem on SF CF host x86-freebsd1 (FreeBSD 5.4). Further investigation revealed that perl_parse() in agent/snmp_perl.c (line 50) is failing, but I'm not sure how to find out why. Related or not, there's a compiler warning about this line: /home/users/t/ta/tanders/src/net-snmp-5.3cvs/agent/snmp_perl.c: In function `maybe_source_perl_startup': /home/users/t/ta/tanders/src/net-snmp-5.3cvs/agent/snmp_perl.c:50: warning: cast discards qualifiers from pointer target type Thoughts? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
