./configure --enable-embedded-perl --enable-shared

2017-08-09 Thread jayshankar nair
Hi, Net-snmp not compiling with -enable-embedded perl and --with-perl-modules. The OS version is Fedora 25. Hence NetSNMP::TrapReceiver won't work <https://metacpan.org/pod/NetSNMP::TrapReceiver#ABSTRACT>. Error from evaluation of /home/jayshankar/net-snmp/net- snmp-5.7.3/perl/OID/

Logging with embedded Perl

2015-08-27 Thread Ryan Holliday
Hi all, I have an embedded PERL module that I am writing for a custom MIB. When we start the demon we use the options '-LS0-4d -Lf /dev/null' and expect all the log files to get dumped to /dev/null. This seems to work under normal operations, but when I add 'perl do /path/to/pl&#x

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-18 Thread Joel Hansell
On Tue, Jan 17, 2012 at 3:07 PM, Dave Shield wrote: > Perhaps you could try the same patch (attached) and let us know if it > works for you. > > If either of you can confirm that it fixes the problem, then we'll include > it in future releases. Thanks Dave! I tried you patch, first with sun cc,

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-17 Thread Dave Shield
constant, if I remove that flag from my ./configure > call, it builds successfully. > > http://fixunix.com/snmp/170422-re-problems-building-5-4-linux.html > > So, obviously there is an undocumented dependency here which perhaps > the configure script should warn about? I.e. when

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-17 Thread Joel Hansell
On Tue, Jan 17, 2012 at 10:50 AM, Joel Hansell wrote: > Hi Thomas, > Thanks for your reply. > I managed to get GCC 3.4.6 up and running, but unfortunately I got the > same result. I first re-built Perl with GCC, then tried to use that > Perl binary in compiling net-snmp with emb

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-17 Thread Joel Hansell
unfortunately I got the same result. I first re-built Perl with GCC, then tried to use that Perl binary in compiling net-snmp with embedded perl. I pass the configure stage without errors, so I guess my problem is unrelated to my Perl binary. Make fails on the same stage as before (when building

Re: Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-16 Thread Thomas Anders
Joel Hansell wrote: > However, when running "make" I get the below sequence of errors and > the build terminates. Interesting. Thanks for the report. > Is this a bug in the configure environment for Solaris, or am I doing > something wrong with my config flags? Would a switch to GCC help? (I'd >

Problem building net-snmp 5.7.1 with embedded Perl support (no large files) on Solaris 10

2012-01-16 Thread Joel Hansell
Hi, I'm assuming this goes to the "users" list, if not, please tell me otherwise. I need to build net-snmp with embedded perl support for distribution to Solaris 10 boxes (starting with Sparc, but later for x86 too). Using Solaris Studio CC. Following the instructions in README.s

embedded Perl Set requests

2011-10-11 Thread Alilo
-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_per is missing the Set request documentation. could you please give an example code to manage the SET request from a manager to the embedded perl agent extension. Regards, Alilo

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-19 Thread Ali . Bruce
Bart, Thanks. The patch seems to have fixed this problem. Ali --- This email and any attached files contains company confidential information which may be legally privileged. it is intended only for the person(s) or entity to which it is addressed

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Bart Van Assche
On Thu, Aug 18, 2011 at 1:05 PM, wrote: > I'm trying to understand the release strategy of Net-SNMP. Once 5.7 has > been released, I understand there will be a 5.7.1 release that includes > patches. Looking at the diff file that you have sent these seem to be 5.6 > patches to be merged into 5-7

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Ali . Bruce
Bart, I'm trying to understand the release strategy of Net-SNMP. Once 5.7 has been released, I understand there will be a 5.7.1 release that includes patches. Looking at the diff file that you have sent these seem to be 5.6 patches to be merged into 5-7 patches. Was 5.7 created and released wh

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Bart Van Assche
On Thu, Aug 18, 2011 at 11:09 AM, wrote: > I am getting a strange error when running my perl script. > > I am attempting to initialise a Perl CORBA: Orb in order to access the > data to be managed by SNMP (which I can do succesfully using a standalone > perl script) > > Adding the Corba Orb ini

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Ali . Bruce
Hi, I am getting a strange error when running my perl script. I am attempting to initialise a Perl CORBA: Orb in order to access the data to be managed by SNMP (which I can do succesfully using a standalone perl script) Adding the Corba Orb initialisation request my $orb = CORBA::ORB_init

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Ali . Bruce
Dave, Thanks for that. Your suggestion results in the snmpget request correctly indicating "No such instance currently exists at this OID". The perl script (which is effectively the CPAN perl script slightly modified) did output "unknown var value type: 0" as a result of the $varbind->setValu

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Dave Shield
On 18 August 2011 08:29, wrote: > How can I indicate "No Such Instance"? There are error codes > defined for the NetSNMP::Agent but I cannot see an error code for No Such > Instance. Remember that noSuchInstance is not strictly an error. It's actually an "exception" - a pseudo-value

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-18 Thread Ali . Bruce
Bart, Thanks. I have now managed to get a Perl subagent built with 5.7.1 pre1 running on windows. One issue I have is that I am doing an SNMP-Get request on a table row that does not exist. How can I indicate "No Such Instance"? There are error codes defined for the NetSNMP::Agent but I canno

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-11 Thread Bart Van Assche
.7 branch: http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commitdiff;h=c1c2bdcdd65f4837698648a187696c424192aadc;hp=4efa547480e882c6b0fd0c4b2ee6e674e75cc80a > I'm still trying to work out whether I can use Perl on windows. As you > stated earlier embedded Perl ha

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-11 Thread Ali . Bruce
Bart, Thanks for that. That patch stops the script locking up and completes the installation. I'm still trying to work out whether I can use Perl on windows. As you stated earlier embedded Perl has not been ported to Windows. Reading the Net-snmp Perl support documentation it states: Fo

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-11 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 4:07 PM, wrote: > I downloaded and built with the latest 5.7.1 pre release. > > During the Perl tests it no longer crashed the snmpd.exe, however it still > locks up at the same point: The patch below fixes that lockup on my setup: diff --git a/perl/SNMP/SNMP.pm b/perl/SN

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-10 Thread Ali . Bruce
Bart, As an alternative method of using perl I am trying to do this using the pass_persist mechanism to invoke an external Perl script rather than using embedded perl. However I am having difficulty with Creating a new row using this method. This is captured in another thread I have started

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 3:02 PM, wrote: > Looks like my understanding was wrong. > > Is it possible to use Perl to implement my agent on windows (using the CPAN > Perl modules), without porting "embedding Perl in Net-SNMP" ? > I'm not sure that's possible. I'm not an expert with regard to the Per

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Ali . Bruce
Bart, I downloaded and built with the latest 5.7.1 pre release. During the Perl tests it no longer crashed the snmpd.exe, however it still locks up at the same point: cd .. cd .. C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe test -nologo C:\Perl\bin\perl.EXE "-MExtUtil

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Ali . Bruce
Bart, Looks like my understanding was wrong. Is it possible to use Perl to implement my agent on windows (using the CPAN Perl modules), without porting "embedding Perl in Net-SNMP" ? Regards, Ali --- This email and any attached files contains compa

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 12:51 PM, wrote: > What exactly is "embedding Perl in Net-SNMP" if it's not the Perl Extension > files from CPAN? > Adding Perl statements in snmpd.conf such that the Perl code is run from inside the snmpd agent process. For more information, see also http://www.net-snmp.o

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Ali . Bruce
Bart, What exactly is "embedding Perl in Net-SNMP" if it's not the Perl Extension files from CPAN? Regards, Ali --- This email and any attached files contains company confidential information which may be legally privileged. it is intended only fo

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 9:55 AM, wrote: > # Failed test 1 in t/async.t at line 19 > # t/async.t line 19 is: for (my $i=1;$i <= 20; $i++) { > # Failed test 2 in t/async.t at line 19 fail #2 > # Failed test 3 in t/async.t at line 19 fail #3 > # Failed test 4 in t/async.t at line 19 fail #4 > t/as

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Bart Van Assche
On Tue, Aug 9, 2011 at 11:23 AM, wrote: > My understanding is that "embedding Perl in Net-SNMP" are the Perk SNMP > Extension modules from the CPAN website. Ideally I would have liked to have > used these, I hadn't realised they had not been ported to Windows. > The Perl SNMP Extension modules f

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Ali . Bruce
Bart, My understanding is that "embedding Perl in Net-SNMP" are the Perk SNMP Extension modules from the CPAN website. Ideally I would have liked to have used these, I hadn't realised they had not been ported to Windows. However - even without the "embedding Perl in Net-SNMP" modules I should

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-09 Thread Ali . Bruce
Sorry Bart, Replied to your private address. Ali - Forwarded by Ali Bruce/UKMAIN/MM1 on 09/08/2011 08:54 - Ali Bruce/UKMAIN/MM1 09/08/2011 08:53 To Bart Van Assche cc Subject Re: Fw: Unable to build Net-Snmp with embedded perl Bart, Thanks for that patch.That overcame the

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
On Mon, Aug 8, 2011 at 5:02 PM, wrote: > I then try to run snmpd.exe -V with the disablePerl true option set in the > snmpd.conf file. This gives a warning suggesting that embedded perl is not > enabled. How do I know if embedded perl has been enabled and what embedded > perl modul

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
Bart Van Assche. On Mon, Aug 8, 2011 at 5:30 PM, wrote: > Applying the patch causes the following compilation failure: > > [ ... ] > ..\..\agent\agent_handler.c(120) : error C3872: '0xa0': this character is > not allowed in an identifier > Apparently my e-mail client has changed regular spaces i

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Ali . Bruce
Bart, Applying the patch causes the following compilation failure: cd libagent nmake /nologo all cl.exe /nologo /MD /W3 /EHsc /O2 /I "." /I ".." /I "..\..\snmplib" /I "..\.." /I "..\..\include" /I "..\..\agent" /I "..\..\agent\mibgroup" /D "WIN32" /D "NDEBUG" /D "_CONSOL

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 6:05 PM, wrote: > Free to wrong pool 2377e8 not fdfdfdfd at ..\blib\lib/NetSNMP/OID.pm line > 31. > The patch below should fix the above issue: diff --git a/include/net-snmp/library/tools.h b/include/net-snmp/library/tools.h index 39e661c..24a18b0 100644 --- a/include/net

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-08 Thread Ali . Bruce
age... Installing development files... Done! I then try to run snmpd.exe -V with the disablePerl true option set in the snmpd.conf file. This gives a warning suggesting that embedded perl is not enabled. How do I know if embedded perl has been enabled and what embedded perl modules should b

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Bart Van Assche
On Thu, Aug 4, 2011 at 3:50 PM, wrote: > I've applied the patch manually but it doesn't seem to make any difference. > I've still got the same errors. > The Perl modules on the 5.7 branch build fine here with IPv6 support enabled. And I know only one cause for the "error C2079: 'sin6' uses undef

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Ali . Bruce
Bart, I've applied the patch manually but it doesn't seem to make any difference. I've still got the same errors. Regards, Ali --- This email and any attached files contains company confidential information which may be legally privileged. it is i

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Bart Van Assche
On Thu, Aug 4, 2011 at 10:44 AM, wrote: > R:\cots\net-snmp\net-snmp-5.7\include\net-snmp/library/snmp_transport.h(74) > : error C2079: 'sin6' uses undefined struct 'sockaddr_in6' > That' because the Perl headers are included first in the Net-SNMP Perl modules and because in these headers _WIN32

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-04 Thread Ali . Bruce
Bart, I tried to build with the same Net-Snmp options as yourself. My set up details are a bit different as follows: WIndows XP Professional SP3, Visual Studio 2008, Active Perl version 5.10.0 Build 1005. The output from the build is shown below (for build 5.7). As you can see there is a buil

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-03 Thread Bart Van Assche
On Wed, Aug 3, 2011 at 2:48 PM, wrote: > I also tried building an earlier version (5.5.1) but again when I try to > build with embedded perl the perl tests cause the build process to crash > resulting in no installation occurring. I could however build OK without > embedded Perl,

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-03 Thread Ali . Bruce
Bart, There is company firewalls so they are probably blocking the git connections. Even though the perl tests fail to execute during the build process, files are still created in my install path. The snmpd can execute without any embedded perl in the snmpd.conf file (although does still give

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Bart Van Assche
On Tue, Aug 2, 2011 at 3:32 PM, wrote: > Thanks again.I've installed git and Tortoise git on my pc and attempted to > clone the repository. Howeve I always get this error: > > git.exe clone --progress -v "git:// > net-snmp.git.sourceforge.net/gitroot/net-snmp/net-snmp" > "C:\cloned_net_snmp" >

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Ali . Bruce
Bart, Thanks again.I've installed git and Tortoise git on my pc and attempted to clone the repository. Howeve I always get this error: git.exe clone --progress -v "git://net-snmp.git.sourceforge.net/gitroot/net-snmp/net-snmp" "C:\cloned_net_snmp" Cloning into C:\cloned_net_snmp... net-snmp.g

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Bart Van Assche
On Tue, Aug 2, 2011 at 10:05 AM, wrote: > Can you repost the link to * > net-snmp.git.sourceforge.net/gitroot/net-snmp/V5-7-patches*as > it seems to be broken. > What I meant is that you have to clone the repo *git:// net-snmp.g

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-02 Thread Ali . Bruce
Bart, Can you repost the link to net-snmp.git.sourceforge.net/gitroot/net-snmp/V5-7-patches as it seems to be broken. Thanks, Ali --- This email and any attached files contains company confidential information which may be legally privileged. it

Re: Fw: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 4:15 PM, wrote: > Thanks for the quick response. It looks like it has built now. What was the > perl/NetSNMP.xs file doing that caused it not to build? > I'm not sure what that file should be doing. But you won't miss it, as you can see in that file: $ cat perl/NetSNMP.xs

Fw: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Ali . Bruce
- Forwarded by Ali Bruce/UKMAIN/MM1 on 01/08/2011 17:05 - Ali Bruce/UKMAIN/MM1 01/08/2011 15:15 To bvanass...@acm.org cc Subject Re: Unable to build Net-Snmp with embedded perl Bart, Thanks for the quick response. It looks like it has built now. What was the perl/NetSNMP.xs file

Re: Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Bart Van Assche
On Mon, Aug 1, 2011 at 2:55 PM, wrote: > NetSNMP.def : error LNK2001: unresolved external symbol > boot_Bundle__NetSNMP > Does removing perl/NetSNMP.xs before you start build.bat help ? Bart. -- Got Input? Slashdot Ne

Unable to build Net-Snmp with embedded perl

2011-08-01 Thread Ali . Bruce
Hello, I am new to using Net-Snmp. I am trying to build Net-Snmp version 5.7 with embedded-perl support using the Visual Studio C++ build option. I am using the version perl5 (revision 5 version 10 subversion 0) of Perl from ActivePerl. To compile Net-Snmp I am using the Win32\build.bat

RE: Question on Net-SNMP (SNMPD) + Embedded Perl

2011-04-04 Thread Ron Rader
bject: Question on Net-SNMP (SNMPD) + Embedded Perl Hi is ther anyone can help on embedded perl under SNMPD? When I tried to use "$request->setValue(ASN_COUNTER64, 2147483647);" , there is no problem, but if I put in the value larger than 2147483647, it failed. - RBK The information

Question on Net-SNMP (SNMPD) + Embedded Perl

2011-04-04 Thread Sun Paul
Hi is ther anyone can help on embedded perl under SNMPD? When I tried to use "$request->setValue(ASN_COUNTER64, 2147483647);" , there is no problem, but if I put in the value larger than 2147483647, it f

Re: embedded-perl on win32: "warning unknown token: perl"

2008-09-25 Thread Alex Burger
Hi Marco. The Windows binaries on SourceForge are compiled with the regular Perl modules, but not with embedded Perl. The binaries are built using MSVC so the build system has to be modified to support it. It's something I want to look at for the next release. Have a look at the foll

RE: embedded-perl on win32: "warning unknown token: perl"

2008-09-19 Thread Marco Dings
embedded Perl and the Perl modules by default when possible unless explicitly disabled. You may use the --disable-embedded-perl and --without-perl-modules configure options, respectively, to revert to the former default configuration. snmptrapd.conf Win32 options ( I just found out

Re: embedded-perl on win32: "warning unknown token: perl"

2008-09-19 Thread Dave Shield
2008/9/19 Marco Dings <[EMAIL PROTECTED]>: > I've gotten the latest binaries from sourceforge (5.4.1.2) > As soon as I put something like > > perl do "myscript.pl" > in snmpd.conf > > I find a message in my snmp.log file > "warning unknown token: perl" That sounds remarkably as if the Windows bin

embedded-perl on win32: "warning unknown token: perl"

2008-09-19 Thread Marco Dings
Hello all, I'm trying to set up an snmp-agent and extend it using embedded perl on a windows machine and its driving me crazy.. I've gotten the latest binaries from sourceforge (5.4.1.2), Installed it. And tested as out of the box. agent itself runs as I can "snmpwalk&quo

Re: disabling embedded perl in configure.in

2008-04-10 Thread Thomas Anders
John Hardin wrote: > Thomas Anders wrote: >> ./configure --disable-embedded-perl --without-perl-modules ... >> > Thanks. That helped. I had been using >--with-perl-modules=no > but that didn't work. The help text seems > to say that it should be

Re: disabling embedded perl in configure.in

2008-04-09 Thread John Hardin
Thomas Anders wrote: > John Hardin wrote: > >> We've been trying to get Net-SNMP 5.4 to build without >> embedded Perl support, but keep getting errors. >> > > What configure options are you using? > > ./configure --disable-embedded-perl --without

Re: disabling embedded perl in configure.in

2008-04-09 Thread Thomas Anders
John Hardin wrote: > We've been trying to get Net-SNMP 5.4 to build without > embedded Perl support, but keep getting errors. What configure options are you using? ./configure --disable-embedded-perl --without-perl-modules ... should work for you

disabling embedded perl in configure.in

2008-04-09 Thread John Hardin
We've been trying to get Net-SNMP 5.4 to build without embedded Perl support, but keep getting errors. Our toolsmith found this in the configure.in file in the PERL SUPPORT section: if test "x$install_perl" = "xno" ; then install_perl="try" fi It app

Re: Solaris 10 and "embedded perl support broken"

2006-11-15 Thread Thomas Anders
Raphaël 'SurcouF' Bordet wrote: > I'm trying to compile net-snmp 5.3.0.1 under Solaris 10 with some perl > support. Without perl modules and embedded perl supports, I was already > successfully compiled net-snmp. SUN is providing perl with Solaris 10 and > its was compil

newbie question about embedded perl traphandler (SNMP::TrapReceiver)

2006-11-14 Thread Mike Schmidt
Hi, I've just moved up to Net-SNMP 2.4rc2 (from 5.1.2) to use the embedded perl traphandler. I've been using the normal traphandling capabilities so far. There, the trap values were passed simply: OID value (no quotes or anything else) Now, with TrapReceiver, I get values that c

Re: Embedded Perl Problem

2006-10-14 Thread Dave Shield
On 14/10/06, Clement Hsu <[EMAIL PROTECTED]> wrote: > After I install net-snmp-5.4-pre3, the result of detection of perl problem > is as below list: >checking for eval_pv... no >checking for perl_eval_pv... no >checking for Perl_eval_pv... no > It is obviously the perl_eval_pv funct

Re: Embedded Perl Problem

2006-10-14 Thread Thomas Anders
Perl_eval_pv... no > checking for potential embedded Perl support... disabled > checking if we can install the Perl modules... yes -- not embeddable > > It is obviously the perl_eval_pv function and eval_pv fuction is not > existed in my xscale file system > my probelm is how to f

Re: Embedded Perl Problem

2006-10-13 Thread Clement Hsu
   checking for Perl LDFLAGS... -rdynamic   /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6    .1/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil   checking for eval_pv... no   checking for perl_eval_pv... no   checking for Perl_eval_pv... no   checking for potential embedded Perl

Re: Embedded Perl Problem

2006-10-12 Thread Dave Shield
On 12/10/06, Chih-Tung Hsu <[EMAIL PROTECTED]> wrote: > When I install net-snmp in xscale system (ps: environment > is montavista) and using the instruction > " ./configure –enable-embedded-perl –enable-share " > > When I make, the result is following: [s

Re: Embedded Perl Problem

2006-10-12 Thread Thomas Anders
Chih-Tung Hsu wrote: > snmp_perl.c:88:2: #error embedded perl broken Can you please retry with 5.4.pre3 and let us know what it tells you wrt. embedded perl? It should have a much better perl [problem] detection at configure time and will hopefully help you to nail down the problem. +Tho

Embedded Perl Problem

2006-10-11 Thread Chih-Tung Hsu
Dear All:    I am Clement. When I install net-snmp in xscale system (ps: environment is montavista) and using the instruction     " ./configure –enable-embedded-perl –enable-share "     When I make, the result is following:      rm -f mibgroup/agentx/.libs/agentx_config

Re: Calling SNMP.pm from snmptrapd using embedded perl

2006-03-31 Thread Wes Hardaker
Peter> $device_info->{'passwords'}->{$community_string_type'}, Peter> Version => Peter> $device_info->{'snmp_version'} Peter> ); Peter> Everything else works fine. Peter> Am I doing something wrong, or is SNMP.pm not suitable for Peter> calling u

Calling SNMP.pm from snmptrapd using embedded perl

2006-03-30 Thread Peter Hicks
All, I have the need to make SNMP requests from within a traphandler called from snmptrapd and using embedded perl. Every time, without fail, I get a ** glibc detected *** double free or corruption (!prev): 0x0883e6f8 *** error in the following code: my $snmp_handle = new SNMP::Session

Re: Need help using embedded perl with Solaris...

2006-03-10 Thread Jean-Sebastien Morisset
bly -- although I > dont know how -- have Net-SNMP set a global variable every 15-30 secs > with the current process table, and then my script could use that > variable. I would, of course, need the --enable-embedded-perl > functionality to do this. :-) > > So this brings me to

Need help using embedded perl with Solaris...

2006-03-10 Thread Jean-Sebastien Morisset
et-SNMP set a global variable every 15-30 secs with the current process table, and then my script could use that variable. I would, of course, need the --enable-embedded-perl functionality to do this. :-) So this brings me to my second problem, I cannot compile v5.3.0.1 on Solaris with --enable-emb

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread Thomas Anders
Raffles wrote: You know it would be very useful if configure *did* stop dead if perl is broken - this tripped me up too (though in a different way). Is the reason configure didn't complain perhaps this: http://sourceforge.net/tracker/index.php?func=detail&aid=898863&group_id=12694&atid=1126

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread Raffles
n Wednesday 15 February 2006 18:14, you wrote: H. McManus wrote: snmp_perl.c:88:2: error: #error embedded perl broken Please do a *case-insensitive* search for eval_pv in config.log and have a look why the corresponding configure tests are failing. It can't find -lperl. Installing the

Re: #error embedded perl broken - SOLVED

2006-02-16 Thread H. McManus
On Wednesday 15 February 2006 18:14, you wrote: > H. McManus wrote: > > snmp_perl.c:88:2: error: #error embedded perl broken > > Please do a *case-insensitive* search for eval_pv in config.log and have > a look why the corresponding configure tests are failing. It can't

Re: Problem compiling with embedded perl

2006-02-15 Thread Thomas Anders
Tobias Hafer wrote: I've some problems compiling net-snmp 5.3 or older version 5.2.2 with this option: # ./configure -prefix="/opt/net-snmp" -with-mib-modules=host -enable-embedded-perl=yes -enable-shared snmp_perl.c:88:2: #error embedded perl broken Sigh. We're defi

#error embedded perl broken

2006-02-15 Thread H. McManus
Hi, Me again, sorry :( I have another make error while trying to compile net-snmp-5.3.0.1 under linux. In my case I've just removed embedded perl from ./configure, but I though I'd report the error in case it's a genuine problem and not just me being stupid. gcc -I../include

Re: Problem compiling with embedded perl

2006-01-15 Thread Tobias Hafer
> I've some problems compiling net-snmp 5.3 or older version 5.2.2 with this > option: > > # ./configure -prefix="/opt/net-snmp" -with-mib-modules=host > -enable-embedded-perl=yes -enable-shared I hope the configure options all start with "--" instead of

Re: Problem compiling with embedded perl

2006-01-15 Thread Thomas Anders
[EMAIL PROTECTED] wrote: I've some problems compiling net-snmp 5.3 or older version 5.2.2 with this option: # ./configure -prefix="/opt/net-snmp" -with-mib-modules=host -enable-embedded-perl=yes -enable-shared I hope the configure options all start with "--"

Problem compiling with embedded perl

2006-01-15 Thread mywwwstuff
Hi @all, I've some problems compiling net-snmp 5.3 or older version 5.2.2 with this option: # ./configure -prefix="/opt/net-snmp" -with-mib-modules=host -enable-embedded-perl=yes -enable-shared # make "make" returns an error in the snmp_perl.c file: ... URCE -DTHREAD

RE: Building RPMs with embedded Perl

2005-12-30 Thread Neil Davidson
ht on it. Neil -Original Message- From: Axel Thimm [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 8:11 PM To: Neil Davidson Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Building RPMs with embedded Perl On Thu, Dec 29, 2005 at 11:20:16AM -0800, Neil Davidson wrote: &g

Re: Building RPMs with embedded Perl

2005-12-29 Thread Axel Thimm
sr/share/doc/rpm-*/conditionalbuilds for details. > > From: Neil Davidson > Sent: Wednesday, December 28, 2005 1:34 PM > To: 'net-snmp-users@lists.sourceforge.net' > Subject: Building RPMs with embedded Perl > > Am a bit of a novice to this, but perhaps someone

RE: Building RPMs with embedded Perl

2005-12-29 Thread Neil Davidson
Neil Davidson Sent: Wednesday, December 28, 2005 1:34 PM To: 'net-snmp-users@lists.sourceforge.net' Subject: Building RPMs with embedded Perl Am a bit of a novice to this, but perhaps someone here has some experience in getting Net-SNMP installed on Fedora Core 4 with embedded perl sup

Building RPMs with embedded Perl

2005-12-29 Thread Neil Davidson
Am a bit of a novice to this, but perhaps someone here has some experience in getting Net-SNMP installed on Fedora Core 4 with embedded perl support.   (It looks like embedded perl is disabled by default.)   The spec file contains the following lines:     %{?_with_embedded_perl

Re: Embedded perl

2005-11-09 Thread Thomas Anders
Andy Pearce wrote: I am trying to perform a configure which will included embedded perl support. I am running on a intel pentium with redhat 9.0. I have net-snmp srcnet-snmp-5.3.pre2 I perform the configure as follows: ./configure --enable-embedded-perl --enable-shared The

Embedded perl

2005-11-09 Thread Andy Pearce
Hi,       I am trying to perform a configure which will included embedded perl support. I am running on a intel pentium with redhat 9.0. I have net-snmp srcnet-snmp-5.3.pre2    I perform the configure as follows:       ./configure --enable-embedded-perl --enable-shared   The config.log

Re: mib2c configs for embedded perl

2005-11-03 Thread Peter Martin
Thomas Peter Martin wrote: We've discussed this recently and don't think anyone has done it yet. But we'd highly appreciate any work in this regard! Please go ahead and submit your config when you're done, so that it can be considered for inclusion in the distribution. Ok, thanks for the

Re: mib2c configs for embedded perl

2005-11-03 Thread Thomas Anders
Peter Martin wrote: I am currently creating a number of embedded perl scripts for use with our mibs, and am starting to feel the need for some help automating the coding, especially after having re-arranged some of the objects. Mib2c is the obvious choice for this. I've had a good s

mib2c configs for embedded perl

2005-11-02 Thread Peter Martin
I am currently creating a number of embedded perl scripts for use with our mibs, and am starting to feel the need for some help automating the coding, especially after having re-arranged some of the objects. Mib2c is the obvious choice for this. I've had a good search around, but I hav

memory leak in snmptrapd when using embedded perl

2005-04-08 Thread netsnmp fan
I've been working on writing some embedded perl handlers in net-snmp 5.2.1 and I couldn't help but notice the thread about snmptrapd embedded perl handlers eating up loads of memory. I encountered the same problem when registering perl handlers with the NetSNMP::TrapRecei

Re: embedded perl, memory leak

2004-10-20 Thread Users
On Mon, 18 Oct 2004 09:28:19 +0200 Thomas wrote: TA> Jean-Michel Favre wrote: TA> > I'am at present testing embedded perl both as an TA> > extension of snmpd and snmptrapd. (net-snmp 5.2.pre2). TA> > TA> > The perl extension to snmptrapd consumes a large amou

Re: embedded perl, memory leak

2004-10-18 Thread Thomas Anders
Jean-Michel Favre wrote: I'am at present testing embedded perl both as an extension of snmpd and snmptrapd. (net-snmp 5.2.pre2). The perl extension to snmptrapd consumes a large amount of memory even when the perl trap handler is a single return instruction. with snmpd, the request ha

embedded perl, memory leak

2004-10-17 Thread Jean-Michel Favre
I'am at present testing embedded perl both as an extension of snmpd and snmptrapd. (net-snmp 5.2.pre2). The perl extension to snmptrapd consumes a large amount of memory even when the perl trap handler is a single return instruction. with snmpd, the request handler being a sub with a r