./configure bug

"Raghavendra Prasad" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

I have noticed a strange problem several times, although was not sure
in the beginning. Now I feel that it could be bug in Net-SNMP

If I  change from  ./configure settings to  a completely different
./configure setting

For eg from say FROM

case1

./configure '--with-mib-modules=xmRadio_modules/snmpData
xmRadio_modules/controller'
'--with-persistent-directory=/data/projects/cdspr/sw/snmp/var/net-snmp'
'--with-sys-location=izt'
'--with-logfile=/data/projects/cdspr/sw/snmp/var/log/snmpd.log'
'--with-sys-contact=izt' '--with-default-snmp-version=2c'
'--prefix=/data/projects/cdspr/sw/snmp'
'--exec-prefix=/data/projects/cdspr/sw/snmp'
'--with-cflags=-I/data/projects/cdspr/sw/common/include/gamma'
'--with-ldflags=-L/data/projects/cdspr/sw/common/gammalibs-0BETA_20080428/x86'
'--with-libs=-lTOS -lCTIfce -lCIfce'

TO

case2

./configure --with-mib-modules="examples/notification"

The SNMP daemon snmpd would behave(or funcion) exactly as  case1, but
writes to the correct directory(/usr/local/sbin), which is the default
directory if prefix in not specified. But the functionality is
reflected as if I compiled with case1 configuration option. It means
in the background previous configuration is stil persisting with
respect to MIb modules.

After installation I did check with command  ./net-snmp-config
--configure-options, this  shows correct output

--with-mib-modules="examples/notification"

 which is very deceptive. I tried this severaltimes with no luck.

Sometimes this problem is consistant and persistant, and some times it
is inconsistant. I would be curious to know if any one of you
encountered the same problem?

With regards,

Raghavendra

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.