Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux environment API v8101
Brought to you by:
jeffmurphy
From: Young, R. <Ran...@em...> - 2015-07-31 02:38:32
|
Hi John, Thanks so much that worked, thanks to Conny and Alex as well for your assistance! Rance -----Original Message----- From: Luthgers, John [mailto:jl...@gm...] Sent: July-30-15 3:41 PM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux environment API v8101 Hi Rance, like Alex has already pointed out, your perl installation doesn’t know anything about ARSperl till you execute the “make install” command. If you want to execute a test-script before the "make install" command, you need to add the include directories to the perl-call yourself. For example this will fail if you haven’t executed “make install” successfully: $ perl test.pl But this will work: $ perl -Iblib/lib -Iblib/arch test.pl But keep in mind: This assumes you’ve switched the current working directory to where you’ve compiled ARSperl. So for example if you’ve extracted and compiled ARSperl in the /dev/ARSperl2.00-src/ folder, cd to that folder and execute your test script. $ cd /dev/ARSperl2.00-src/ $ perl Makefile.PL $ make $ make test $ perl -Iblib/lib -Iblib/arch test.pl I’ve listed the other commands just to show that the test.pl script is executed before any “make install” command. If you’ve successfully executed the make command, you can try to execute your test script. Ofcourse its way easier to just execute “make install” (in your case as root, or otherwise you’ll need a complete separate perl-installation where your account can write to) and execute the test script afterwards. Kind regards -John- -----Ursprüngliche Nachricht----- From: Alex Agle Sent: Thursday, July 30, 2015 5:57 PM To: ARSperl User Discussion Cc: Dan...@rc... Subject: Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux environment API v8101 Hi Rance, I have ARSPerl 2.00 successfully running in production with the following steps (which are run as root): 1. Get 8.1.02p1 Remedy API A. cd /usr/local/src/remedyapi B. wget https://rrr.se/download/arapi/api812sp1linux.tar.gz C. cp api812sp1linux.tar.gz /usr/local/lib D. cd /usr/local/lib E. gunzip api812sp1linux.tar.gz F. tar -xvf api812sp1linux.tar G. rm api812sp1linux.tar 2. Get ARSPerl v2.00 from GitHub A. cd /usr/local/src/arsperl B. wget https://github.com/jeffmurphy/ARSperl/archive/v2.00.tar.gz C. cp v2.00.tar.gz /tmp D. cd /tmp E. gunzip v2.00.tar.gz F. tar -xvf v2.00.tar G. cd ARSperl-2.00 H. vi Makefile.PL #$ARSAPI = "C:/Replication/Remedy/7.6.4"; $ARSAPI = "/usr/local/lib/api812sp1linux"; #$ARCHITECTURE = ""; $ARCHITECTURE = "lx64"; # Linux 64-bit I. perl Makefile.PL J. make K. make test L. make install I see you are doing your testing from a non-root account, which leads me to believe that there might be some permissions issues with some of the library files. For example, as the remedy user, can you successfully enter the following commands? cd /usr/local/lib64/perl5/auto/ARS more autosplit.ix You should see the following output: # Index created by AutoSplit for blib/lib/ARS.pm # (file acts as timestamp) 1; Alex On Thu, Jul 30, 2015 at 11:13:33AM +0000, Young, Rance wrote: > Hi Conny, > > We've retested using the following steps: > > - Recompile arsperl > > o Received a lot of warnings > > - Run make test > > o Received errors on 1 out of 26 tests. > > o Note: when running the test we didn't use a config file for the server > info, we responded to the prompts > > Next you: > > - Wrote a simple test script (see below) > > - Executing the program received the following runtime errors > (screenshot of this output is also included): > > o Can't locate auto/ARS/autosplit.ix in @INC (@INC contains: > /usr/local/lib64/perl5/usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl > /usr/share/perl5 /usr/share/perl5 .) at /usr/share/perl5/AutoLoader.pm > line 173. > > o at ARS.pm line 64 > > o Can't locate loadable object for module ARS in @INC (@INC contains: > /usr/local/lib64/perl5/usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl > /usr/share/perl5 /usr/share/perl5 .) at ../remedy/scripts/perl/test.pl > line 4 > > o Complication file in require at ../remedy/scripts/perl/test.pl line 4 > > o BEGIN failed-compilation aborted at ../remedy/scripts/perl/test.pl > line 4 > > > The test script is as simple as we could make: > > [cid:image002.png@01D0C9D2.1C109BB0] > > Here's a screenshot of the error output (the same as what I typed out > above): > [cid:image002.png@01D0C861.33F60B10] > > > Thanks again for your assistance, > Rance > > From: Con...@t-... [mailto:Con...@t-...] > Sent: July-27-15 10:24 AM > To: ars...@li... > Cc: Dan...@rc... > Subject: Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux > environment API v8101 > > Hi Rance, > > I think I've found your "mistake". It seems like you put in the > servername with a blank or some other strange character in front. Pls. > check the file t/config.cache You can safely delete the file and rerun > perl Makefile.PL or you edit this file. > > KR Conny > > Von: Young, Rance [mailto:Ran...@em...] > Gesendet: Montag, 27. Juli 2015 14:49 > An: ARSperl User Discussion > Cc: Daniel Asselin > Betreff: Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux > environment API v8101 > > Hi Conny, > > Thanks for the response. Yes actually that's a strange error because > we're building arsperl on the same system that remedy is running on. > Remedy is up, and users can connect both through the user tool, and > the midtier. > > Thanks, > Rance > > > From: Con...@t-...<mailto:Con...@t-...> > [mailto:Con...@t-...] > Sent: July-27-15 7:35 AM > To: > ars...@li...<mailto:ars...@li...urcef > orge.net> > Subject: Re: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux > environment API v8101 > > Hi Rance, > > "Cannot open catalog; Message number = 90 ( > remdevapp1-mo3.osn.wireless.rogers.com : RPC: Success) (ARERR #90))" > > I've seen this kind of error when the servername is not resolvable. Pls. > test if "ping remdevapp1-mo3.osn.wireless.rogers.com" works. It should > at least resolve the name to an ip address. > > KR Conny > > > Von: Young, Rance [mailto:Ran...@em...] > Gesendet: Montag, 27. Juli 2015 13:12 > An: > ars...@li...<mailto:ars...@li...urcef > orge.net> > Betreff: [Arsperl-users] Errors with ARSPerl 2.0 on 64 bit Linux > environment API v8101 > > Hi folks, > > I'm working with a colleague trying to configure ARSPerl on a 64 bit > linux environment and running into issues. I was hoping that someone > could provide assistance, or information on whether anyone has tried > compiling on 64 bit linux yet? > > Specs are as follows: Perl v5.10.1 built for x86_64-linux-thread-multi > Linux red hat enterprise 6.6 santiago in a VM. > > Steps taken: > - make perl using 9.0 API failed (errors related to header file > changes) > - make perl using 8.1 API generated many warnings > - make test failed with errors > > Output from the attempt to make the project with 8.1 API is attached. > > Thanks in advance for any assistance you can provide, > Rance Young > ---------------------------------------------------------------------- > -------- > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users -- O--------------O--O---------------------------------O | Alex Agle \/ Lead Application Developer | O---------------/\ Georgia Institute of Technology | |(404)894-6165 //\\ EIS - Applications Support | | Atlanta, GA //\/\\ alex.agle(@)oit.gatech.edu | O------------O-\/\/-O-------------------------------O ------------------------------------------------------------------------------ -- Arsperl-users mailing list Ars...@li... https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------------ -- Arsperl-users mailing list Ars...@li... https://lists.sourceforge.net/lists/listinfo/arsperl-users |