Ok. https://github.com/jeffmurphy/arsperl-linux64bit-minimal
What I did was construct a minimal C program that: 1. builds the control record 2. calls ARInitialization() 3. calls ARVerifyUser() the expectation is that ARVU will return success (assuming the credentials are correct) and it does. I then made a minimal Perl XS project and pasted the same code into it and created a simple test to call the routine. The expectation is that it too will succeed. But it doesn't. It fails with an RPC encoding failure. C-code + AR + Linux + 64bit = Ok Perl + C-code + AR + Linux + 64bit = Fail Doing some factoring: the only difference is that there's a perl library involved in the 2nd case. I'm not convinced I can blame libar for this failure since the straight-C case works fine. I did some stepping through the binary with GDB but wasn't able to figure out exactly why it fails for the Perl case. My _guess_ is there's an alignment issue with transcribing, e.g., doubles to/from xdr buffers when combined with Perl's memory management. jeff On Aug 9, 2013, at 4:43 PM, Eric Wolf <[email protected]> wrote: > I've heard similar rumors about that in regard to 9.0 since they're going to > a total java solution (read, mistake) but from what I understand, the > application is migrating to that solution, I haven't heard of the current C > API offerings being discontinued, but the development for 9.0 is so new that > none of it is nailed down I think. It would take a total rewrite of the Java > API since it currently uses the same methodology that the Perl API we install > does in that it wraps the native C API. > > To address whether it's a C code issue or a BMC one, I think the RPC bug is > actually a BMC thing that they haven't addressed yet. I was given a Bug # > which I have misplaced (a colleague is searching for it and will reach out to > BMC for it again if it does not surface), but if anyone would like to do > exploratory surgery on the connection handler to see how it sets up the RPC > translation, I'm all for helping. > > Misi and I had talked off-list about bringing the install up to date, but I > just haven't had the time to address it, and I get the feeling people on-list > are equally swamped. > > -Eric > > On Fri, Aug 9, 2013 at 3:22 PM, Jason Miller <[email protected]> wrote: > I have never used ARSPerl (have always planned on it) but if there is going > to be some major work involved it might be worth focusing on Java? I don't > think AR System will be supporting the C API all that much longer (I could be > wrong though). > Jason > > > On Fri, Aug 9, 2013 at 12:46 PM, Andrew Hicox <[email protected]> wrote: > > Same here, ARSPerl is a damn handy tool, truthfully one I've built an entire > career around. I hate to see it left in the weeds like this. > > I'm not a heavy weight on C hacking, but when I'm determined I can summon > brute force skills and make things happen. > > A question for the true C masters in the crowd: is this even something we can > fix without BMC's help, or would some level of ass-busting from our side ... > ahem ... "Remedy" the situation? > > -Andy > > On Aug 9, 2013, at 2:38 PM, L G Robinson wrote: > >> That's discouraging. We wrote a Perl module to call our Web service to >> replace this functionality on our 64 bit Linux servers. Sure would be nice >> to get ARSPerl back. >> >> Larry Robinson >> NC State University >> >> >> On Fri, Aug 9, 2013 at 2:36 PM, Eric Wolf <[email protected]> wrote: >> Yep, you still need 32-bit Perl installed if you're on 64 bit Linux because >> of a RPC translation problem (among other things). I can confirm this is >> still broken up to 8.0. >> >> -Eric >> >> On Fri, Aug 9, 2013 at 5:19 AM, Misi Mladoniczky <[email protected]> wrote: >> Hi, >> >> Has anyone been able to compile ARSperl on 64-bit-perl on a 64-bit linux OS? >> >> At the moment, I think the best option is to install a 32-bit perl and >> compile >> against an old ARAPI where we still had the 32-bit linux ARAPI library >> files... >> >> Best Regards - Misi, RRR AB, http://rrr.se >> >> > Hi, >> > >> > I ahve done these changes initially while installing the ARS-Perl however >> > we are still getiing the same error. >> > >> > I am using ARSPerl 1.93, ARS version 7.6.04 on 64-bit linux OS. >> > >> > Can you let me know if there exists any compatibility matrix for the >> > ARSPerl? >> > >> > Many thanks in Advance. >> > >> > Thanks & Regards >> > Manisha Kaul >> > >> > On Thu, Aug 8, 2013 at 12:03 PM, Misi Mladoniczky <[email protected]> wrote: >> > >> >> Hi, >> >> >> >> Did you do this before or after you posted the original question? Do you >> >> have >> >> the same error message now? >> >> >> >> How does your line 80 (+- a couple of rows) look? >> >> >> >> Best Regards - Misi, RRR AB, http://rrr.se >> >> >> >> > Hi, >> >> > >> >> > I have made the required changes in the Makefile.PL but still it is not >> >> > working. >> >> > >> >> > Thanks & Regards >> >> > Manisha Kaul >> >> > >> >> > On Wed, Aug 7, 2013 at 11:51 AM, Misi Mladoniczky <[email protected]> wrote: >> >> > >> >> >> Hi, >> >> >> >> >> >> Did you edit the Makefile.PL file to remove some lines, set your >> >> >> API-version, >> >> >> path etc? It should be apparent which lines should go, and you only >> >> >> need >> >> >> to go >> >> >> through the first 100 lines or so to find the places you must change. >> >> >> >> >> >> Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP >> >> 2011) >> >> >> >> >> >> Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11/12): >> >> >> * RRR|License - Not enough Remedy licenses? Save money by optimizing. >> >> >> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy >> >> logs. >> >> >> Find these products, and many free tools and utilities, at >> >> http://rrr.se. >> >> >> >> >> >> > Hi All, >> >> >> > >> >> >> > Requesting your help with the installation of ARS Perl 1.93. >> >> >> > >> >> >> > I am getting the following error while performing the first step ie. >> >> perl >> >> >> > Makefile.PL >> >> >> > >> >> >> > ERROR: >> >> >> > Can't modify numeric lt (<) in scalar assignment at Makefile.PL line >> >> 80, >> >> >> > near ");" >> >> >> > BEGIN not safe after errors--compilation aborted at Makefile.PL line >> >> 871. >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Thanks & Regards, >> >> >> > Manisha Kaul >> >> >> > >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> > See everything from the browser to the database with AppDynamics >> >> >> > Get end-to-end visibility with application monitoring from >> >> >> > AppDynamics >> >> >> > Isolate bottlenecks and diagnose root cause in seconds. >> >> >> > Start your free trial of AppDynamics Pro today! >> >> >> > >> >> >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> >> >> > >> >> >> > -- >> >> >> > Arsperl-users mailing list >> >> >> > [email protected] >> >> >> > https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> >> >> It's a free troubleshooting tool designed for production. >> >> >> Get down to code-level detail for bottlenecks, with <2% overhead. >> >> >> Download for free and get started troubleshooting in minutes. >> >> >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> >> >> >> >> >> >> >> -- >> >> >> Arsperl-users mailing list >> >> >> [email protected] >> >> >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Thanks & Regards, >> >> > Manisha Kaul >> >> > >> >> ------------------------------------------------------------------------------ >> >> > Get 100% visibility into Java/.NET code with AppDynamics Lite! >> >> > It's a free troubleshooting tool designed for production. >> >> > Get down to code-level detail for bottlenecks, with <2% overhead. >> >> > Download for free and get started troubleshooting in minutes. >> >> > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> > >> >> > -- >> >> > Arsperl-users mailing list >> >> > [email protected] >> >> > https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> >> It's a free troubleshooting tool designed for production. >> >> Get down to code-level detail for bottlenecks, with <2% overhead. >> >> Download for free and get started troubleshooting in minutes. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> >> >> >> >> -- >> >> Arsperl-users mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> > >> > >> > >> > -- >> > Thanks & Regards, >> > Manisha Kaul >> > ------------------------------------------------------------------------------ >> > Get 100% visibility into Java/.NET code with AppDynamics Lite! >> > It's a free troubleshooting tool designed for production. >> > Get down to code-level detail for bottlenecks, with <2% overhead. >> > Download for free and get started troubleshooting in minutes. >> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> > >> > -- >> > Arsperl-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> >> >> ------------------------------------------------------------------------------ >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> >> -- >> Arsperl-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> ------------------------------------------------------------------------------ >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> >> -- >> Arsperl-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> >> ------------------------------------------------------------------------------ >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> >> -- >> Arsperl-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > > -- > Arsperl-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > > -- > Arsperl-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > > -- > Arsperl-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/arsperl-users
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
-- Arsperl-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/arsperl-users
