Re: Re: Ask for help

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

2010/10/28 高明慧 <[email protected]>:
> Thanks for your Email in reply.
> There is a bug when I install net-snmp-5.6 on hp-unix11.
> After confirue and make(no error).when I make install,there happen to a bug.
> There bug as follows,
>
> installing snmpnetstat in /home/snmp/net-snmp/bin
>         rm -f /home/snmp/net-snmp/bin/snmpinform
>         ln -s snmptrap /home/snmp/net-snmp/bin/snmpinform
> libtool: install: .././install-sh -c -m 644 ./snmp_perl_trapd.pl
> /home/snmp/net-snmp/share/snmp/snmp_perl_trapd.pl
> install:  installed snmp_perl_trapd.pl in /home/snmp/net-snmp/share/snmp
> making install in /home/snmp/net-snmp-5.6/net-snmp-5.6/man
> libtool: install: .././install-sh -c -m 644 ./snmpinform.1
>     /home/snmp/net-snmp/share/man/man1/snmpinform.1
> install:  installed snmpinform.1 in /home/snmp/net-snmp/share/man/man1
> libtool: install: .././install-sh -c -m 644 ./snmp-bridge-mib.1
>     /home/snmp/net-snmp/share/man/man1/snmp-bridge-mib.1
> install:  installed snmp-bridge-mib.1 in /home/snmp/net-snmp/share/man/man1
       :
> install:  installed traptoemail.1 in /home/snmp/net-snmp/share/man/man1
> install:  installed net-snmp-create-v3-user.1 in
>     /home/snmp/net-snmp/share/man/man1
> sh: Syntax error at line 1 : `;' is not expected.
> *** Error exit code 2
> Stop.
> *** Error exit code 1
> Stop.

Hmmm...
I *think* that the install program is getting confused by 'MAN3' being empty
in the latest release.   Please try editing the file 'man/Makefile'
(and 'man/Makefile.in')  and delete the line

        @for i in $(MAN3) ; do $(INSTALL_DATA) $(srcdir)/$$i
$(INSTALL_PREFIX)$(man3dir) ; echo "install:  installed $$i in
$(INSTALL_PREFIX)$(man3dir)" ; done

Does that help?


> --------------------------
> I have installed net-snmp-5.3.3 instead.
> when I input "snmpwalk -v 3 -u v3username -l authPriv -a MD5 -A authpass -x
> DES -X privpass localhost HOST-RESOURCES-MIB::hrSWRun" to get information of
> process that running in the system.
> I am sure the configration of snmpd.conf is right.
> If on hp-unix11 or IBM AIX the return is "HOST-RESOURCES-MIB::hrSWRun:
> Unknown Object Identifier",but on fedora 11 , it return the proper result.
> p.s. on hp-unix11 , IBM AIX ,fedora 11.I install the same net-snmp-5.3.3


It's likely that the agent in the earlier release simply did not include the
necessary code to implement this particular table on these operating
systems.   I'm not sure whether this has been addressed in the 5.6 release,
but it's more likely to work than the 5.3.x. line.

Try the fix above, and see whether you can install the software correctly.

Dave

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.