Thomas Anders wrote:

> Dave Shield wrote:
>
>> What configure invocation have you been using?
>
>
> "dist/nsb -x" (from MAIN),

Given that I was working with the rc tarball, I didn't have this :-(

> ./configure --with-defaults --disable-developer --with-mib-modules="smux
> examples examples/example Rmon" --with-transports="UDP TCP Unix Callback
> IPX" --enable-shared --enable-ipv6 --enable-embedded-perl ...


OK - additional report using that configure command:
------------------------
FreeBSD:
   IPX transport is Linux only - omitted
   Compiled OK
   tests #37, 44 failed

Net-BSD:
  Omitted IPX transport
  Compiling 'snmp_perl.c' failed
  Re-ran without "--enable-embedded-perl"
  compiled OK
  tests ran successfully

OpenBSD:
  Omitted IPX transport
  Compiling 'mibII/ipv6.c' failed (see bug #468000)
  Re-ran without "--enable-ipv6"
  compiled OK
  test #44 failed
-----------------------
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 :-)

I'm not sure what the underlying problem is for test #37 on FreeBSD. The
agent simply logs "embedded perl support failed to initialise".

Dave


_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to