issue with SNMP install on Solaris10x86

有些话、适合烂在心里 提交于 2019-12-13 05:12:52

问题


I did install net-snmp-5.7.3 on solaris11 sparc,11x86 and Solaris10, all test cases and installation was success. But when I am installing net-snmp-5.7.3 on Solaris10x86, i am getitng few test cases failed. I have already disabled running snmp which comes inbuilt.

Details:

bash-3.2# uname -a
SunOS sca00jzu 5.10 Generic_148889-02 i86pc i386 i86pc
bash-3.2# gcc --ver
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

My path is currently set to

bash-3.2# echo $PATH
/usr/bin/perl:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/opt/csw/bin:/opt/csw/gnu:/usr/sbin:/usr/bin

I am using below commands:

./configure --prefix=/opt --with-mib-modules="ucd-snmp/lmSensors       ucd-snmp/diskio smux mibII/mta_sendmail" --with-cc=gcc --with-openssl=internal

make
make test

Here configure and make commands are successful but when running "make test", i am getting one test case failed.

/scratch/kkumsati/net-snmp-5.7.3/testing/fulltests/temptests/T065agentextend_sh_simple.........FAILED tests 2-6
        Failed 5/7 tests, 28.57% okay

/scratch/kkumsati/net-snmp-5.7.3/testing/fulltests/temptests/T161snmpTargetAddr_simple.........ok 31/0
/scratch/kkumsati/net-snmp-5.7.3/testing/fulltests/temptests/T200snmpv2cwalkall_simple.........ok 3/0
Failed Test                       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
/scratch/kkumsati/net-snmp-5.7.3/                7    5  71.43%  2-6
11 tests skipped.
Failed 1/72 test scripts, 98.61% okay. 5/286 subtests failed, 98.25% okay.
*** Error code 29
The following command caused the error:
if test "x/usr/bin/perl" = "x" \
         -o "xyes" != xyes \
         || { ! /usr/bin/perl -e 'require TAP::Harness;' >/dev/null 2>&1 \
            && ! /usr/bin/perl -e 'require Test::Harness; die if $Test::Harness::VERSION < 1.21;' >/dev/null 2>&1; };\
then \
        echo ./RUNTESTS ; \
        ./RUNTESTS ; \
else \
        echo ./RUNFULLTESTS  ; \
        /usr/bin/perl ./RUNFULLTESTS  ; \
fi
make: Fatal error: Command failed for target `test'
Current working directory /scratch/kkumsati/net-snmp-5.7.3/testing
*** Error code 1
make: Fatal error: Command failed for target `test'

I am not getting any clue why its failing. Any suggestions what i am missing here. Thanks in advance.

来源:https://stackoverflow.com/questions/51017733/issue-with-snmp-install-on-solaris10x86

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!