make install gives the error when configured with --disable-snmptrapd-subagent option.

"Pamidipati Suresh-G20238" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 
Hi,
 
We are using Net-snmp-5.2.2 in our subagent. Earlier, we reported to
this list that snmptrapd of Net-snmp-5.2.2 has memory leak for every
trap it receives. We have gone through the previous mails in the archive
and observed that if "snmptrapd_agentx" flag is disabled, there will be
no leak. So, we have configured Net-snmp-5.2.2 with the following
options.
 
./configure --prefix=/usr  --without-openssl
--with-logfile="/var/log/snmpd.log"
--with-persistent-directory="/var/net-snmp --disable-snmptrapd-subagent"
 
After this we did make and make install. We observed that there is no
memory leak in snmptrapd when configured with this
--disable-snmptrapd-subagent option.
However, following are the observations about make install when
configured with --disable-snmptrapd-subagent option.
 
make[1]: Leaving directory `/home/g20238/net-snmp/net-snmp-5.2.2/mibs'
/bin/sh: line 1: test: too many arguments
 
Even if make install ended in this way, we were able to test all snmp
operations, snmpd and snmptrapd.
 
If disable-snmptrapd-subagent option is not given in the configure
command, make install successfully ended with the last line in the
output as 
make[1]: Leaving directory `/home/g20238/net-snmp/net-snmp-5.2.2/mibs'
 
Will "disable-snmptrapd-subagent " effect Agentx communication between
subagent and snmpd..?
 
If anyone faced this problem and had a workaround for this, please help
us. 
 
Thanks,
Suresh.
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.