Thanks Thomas, at least it all appears to compile now (I had put the
/usr/ccs/bin in my PATH variable to get 'make' to work, but I'd already
run ./configure at that stage). Now, I'm having a problem with the 'make
test' routine. I've folllowed the Solaris specific instructions -
stopped and disabled Sun's own SNMP stuff, but when I do 'make test', I
get the following...
dltlsec3> make test
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/snmplib
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/agent
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/agent/helpers
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/agent/mibgroup
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/apps
making all in
/u02/sw_repository/net-snmp/net-snmp-5.4.1/apps/snmpnetstat
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/man
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/local
making all in /u02/sw_repository/net-snmp/net-snmp-5.4.1/mibs
for i in testing ; do \
( cd $i ; make ) ; \
if test $? != 0 ; then \
exit 1 ; \
fi \
done
( cd testing; make test )
./RUNTESTS -a -D `pwd`/..
1: testing SNMPv1 support... Killed
Killed
(no pid file(s) found) FAIL
2: testing SNMPv2c get of system.sysUpTime.0... Killed
Killed
(no pid file(s) found) FAIL
3: testing SNMPv2c getnext of system.sysUpTime... Killed
Killed
(no pid file(s) found) FAIL
4: testing SNMPv2c bulkget of system components... Killed
Killed
(no pid file(s) found) FAIL
5: testing for failure of SNMPv2c get with wrong community... Killed
Killed
(no pid file(s) found) FAIL
6: testing for failure of SNMPv2c get against SNMPv1 agent... Killed
Killed
(no pid file(s) found) FAIL
7: testing for failure of SNMPv1 get against SNMPv2c agent... Killed
Killed
(no pid file(s) found) FAIL
8: testing SNMPv2c get of system.sysUpTime.1... Killed
Killed
(no pid file(s) found) FAIL
9: testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
10: testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
11: testing SNMPv3 bulkget of system... Killed
Killed
(no pid file(s) found) FAIL
12: testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
13: testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
14: testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
15: testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
16: testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
17: testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0... Killed
Killed
(no pid file(s) found) FAIL
18: testing for failure of SNMPv3 get using unknown user.... Killed
Killed
(no pid file(s) found) FAIL
19: testing SNMPv3 agent USM user management with snmpusm... Killed
Killed
(no pid file(s) found) FAIL
20: testing SNMPv3 snmptrapd USM user management with snmpusm... Killed
Killed
Killed
(no pid file(s) found) FAIL
21: testing SNMPv3 informs (noAuthNoPriv) received and sent by tools...
Killed
Killed
(no pid file(s) found) FAIL
22: testing SNMPv3 informs (authNoPriv) received and sent by tools...
Killed
Killed
(no pid file(s) found) FAIL
23: testing SNMPv3 informs (authPriv) received and sent by tools...
Killed
Killed
(no pid file(s) found) FAIL
24: testing SNMPv3 traps received and sent by tools... Killed
Killed
Killed
Killed
(no pid file(s) found) FAIL
25: testing SNMPv2c traps received and sent by tools... Killed
Killed
(no pid file(s) found) FAIL
26: testing SNMPv2c informs received and sent by tools... Killed
Killed
(no pid file(s) found) FAIL
27: testing snmpv1 traps are sent by snmpd API... SKIPPED
28: testing snmpv2c traps are sent by snmpd API... SKIPPED
29: testing snmpv1 traps are sent by snmpd without notification mib
support... SKIPPED
30: testing snmpv2c traps are sent by snmpd without notification mib
support... SKIPPED
31: testing snmptrapd authorization failure of non authorized users...
Killed
Killed
(no pid file(s) found) FAIL
32: testing snmptrapd discards of unauthorized notification types...
Killed
Killed
(no pid file(s) found) FAIL
33: testing snmptrapd discards of incorrect view types... Killed
Killed
(no pid file(s) found) FAIL
34: testing authentication failure traps are sent by snmpd... Killed
Killed
Killed
(no pid file(s) found) FAIL
35: testing snmptrapd traphandle: launching external shell script...
Killed
Killed
.Killed
.(no pid file(s) found) FAIL
36: testing snmptrapd embedded perl support (NetSNMP::TrapReceiver)...
SKIPPED
37: testing snmpd embedded perl support (using NetSNMP::agent)...
SKIPPED
38: testing extending agent functionality with extend... Killed
Killed
(no pid file(s) found) FAIL
39: testing that the agent responds properly to a kill -HUP... Killed
cat: cannot open /tmp/snmp-test-39-20250/snmpd.pid
Killed
(no pid file(s) found) FAIL
40: testing AgentX GET support... Killed
Killed
(no pid file(s) found) FAIL
41: testing AgentX SET support... Killed
Killed
(no pid file(s) found) FAIL
42: testing AgentX illegal SET handling support... Killed
Killed
(no pid file(s) found) FAIL
43: testing AgentX trap sending support... SKIPPED
44: testing AgentX subagent in Perl (using NetSNMP::agent)... Killed
Killed
Killed
(no pid file(s) found) FAIL
45: testing Proxy GET support... Killed
Killed
Killed
(no pid file(s) found) FAIL
46: testing Proxy SET support... Killed
Killed
Killed
(no pid file(s) found) FAIL
47: testing Proxy illegal SET handling support... Killed
Killed
Killed
Killed
(no pid file(s) found) FAIL
48: testing SNMPv1 vacm acceptance support... Killed
Killed
(no pid file(s) found) FAIL
49: testing SNMPv2 vacm acceptance support... Killed
Killed
(no pid file(s) found) FAIL
50: testing SNMPv3 vacm acceptance support... Killed
Killed
(no pid file(s) found) FAIL
51: testing SNMPv1 vacm denial support... Killed
Killed
(no pid file(s) found) FAIL
52: testing SNMPv2 vacm denial support... Killed
Killed
(no pid file(s) found) FAIL
53: testing SNMPv3 vacm denial support... Killed
Killed
(no pid file(s) found) FAIL
54: testing 1st CPU on Solaris using HOST-RESOURCES... Killed
Killed
(no pid file(s) found) FAIL
55: testing initial load device on Solaris using HOST-RESOURCES...
Killed
Killed
(no pid file(s) found) FAIL
56: testing uptime using HOST-RESOURCES... Killed
Killed
(no pid file(s) found) FAIL
57: testing swap on Solaris using HOST-RESOURCES... Killed
Killed
(no pid file(s) found) FAIL
58: testing if snmpnetstat finds the running agent in udpTable... Killed
Killed
(no pid file(s) found) FAIL
59: testing full snmpwalk (SNMPv2c) against agent (may take time)...
Killed
Killed
.(no pid file(s) found) FAIL
Summary: 7 / 59 succeeded.
*** Error code 52
make: Fatal error: Command failed for target `test'
Current working directory
/u02/sw_repository/net-snmp/net-snmp-5.4.1/testing
*** Error code 1
make: Fatal error: Command failed for target `test'
dltlsec3>
Thanks All.
David
-----Original Message-----
From: Thomas Anders [mailto:[EMAIL PROTECTED]
Sent: 19 December 2007 17:48
To: Goodman,DJ,David,DGE R
Cc: [email protected]
Subject: Re: Problem with make - net-snmp 5.4.1
[EMAIL PROTECTED] schrieb:
> Hello, I've not much experience with Unix,C or make. I'm trying to do
> a make on net-snmp 5.4.1 running on Solaris 8. This is the output from
> make...
>
> false cru .libs/libnetsnmp.a snmp_client.o mib.o parse.o snmp_api.o
Make sure you have /usr/ccs/bin/ar installed and in your PATH before
running configure.
+Thomas
PS. Worth adding to the FAQ? :-)
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders