RE: ./configure bug

2008-06-02 Thread Mike Ayers

Could you post console logs of the configure and make sessions, please? 
 There may be clues you're not poassing along because you don't see them as 
unusual.  The easy way to get a log is to append the text ' 21 | tee 
~/configure.log' to each command - don't put 'em both in the same log, though.


HTH,

Mike

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-28 Thread Raghavendra Prasad
 mv net-snmp-5.4.1/agent/mibgroup/MyFiles  $HOME
 rm -rf net-snmp-5.4.1
 tar xzf net-snmp-5.4.1.tar.gz
 cd net-snmp-5.4.1
 ln -s $HOME/MyFiles agent/mibgroup/MyFiles
 configure --with-mib-modules=MyFiles/myFiles 
 make
Did as suggested above, the problem stil persists


It *shouldn't* keep the old settings - no.
But given that you are currently having problems,
it's probably a safer way of working.

What next?  Is this a known problem - has anyone came across this situation?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-20 Thread Raghavendra Prasad
Many thanks Dave, I will try your suggestion once again, I tried once
already it does't seem to work. I will recheck.

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-19 Thread Raghavendra Prasad

 Did you `make distclean` before running configure again?



It does not help either. That leaves even  the following sequence
unpredictable

./configure
make
make uninstall
make distclean

again

./configure
make
make install

thus the compilation process is very un predictable

Or remove configure.cache / configure.guess  ~BAS

I could not find  the file  configure.cache and please let me know
what is ~BAS?

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-19 Thread Thomas Anders
Raghavendra Prasad wrote:
 It does not help either. That leaves even  the following sequence
 unpredictable
 
 ./configure
 make
 make uninstall
 make distclean
 
 again
 
 ./configure
 make
 make install
 
 thus the compilation process is very un predictable

Are you sure you've started from scratch by unpacking the 5.4.1 release tarball 
before doing the above?
Please note that make distclean only cleans up what it thinks it needs to 
clean up according to the last invocation of configure. Once you've started to 
do another ./configure run with different options without having done make 
distclean before, you need to start with a fresh directory again to clean up 
properly.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)  

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-19 Thread Raghavendra Prasad
 Are you sure you've started from scratch by unpacking the 5.4.1 release 
 tarball before doing the above?

 No.

It is difficult to unpack the 5.4.1 for every compilation, as I store
my source(user) files under /agent/mibgroup/MyFiles/


 Please note that make distclean only cleans up what it thinks it needs to 
 clean up  according to the last invocation of configure. Once you've started 
 to do another ./configure run with different options without having done 
 make distclean before, you need to start with a fresh directory again to 
 clean up properly.

I noticed that make distclean removes the Makefile completely?  So
that should not leave any scope for retaining the old configuration
settings.

This the sequence that I always follow

 make uninstall
 make distclean
 again
./configure
 make
 make install

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-19 Thread Dave Shield
2008/5/19 Raghavendra Prasad [EMAIL PROTECTED]:
 It is difficult to unpack the 5.4.1 for every compilation, as I store
 my source(user) files under /agent/mibgroup/MyFiles/

The simplest approach is probably to store your source files
somewhere outside the main Net-SNMP source tree, and
link this location into the mibgroup directory immediately
before running configure.

i.e
 mv net-snmp-5.4.1/agent/mibgroup/MyFiles  $HOME
 rm -rf net-snmp-5.4.1
 tar xzf net-snmp-5.4.1.tar.gz
 cd net-snmp-5.4.1
 ln -s $HOME/MyFiles agent/mibgroup/MyFiles
 configure --with-mib-modules=MyFiles/myFiles 
 make



 Please note that make distclean only cleans up what it thinks it needs to 
 clean up
 according to the last invocation of configure. Once you've started to do 
 another
./configure run with different options without having done make distclean 
before,
you need to start with a fresh directory again to clean up properly.

 I noticed that make distclean removes the Makefile completely?  So
` that should not leave any scope for retaining the old configuration
 settings.

It *shouldn't* keep the old settings - no.
But given that you are currently having problems,
it's probably a safer way of working.

Dave

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: ./configure bug

2008-05-16 Thread Mike Ayers

 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Raghavendra Prasad
 Sent: Friday, May 16, 2008 9:16 AM

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

Did you `make distclean` before running configure again?


Thanks,

Mike

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: ./configure bug

2008-05-16 Thread Brian A. Seklecki

On Fri, 2008-05-16 at 10:54 -0700, Mike Ayers wrote:
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On 
  Behalf Of Raghavendra Prasad
  Sent: Friday, May 16, 2008 9:16 AM
 
  If I  change from  ./configure settings to  a completely different
  ./configure setting
 
   Did you `make distclean` before running configure again?

Or remove configure.cache / configure.guess  ~BAS

 
   Thanks,
 
 Mike
 
 -
 This SF.net email is sponsored by: Microsoft 
 Defy all challenges. Microsoft(R) Visual Studio 2008. 
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Net-snmp-users mailing list
 Net-snmp-users@lists.sourceforge.net
 Please see the following page to unsubscribe or change other options:
 https://lists.sourceforge.net/lists/listinfo/net-snmp-users
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: ./configure bug

2008-05-16 Thread Raghavendra Prasad
 Did you `make distclean` before running configure again?

No.
 I will try this. Thank you

Or remove configure.cache / configure.guess  ~BAS

No.
 I will try this too. Thank you

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users