----- Forwarded by Ali Bruce/UKMAIN/MM1 on 01/08/2011 17:05 -----

Ali Bruce/UKMAIN/MM1 
01/08/2011 15:15

To
bvanass...@acm.org
cc

Subject
Re: Unable to build Net-Snmp with embedded perl





Bart,

Thanks for the quick response. It looks like it has built now. What was 
the perl/NetSNMP.xs file doing that caused it not to build?

At the end of the build process, it is now failing some of the tests 
causing the Perl script to crash as follows due to MIB files not being 
found in the MIB search path. I'll try and see why it didn't find modules 
such as SNMPv2-SMI (see below) even though SNMPv2-SMI.txt is in 
directoryR:/cots/net-snmp/net-snmp-5.7/mibs:

        cd ..
        nmake test -nologo
        C:\Perl\bin\perl.EXE "-I..\blib\lib" "-I..\blib\arch" test.pl
1..38
# Running under perl version 5.010000 for MSWin32
# Win32::BuildNumber 1005
# Current time local: Mon Aug  1 15:03:49 2011
# Current time GMT:   Mon Aug  1 14:03:49 2011
# Using Test.pm version 1.25
ok 1
MIB search path: 
c:ali1-net-snmp/share/snmp/mibs;R:/cots/net-snmp/net-snmp-5.7/mibs
Cannot find module (SNMPv2-SMI): At line 7 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IP-MIB.txt
Cannot find module (SNMPv2-TC): At line 11 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IP-MIB.txt
Cannot find module (INET-ADDRESS-MIB): At line 15 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IP-MIB.txt
Cannot find module (SNMPv2-MIB): At line 12 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IF-MIB.txt
Cannot find module (IANAifType-MIB): At line 13 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IF-MIB.txt
Cannot find module (IF-MIB): At line 16 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/IP-MIB.txt
Cannot find module (IP-MIB): At line 1 in (none)
Cannot find module (TCP-MIB): At line 1 in (none)
Cannot find module (UDP-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 11 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/NOTIFICATION-LOG-MIB.txt
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (UCD-SNMP-MIB): At line 1 in (none)
Cannot find module (UCD-DEMO-MIB): At line 1 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-MIB): At line 12 in 
R:/cots/net-snmp/net-snmp-5.7/mibs/NET-SNMP-AGENT-MIB.txt
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 1 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 1 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 1 in (none)
Cannot find module (SNMP-MPD-MIB): At line 1 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 1 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 1 in (none)
Cannot find module (SNMPv2-TM): At line 1 in (none)
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
Can't parse: nosuchoidexists
ok 35
ok 36
Free to wrong pool 2377e8 not fdfdfdfd at ..\blib\lib/NetSNMP/OID.pm line 
31.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : return code 
'0xc0000005'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.EXE"' : return code '0x2'

Regards,

Ali


-----------------------------------------------
This email and any attached files contains company confidential information 
which may be legally privileged.  it is intended only for the person(s) or 
entity to which it is addressed and solely for the purposes set forth therein.  
If you are not the intended recipient or have received this email in error 
please notify the sender by return, delete it from your system and destroy any 
local copies.  It is strictly forbidden to use the information in this email 
including any attachment or part thereof including copying, disclosing, 
distributing, amending or using for any other purpose.

In addition the sender excludes all liabilities (whether tortious or common 
law) for damage or breach arising or related to this email including but not 
limited to viruses and libel.
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to