Re: Is it necessary to be root to install Net-SNMP

2008-05-29 Thread Raghavendra Prasad
Hi all, I thought it would probably help if I gave more information about configure options that I using: configure 1: ./configure --with-mib-modules=examples/notification Configure 2: ./configure --with-mib-modules=dio_modules/snmpData dio_modules/controller dio_modules/controller_trap

Re: Is it necessary to be root to install Net-SNMP

2008-05-29 Thread Dave Shield
2008/5/29 Raghavendra Prasad [EMAIL PROTECTED]: ./configure --with-mib-modules=dio_modules/snmpData dio_modules/controller dio_modules/controller_trap dio_modules/general dio_modules/general_trap dio_modules/channelA dio_modules/channelA_trap dio_modules/channelB dio_modules/channelB_trap

Re: Is it necessary to be root to install Net-SNMP

2008-05-29 Thread Raghavendra Prasad
Firstly, Dave I should have posted my previous mail to a thread titled ./configure bug. I thin k continuing this discussion in that thead would make more sense . You might find it easier if you created a file 'dio_modules.h' containing config_require( dio_modules/snmpData )

Re: Is it necessary to be root to install Net-SNMP

2008-05-23 Thread Raghavendra Prasad
Thank you Dave. We had decided to stick to being a root user for SNMP agent development. I will give a try soon and let you know the result. With regards, Raghavendra - This SF.net email is sponsored by: Microsoft Defy all

Re: Is it necessary to be root to install Net-SNMP

2008-05-23 Thread Raghavendra Prasad
Thank you Dave. We had decided to stick to being a root user for SNMP agent development. I will give a try soon and let you know the result. With regards, Raghavendra PS: Sorry for my personal e-mail - This SF.net email is

Re: Is it necessary to be root to install Net-SNMP

2008-05-22 Thread Dave Shield
2008/5/9 Raghavendra Prasad [EMAIL PROTECTED]: OK - so install the perl modules (manually) into a suitable location, and tweak the @INC search list to look there. Could you please explain in more detail. Are you referring to fiddling with Make file? No. I mean installing these modules

RE: Is it necessary to be root to install Net-SNMP

2008-05-12 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raghavendra Prasad Sent: Friday, May 09, 2008 6:08 AM Being root is nessary for an automatic install of the Net-SNMP perl modules (and hence for running anything that relies on these, like mib2c). It is not necessary for a

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Dave Shield
2008/5/8 Raghavendra Prasad [EMAIL PROTECTED]: I have a problem when I try to install snmp agent as a non-root user. It tries to write to some root files. I am under the impression with ./configure options it should be possible configure this particular need - but I could not get any

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Raghavendra Prasad
If you run configure --prefix=/some/path I have set this prefix but still it doesn't help where you have write access to the /some/path tree, then you should be able to install as non-root. (Though I've not actually tried this myself) Yes I have the PREFIX folder has write

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Dave Shield
2008/5/9 Raghavendra Prasad [EMAIL PROTECTED]: Which files in particular are you having trouble with? It complains about PERL module, during make install(make works fine) it tries to write to a root folder(which is related to PERL module). I was not expecting installation process from a

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Raghavendra Prasad
The easiest fix would probably be to drop perl from the build altogether. Try configure --without-perl-modules make make install The --without-perl-modules option had no impact, the old problem persisted Or else tweak the top-level Makefile to remove perlinstall from the

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Dave Shield
2008/5/9 Raghavendra Prasad [EMAIL PROTECTED]: Or else tweak the top-level Makefile to remove perlinstall from the OTHERINSTALL list. This works, but at the cost of disfunctional mib2c. OK - so install the perl modules (manually) into a suitable location, and tweak the @INC search list to

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Raghavendra Prasad
OK - so install the perl modules (manually) into a suitable location, and tweak the @INC search list to look there. Could you please explain in more detail. Are you referring to fiddling with Make file? Being root is nessary for an automatic install of the Net-SNMP perl modules (and hence for

Re: Is it necessary to be root to install Net-SNMP

2008-05-09 Thread Raghavendra Prasad
OK - so install the perl modules (manually) into a suitable location, and tweak the @INC search list to look there. Could you please explain in more detail. Are you referring to fiddling with Make file? Being root is nessary for an automatic install of the Net-SNMP perl modules (and hence for