Testing perl

2010-06-03 Thread Magnus Fromreide
Hi. I just tried to run the test suite, and the perl tests failed. Perl Unix Domain Socket Test .. Can't locate SNMP.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10

Re: netsnmp_udp_send() syscalls with uninitialized data

2010-06-03 Thread Brendan Tauras
Bart, Thank you for the advice. It helped me learn more about the Net-SNMP library, but unfortunately it did not solve the issue with uninitialized syscall data. I used memset() to initialize the "struct snmp_session" before passing it to snmp_sess_init(), but I cannot memset() the "struct snmp_

Re: make install prefix=... INSTALL_PREFIX=...

2010-06-03 Thread Thomas Anders
Magnus Fromreide wrote: > One could obviously imagine an alternate approach where I add options to > configure to set SNMPCONFPATH and SNMPSHAREPATH. Would that solution be > better? Please go ahead! +Thomas -- ThinkGee

Re: make install prefix=... INSTALL_PREFIX=...

2010-06-03 Thread Wes Hardaker
> On Thu, 03 Jun 2010 21:29:07 +0200, Magnus Fromreide > said: MF> One could obviously imagine an alternate approach where I add options to MF> configure to set SNMPCONFPATH and SNMPSHAREPATH. Would that solution be MF> better? That's probably fine too... -- Wes Hardaker Please mail al

Re: make install prefix=... INSTALL_PREFIX=...

2010-06-03 Thread Magnus Fromreide
On Thu, 2010-06-03 at 05:16 -0700, Wes Hardaker wrote: > > On Thu, 03 Jun 2010 09:33:11 +0200, Magnus Fromreide > > said: > > MF> For the one under /another/path this is wrong, there I would like it to > MF> print -L/another/path/lib as that is where the libraries are located. > > MF> N

Re: Socket leak in snmpd process when trapsink is configured

2010-06-03 Thread surya prakash
Hi net-snmp-coders, It will be greatly helpful if we have some suggestions on the below problem and the solution proposed. Regards, Prakash.V --- On Fri, 5/21/10, surya prakash wrote: > From: surya prakash > Subject: Socket leak in snmpd process when trapsink is configured > To: "net-snmp-co

Re: make install prefix=... INSTALL_PREFIX=...

2010-06-03 Thread Wes Hardaker
> On Thu, 03 Jun 2010 09:33:11 +0200, Magnus Fromreide > said: MF> For the one under /another/path this is wrong, there I would like it to MF> print -L/another/path/lib as that is where the libraries are located. MF> Now my question is if I have understood how INSTALL_PREFIX and prefix

how EMS will come to know about CPU is crashed on which Agent is running

2010-06-03 Thread Subhash Chandra
Hi, how EMS will come to know about CPU is crashed on which Agent is running. Will trap can be used for this purpose. Please reply as soon as possible. Regards, Subhash Chandra -- ThinkGeek and WIRED's GeekDad team up for

make install prefix=... INSTALL_PREFIX=...

2010-06-03 Thread Magnus Fromreide
Hello. I recently got the need to build binaries to install on a target system and a development system where the file structure on the development system differs from the target system but I still needs to run net-snmp-config on the development system. I ended up doing (on the development system