arsperl-users Mailing List for ARSperl (Page 19)
Brought to you by:
jeffmurphy
You can subscribe to this list here.
| 1996 |
Jan
(6) |
Feb
(7) |
Mar
(16) |
Apr
(5) |
May
(21) |
Jun
(5) |
Jul
(5) |
Aug
(13) |
Sep
(4) |
Oct
(12) |
Nov
(7) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1997 |
Jan
(38) |
Feb
(65) |
Mar
(32) |
Apr
(37) |
May
(47) |
Jun
(45) |
Jul
(28) |
Aug
(38) |
Sep
(41) |
Oct
(81) |
Nov
(21) |
Dec
(45) |
| 1998 |
Jan
(18) |
Feb
(26) |
Mar
(44) |
Apr
(34) |
May
(36) |
Jun
(44) |
Jul
(31) |
Aug
(34) |
Sep
(56) |
Oct
(40) |
Nov
(20) |
Dec
(25) |
| 1999 |
Jan
(49) |
Feb
(50) |
Mar
(33) |
Apr
(51) |
May
(54) |
Jun
(43) |
Jul
(91) |
Aug
(34) |
Sep
(120) |
Oct
(102) |
Nov
(101) |
Dec
(25) |
| 2000 |
Jan
(55) |
Feb
(105) |
Mar
(44) |
Apr
(89) |
May
(123) |
Jun
(51) |
Jul
(98) |
Aug
(120) |
Sep
(101) |
Oct
(77) |
Nov
(58) |
Dec
(39) |
| 2001 |
Jan
(36) |
Feb
(50) |
Mar
(57) |
Apr
(62) |
May
(81) |
Jun
(55) |
Jul
(46) |
Aug
(51) |
Sep
(37) |
Oct
(60) |
Nov
(38) |
Dec
(41) |
| 2002 |
Jan
(70) |
Feb
(41) |
Mar
(49) |
Apr
(55) |
May
(93) |
Jun
(48) |
Jul
(88) |
Aug
(52) |
Sep
(92) |
Oct
(63) |
Nov
(37) |
Dec
(63) |
| 2003 |
Jan
(62) |
Feb
(78) |
Mar
(101) |
Apr
(90) |
May
(104) |
Jun
(31) |
Jul
(29) |
Aug
(66) |
Sep
(50) |
Oct
(114) |
Nov
(111) |
Dec
(49) |
| 2004 |
Jan
(19) |
Feb
(68) |
Mar
(59) |
Apr
(30) |
May
(54) |
Jun
(33) |
Jul
(115) |
Aug
(69) |
Sep
(33) |
Oct
(80) |
Nov
(25) |
Dec
(47) |
| 2005 |
Jan
(34) |
Feb
(26) |
Mar
(28) |
Apr
(57) |
May
(53) |
Jun
(59) |
Jul
(42) |
Aug
(25) |
Sep
(26) |
Oct
(33) |
Nov
(20) |
Dec
(2) |
| 2006 |
Jan
(35) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(22) |
Jun
(22) |
Jul
(22) |
Aug
(3) |
Sep
(7) |
Oct
(20) |
Nov
(25) |
Dec
(8) |
| 2007 |
Jan
(44) |
Feb
(26) |
Mar
(24) |
Apr
(34) |
May
(23) |
Jun
(61) |
Jul
(18) |
Aug
(39) |
Sep
(28) |
Oct
(31) |
Nov
(31) |
Dec
(23) |
| 2008 |
Jan
(18) |
Feb
(5) |
Mar
(18) |
Apr
(15) |
May
(17) |
Jun
(18) |
Jul
(13) |
Aug
(10) |
Sep
(71) |
Oct
(25) |
Nov
(5) |
Dec
(14) |
| 2009 |
Jan
(3) |
Feb
(6) |
Mar
(19) |
Apr
(5) |
May
(2) |
Jun
(5) |
Jul
(23) |
Aug
|
Sep
|
Oct
(2) |
Nov
(15) |
Dec
(7) |
| 2010 |
Jan
(5) |
Feb
(6) |
Mar
|
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(16) |
Feb
(24) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
(13) |
Dec
|
| 2012 |
Jan
(17) |
Feb
(14) |
Mar
(14) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(7) |
Oct
(14) |
Nov
(4) |
Dec
(4) |
| 2013 |
Jan
(1) |
Feb
(12) |
Mar
(7) |
Apr
(5) |
May
|
Jun
|
Jul
(1) |
Aug
(21) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(4) |
| 2014 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(27) |
Jun
|
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Mahan, J. L [EQ] <Jan...@Em...> - 2008-09-03 15:26:38
|
Jeff, was there supposed to be a link to this? You can use/modify example/DumpUsers.pl ..
(original question for perl script to get current users from Remedy)
Thanks,
janet
-----Original Message-----
From: ars...@ar... [mailto:ars...@ar...] On Behalf Of ars...@ar...
Sent: Tuesday, September 02, 2008 7:04 PM
To: ars...@ar...
Subject: Arsperl-users Digest, Vol 29, Issue 3
Send Arsperl-users mailing list submissions to
ars...@ar...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/arsperl-users
or, via email, send a message with subject or body 'help' to
ars...@ar...
You can reach the person managing the list at
ars...@ar...
When replying, please edit your Subject line so it is more specific than "Re: Contents of Arsperl-users digest..."
Today's Topics:
1. Re: Perl to get current users (jeff murphy)
2. ARSPerl-1.74 for Remedy 6.3 on Solaris 10 (Pastori, Chuck)
3. Re: ARSPerl-1.74 for Remedy 6.3 on Solaris 10 (jeff murphy)
4. Re: FieldID ? (Paul Wilson)
----------------------------------------------------------------------
Message: 1
Date: Tue, 2 Sep 2008 10:34:36 -0400
From: jeff murphy <jcm...@je...>
Subject: Re: [Arsperl-users] Perl to get current users
To: ARSperl User Discussion <ars...@ar...>
Message-ID: <DB0...@je...>
Content-Type: text/plain; charset="us-ascii"
You can use/modify example/DumpUsers.pl ...
On Sep 2, 2008, at 10:19 AM, Mahan, Janet L [EQ] wrote:
> Has anyone created a perl script to easily get the current users,
> group and license type from Remedy ARS 7x?
>
> Janet
>
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available
------------------------------
Message: 2
Date: Tue, 2 Sep 2008 11:27:44 -0600
From: "Pastori, Chuck" <chu...@gw...>
Subject: [Arsperl-users] ARSPerl-1.74 for Remedy 6.3 on Solaris 10
To: <ars...@ar...>
Message-ID:
<B2E...@IT...>
Content-Type: text/plain; charset="us-ascii"
Hello All,
I'm trying to compile ARSPerl 1.74 on a Solaris 10 box, but get the following error when I enter the "make" command:
cc -c -I/usr/local/apps/csdev/ar/api/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.74\" -DXS_VERSION=\"1.74\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPROFILE -g -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=4 -DPERL_BASEREV_IS=50 ARS.c
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `ARS.o'
Any help would be greatly appreciated. Thanks
Chuck Pastori | Software Systems Engineer Great-West Life | Information Systems
8525 East Orchard Road, 5T3
Greenwood Village, CO 80111
direct: (303) 737-3756
mobile: (303) 507-1915
e-mail: chu...@gw...
The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information.
This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Tue, 2 Sep 2008 14:29:59 -0400
From: jeff murphy <jcm...@je...>
Subject: Re: [Arsperl-users] ARSPerl-1.74 for Remedy 6.3 on Solaris
10
To: ARSperl User Discussion <ars...@ar...>
Message-ID: <47C...@je...>
Content-Type: text/plain; charset="us-ascii"
I'm pretty sure this means you haven't installed SUN's CC (compiler).
On Sep 2, 2008, at 1:27 PM, Pastori, Chuck wrote:
> language optional software package not installed
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available
------------------------------
Message: 4
Date: Wed, 3 Sep 2008 10:03:36 +1100
From: Paul Wilson <pwi...@cs...>
Subject: Re: [Arsperl-users] FieldID ?
To: ARSperl User Discussion <ars...@ar...>
Message-ID:
<OF6...@cs...>
Content-Type: text/plain; charset="us-ascii"
Thanks for the info,
Could I request Jeff to update the example on that page , also can you include a example to retrieve a bunch of fields for display please.
Note I now have the following snippet:
==
%f = ars_GetFieldTable($ctrl, $SCHEMA);
# Retrieve all of the entry-id's for the schema.
( @entries = ars_GetListEntryWithFields(
$ctrl, $SCHEMA, $qual, 10,0,
[
$f{'Trouble Ticket #'},
$f{'Create date'}
],
..
===
which produces:
Use of uninitialized value in subroutine entry at dump_tt.pl line 48.
GLEWF Failed: [ERROR] One of the structures in the list of fields to display in the query list is invalid () (ARERR #214) at dump_tt.pl line 48.
I assume this is because I still don't understand the structure enough..
Is this the best way to retrieve alot of fields from a specific form, ie should I specific each field or just try and get ALL fields ?
I would like to use which ever is more efficent, unless it doesn't matter.
Thanks
Paul Wilson
Richard Hellier <ric...@ho...> Sent by: ars...@ar...
02/09/2008 05:13 PM
Please respond to
ARSperl User Discussion <ars...@ar...>
To
ARSperl User Discussion <ars...@ar...> cc
Subject
Re: [Arsperl-users] FieldID ?
Paul,
Several points:
1) Looks like there is a typo on the page:
http://www.arsperl.org/manual/ars_GetListEntryWithFields.html
in that:
FieldID("foo")
should be:
FieldID{"foo"} etc.
And you need to make the same change in your code.
2) Where does FieldID come from, as you ask? First you must call ars_GetFieldTable(), e.g.
my %FieldID = ars_GetFieldTable($ctrl, $SCHEMA);
FieldID is then a hash whose keys are the names of the fields and the values are the corresponding numeric ids (See
http://www.arsperl.org/manual/ars_GetFieldTable.html)
3) Have you missed one of the arguments to ars_GetListEntryWithFields()?
After the first three arguments ($ctrl, $SCHEMA, $qual in your example), you'd normally have two integer arguments (maxRetrieve, firstRetrieve).
Cheers,
Richard.
To: ars...@ar...
From: pwi...@cs...
Date: Tue, 2 Sep 2008 15:55:45 +1100
Subject: [Arsperl-users] FieldID ?
I'm triying to find the best API to retireve fields from a couple of Forms
I've copied the example for (ars_GetListEntryWithFields) :
http://www.arsperl.org/manual/ars_GetListEntryWithFields.html
but its failing as follows:
ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib dump_tt.pl Undefined subroutine &main::FieldID called at dump_tt.pl line 46.
Here is my snipet of code:
( @entries = ars_GetListEntryWithFields(
$ctrl, $SCHEMA, $qual, 20,
[ FieldID("Trouble Ticket #"),
FieldID("Short Description"),
FieldID("Business Support Group"),
FieldID("Client Company Name"),
FieldID("Create date")
],
FieldID("Create date"), 1 ) )
|| die( "GLEWF Failed: $ars_errstr" );
Is FieldID apart of ARSPerl or inbuilt in another Perl module?
Thanks
Paul
Try Facebook in Windows Live Messenger! Try it Now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
End of Arsperl-users Digest, Vol 29, Issue 3
********************************************
|
|
From: Axton <axt...@gm...> - 2008-09-03 13:38:46
|
Why are you linking to the 64-bit perl libs? "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" Try compiling and linking using a 32-bit perl interpreter. If you look in /usr/perl5/, chances are there are 32-bit and 64-bit perl interpreters available. You can check the flavor by passing the -v option to perl and looking at the first few lines of output, e.g.: This is perl, v5.6.1 built for sun4-solaris-64int This is perl, v5.8.8 built for sun4-solaris This is perl, v5.6.0 built for sun4-solaris-thread-multi Axton Grams On Tue, Sep 2, 2008 at 1:27 PM, Pastori, Chuck <chu...@gw...>wrote: > Hello All, > > I'm trying to compile ARSPerl 1.74 on a Solaris 10 box, but get the > following error when I enter the "make" command: > > cc -c -I/usr/local/apps/csdev/ar/api/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff > -DVERSION=\"1.74\" -DXS_VERSION=\"1.74\" -KPIC > "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPROFILE -g -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=4 -DPERL_BASEREV_IS=50 > ARS.c > /usr/ucb/cc: language optional software package not installed > *** Error code 1 > make: Fatal error: Command failed for target `ARS.o' > > Any help would be greatly appreciated. Thanks > > > > *Chuck Pastori | **Software Systems Engineer** > Great-West Life | **Information Systems* > 8525 East Orchard Road, 5T3 > Greenwood Village, CO 80111 > direct: (303) 737-3756 > mobile: (303) 507-1915 > e-mail: chu...@gw... > > > ------------------------------ > The information contained in this message and any accompanying attachments > may contain privileged, private and/or confidential information protected by > state and federal law. Penalties may be assessed for unauthorized use and/or > disclosure. This message and any attachments are intended for the designated > recipient only. If you have received this information in error, please > notify the sender immediately and return or destroy the information. > > This e-mail transmission and any attachments are believed to have been sent > free of any virus or other defect that might affect any computer system into > which it is received and opened. It is, however, the recipient's > responsibility to ensure that the e-mail transmission and any attachments > are virus free, and the sender accepts no responsibility for any damage that > may in any way arise from their use. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > |
|
From: Axton <axt...@gm...> - 2008-09-03 13:37:51
|
Simply install another instance of perl, a 32-bit version, in another location, then use that perl for all your arsperl stuff. You can download the perl sources from perl.org. You may also want to check whether a 32-bit version of perl is already on your server. The key things are these: - compile arsperl as 32-bit (-m32) - use a 32-bit perl interpreter to load the arsperl pm Axton Grams 2008/9/2 KOBORI Akii <ko...@si...> > What will you do to operate 32bit perl on RHEL5(x86-64)? > > I am glad when I have you teach it. > > > > > I was only able to get it to work with 32 bit perl. > > > > 2008/9/1 KOBORI Akii <ko...@si...> > > > > > I am troubled about next. > > > > > > ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32. > > > compiled success. > > > > > > However, ARS.so module was not loaded. > > > The output error message is as follows. > > > +---------------------------------------+ > > > Can't load > > > > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so > > > ' for module ARS: > > > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so: > > > wrong ELF class: ELFCLASS32 at > > > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line > 230. > > > at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm > > > line 56 > > > Compilation failed in require at > > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm > line > > > 56. > > > +---------------------------------------+ > > > > > > Please, I want you to teach a method to load(operate) ARS.so module. > > > > > > Regards > > > > > > > > > > This is what I wrote some months ago to someone else (Geoffrey > Endresen) > > > > who appeared to have the same problem: > > > > > > > > ---------------------- > > > > > > > > I don't have any experience with 64 bit systems so I can only take a > > > > guess here. To me, the situation looks as follows: > > > > > > > > The Remedy API libraries are 32 bit, so ARSperl has to be compiled > with > > > > -m32. > > > > > > > > Your Perl interpreter is 64 bit, so ARSperl would also have to be > > > > compiled as 64 bit, which of course collides with the condition > above. > > > > > > > > A possible solution might be to compile a Perl interpreter with -m32 > and > > > > use that one for ARSperl. > > > > > > > > ---------------------- > > > > > > > > He replied that he would try that, but I don't know if he was > successful. > > > > > > > > > > > > Regards > > > > Thilo > > > > > > > > > > > > > > > > wil...@em... wrote: > > > > > Hi, > > > > > > > > > > > > > > > > > > > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 > system. > > > > > When I run make, it fails with the following error: > > > > > > > > > > > > > > > > > > > > [root@citadel ARSperl-1.91]# make > > > > > > > > > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > > > > > > > > > > cp ARSnparm.pm blib/lib/ARSnparm.pm > > > > > > > > > > cp artypes.ph blib/lib/artypes.ph > > > > > > > > > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph > > > > > > > > > > cp ARSar-h.pm blib/lib/ARSar-h.pm > > > > > > > > > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm > > > > > > > > > > cp ARSnt-h.pm blib/lib/ARSnt-h.pm > > > > > > > > > > cp ARSOOsup.pm blib/lib/ARSOOsup.pm > > > > > > > > > > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm > > > > > > > > > > cp ARSOOform.pm blib/lib/ARSOOform.pm > > > > > > > > > > cp ARS.pm blib/lib/ARS.pm > > > > > > > > > > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > > > > > > > > > > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap > > > > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > > > > ARS.xsc > > > > > && mv ARS.xsc ARS.c > > > > > > > > > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT > > > > > -D_GNU_SOURCE -fno-strict-aliasing -pipe > -Wdeclaration-after-statement > > > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > > > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > > > > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > > > > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > > > > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g > > > > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 > -malign-double > > > > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > > > ARS.c > > > > > > > > > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode > > > > > > > > > > make: *** [ARS.o] Error 1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I致e tried the two solutions below which were in response to a post > by > > > > > Chris Ford on 5/15/08. Neither worked. > > > > > > > > > > > > > > > > > > > > Solution 1: > > > > > > > > > > You can run both 32-bit and 64-bit programs on 64-bit linux. > Compile > > > > > arsperl 32-bit by setting the CPPFLAGS to include -m32: > > > > > > > > > > $ export CPPFLAGS="${CPPFLAGS} -m32" > > > > > > > > > > Axton Grams > > > > > > > > > > Solution 2: > > > > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya. > ..> > > > wrote: > > > > >> Chris, > > > > >> > > > > >> In the Makefile you could remove references to "-malign-double" > which > > > > > seems to be causing your problem. That may fix that problem but the > > > fact > > > > > you're compiling on a 64 bit system might cause other issues. Last > I > > > > > heard the Remedy libraries are only available as 32 bit libraries. > I > > > > > never had luck compiling ARSPerl on a 64 bit system. But perhaps > that's > > > > > changed. > > > > >> > > > > >> Rusty > > > > >> > > > > > > > > > > > > > > > > > > > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system? > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > --Wayne > > > > > -- > > -Geoff Endresen > > Amazon.com > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Richard H. <ric...@ho...> - 2008-09-03 08:53:54
|
Paul,
One thing to beware is that the keys of the hash GFT returns (%f in your example) are the *internal* names of the fields and may not match the names shown in the GUI (e.g. sometimes you might have a field shown as "Ticket Number" externally and "Ticket #" internally). SO -- I suggest you dump the contents of the hash that GFT returns (using Data::Dumper for example) to find the "real" names of the fields you need.
Good Luck!
Richard.
To: ars...@ar...: pwi...@cs...: Wed, 3 Sep 2008 10:03:36 +1100Subject: Re: [Arsperl-users] FieldID ?Thanks for the info, Could I request Jeff to update the example on that page , also can you include a example to retrieve a bunch of fields for display please. Note I now have the following snippet: == %f = ars_GetFieldTable($ctrl, $SCHEMA); # Retrieve all of the entry-id's for the schema. ( @entries = ars_GetListEntryWithFields( $ctrl, $SCHEMA, $qual, 10,0, [ $f{'Trouble Ticket #'}, $f{'Create date'} ], .. === which produces: Use of uninitialized value in subroutine entry at dump_tt.pl line 48. GLEWF Failed: [ERROR] One of the structures in the list of fields to display in the query list is invalid () (ARERR #214) at dump_tt.pl line 48. I assume this is because I still don't understand the structure enough.. Is this the best way to retrieve alot of fields from a specific form, ie should I specific each field or just try and get ALL fields ? I would like to use which ever is more efficent, unless it doesn't matter. Thanks Paul Wilson
Richard Hellier <ric...@ho...> Sent by: ars...@ar...
02/09/2008 05:13 PM
Please respond toARSperl User Discussion <ars...@ar...>
To
ARSperl User Discussion <ars...@ar...>
cc
Subject
Re: [Arsperl-users] FieldID ?
Paul,Several points:1) Looks like there is a typo on the page:http://www.arsperl.org/manual/ars_GetListEntryWithFields.html in that:FieldID("foo")should be:FieldID{"foo"} etc.And you need to make the same change in your code.2) Where does FieldID come from, as you ask? First you must call ars_GetFieldTable(), e.g.my %FieldID = ars_GetFieldTable($ctrl, $SCHEMA);FieldID is then a hash whose keys are the names of the fields and the values are the corresponding numeric ids (See http://www.arsperl.org/manual/ars_GetFieldTable.html)3) Have you missed one of the arguments to ars_GetListEntryWithFields()? After the first three arguments ($ctrl, $SCHEMA, $qual in your example), you'd normally have two integer arguments (maxRetrieve, firstRetrieve).Cheers,Richard.
To: ars...@ar...: pwi...@cs...: Tue, 2 Sep 2008 15:55:45 +1100Subject: [Arsperl-users] FieldID ?I'm triying to find the best API to retireve fields from a couple of Forms I've copied the example for (ars_GetListEntryWithFields) : http://www.arsperl.org/manual/ars_GetListEntryWithFields.html but its failing as follows: ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib dump_tt.pl Undefined subroutine &main::FieldID called at dump_tt.pl line 46. Here is my snipet of code: ( @entries = ars_GetListEntryWithFields( $ctrl, $SCHEMA, $qual, 20, [ FieldID("Trouble Ticket #"), FieldID("Short Description"), FieldID("Business Support Group"), FieldID("Client Company Name"), FieldID("Create date") ], FieldID("Create date"), 1 ) ) || die( "GLEWF Failed: $ars_errstr" ); Is FieldID apart of ARSPerl or inbuilt in another Perl module? Thanks Paul
Try Facebook in Windows Live Messenger! Try it Now!-------------------------------------------------------------------------This SF.Net email is sponsored by the Moblin Your Move Developer's challengeBuild the coolest Linux based applications with Moblin SDK & win great prizesGrand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________Arsperl-users mailing lis...@ar...://lists.sourceforge.net/lists/listinfo/arsperl-users
_________________________________________________________________
Make a mini you and download it into Windows Live Messenger
http://clk.atdmt.com/UKM/go/111354029/direct/01/ |
|
From: Paul W. <pwi...@cs...> - 2008-09-02 23:03:44
|
Thanks for the info,
Could I request Jeff to update the example on that page , also can you
include a example to retrieve a bunch of fields for display please.
Note I now have the following snippet:
==
%f = ars_GetFieldTable($ctrl, $SCHEMA);
# Retrieve all of the entry-id's for the schema.
( @entries = ars_GetListEntryWithFields(
$ctrl, $SCHEMA, $qual, 10,0,
[
$f{'Trouble Ticket #'},
$f{'Create date'}
],
..
===
which produces:
Use of uninitialized value in subroutine entry at dump_tt.pl line 48.
GLEWF Failed: [ERROR] One of the structures in the list of fields to
display in the query list is invalid () (ARERR #214) at dump_tt.pl line
48.
I assume this is because I still don't understand the structure enough..
Is this the best way to retrieve alot of fields from a specific form, ie
should I specific each field or just try and get ALL fields ?
I would like to use which ever is more efficent, unless it doesn't matter.
Thanks
Paul Wilson
Richard Hellier <ric...@ho...>
Sent by: ars...@ar...
02/09/2008 05:13 PM
Please respond to
ARSperl User Discussion <ars...@ar...>
To
ARSperl User Discussion <ars...@ar...>
cc
Subject
Re: [Arsperl-users] FieldID ?
Paul,
Several points:
1) Looks like there is a typo on the page:
http://www.arsperl.org/manual/ars_GetListEntryWithFields.html
in that:
FieldID("foo")
should be:
FieldID{"foo"} etc.
And you need to make the same change in your code.
2) Where does FieldID come from, as you ask? First you must call
ars_GetFieldTable(), e.g.
my %FieldID = ars_GetFieldTable($ctrl, $SCHEMA);
FieldID is then a hash whose keys are the names of the fields and the
values are the corresponding numeric ids (See
http://www.arsperl.org/manual/ars_GetFieldTable.html)
3) Have you missed one of the arguments to ars_GetListEntryWithFields()?
After the first three arguments ($ctrl, $SCHEMA, $qual in your example),
you'd normally have two integer arguments (maxRetrieve, firstRetrieve).
Cheers,
Richard.
To: ars...@ar...
From: pwi...@cs...
Date: Tue, 2 Sep 2008 15:55:45 +1100
Subject: [Arsperl-users] FieldID ?
I'm triying to find the best API to retireve fields from a couple of Forms
I've copied the example for (ars_GetListEntryWithFields) :
http://www.arsperl.org/manual/ars_GetListEntryWithFields.html
but its failing as follows:
ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib dump_tt.pl
Undefined subroutine &main::FieldID called at dump_tt.pl line 46.
Here is my snipet of code:
( @entries = ars_GetListEntryWithFields(
$ctrl, $SCHEMA, $qual, 20,
[ FieldID("Trouble Ticket #"),
FieldID("Short Description"),
FieldID("Business Support Group"),
FieldID("Client Company Name"),
FieldID("Create date")
],
FieldID("Create date"), 1 ) )
|| die( "GLEWF Failed: $ars_errstr" );
Is FieldID apart of ARSPerl or inbuilt in another Perl module?
Thanks
Paul
Try Facebook in Windows Live Messenger! Try it Now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Pastori, C. <chu...@gw...> - 2008-09-02 18:23:03
|
Hello All, I'm trying to compile ARSPerl 1.74 on a Solaris 10 box, but get the following error when I enter the "make" command: cc -c -I/usr/local/apps/csdev/ar/api/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.74\" -DXS_VERSION=\"1.74\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPROFILE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=4 -DPERL_BASEREV_IS=50 ARS.c /usr/ucb/cc: language optional software package not installed *** Error code 1 make: Fatal error: Command failed for target `ARS.o' Any help would be greatly appreciated. Thanks Chuck Pastori | Software Systems Engineer Great-West Life | Information Systems 8525 East Orchard Road, 5T3 Greenwood Village, CO 80111 direct: (303) 737-3756 mobile: (303) 507-1915 e-mail: chu...@gw... The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. |
|
From: Mahan, J. L [EQ] <Jan...@Em...> - 2008-09-02 14:19:55
|
Has anyone created a perl script to easily get the current users, group and license type from Remedy ARS 7x? Janet |
|
From: KOBORI A. <ko...@si...> - 2008-09-02 07:46:31
|
What will you do to operate 32bit perl on RHEL5(x86-64)?
I am glad when I have you teach it.
> I was only able to get it to work with 32 bit perl.
>
> 2008/9/1 KOBORI Akii <ko...@si...>
>
> > I am troubled about next.
> >
> > ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
> > compiled success.
> >
> > However, ARS.so module was not loaded.
> > The output error message is as follows.
> > +---------------------------------------+
> > Can't load
> > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
> > ' for module ARS:
> > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
> > wrong ELF class: ELFCLASS32 at
> > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> > at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
> > line 56
> > Compilation failed in require at
> > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
> > 56.
> > +---------------------------------------+
> >
> > Please, I want you to teach a method to load(operate) ARS.so module.
> >
> > Regards
> >
> >
> > > This is what I wrote some months ago to someone else (Geoffrey Endresen)
> > > who appeared to have the same problem:
> > >
> > > ----------------------
> > >
> > > I don't have any experience with 64 bit systems so I can only take a
> > > guess here. To me, the situation looks as follows:
> > >
> > > The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> > > -m32.
> > >
> > > Your Perl interpreter is 64 bit, so ARSperl would also have to be
> > > compiled as 64 bit, which of course collides with the condition above.
> > >
> > > A possible solution might be to compile a Perl interpreter with -m32 and
> > > use that one for ARSperl.
> > >
> > > ----------------------
> > >
> > > He replied that he would try that, but I don't know if he was successful.
> > >
> > >
> > > Regards
> > > Thilo
> > >
> > >
> > >
> > > wil...@em... wrote:
> > > > Hi,
> > > >
> > > >
> > > >
> > > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > > > When I run make, it fails with the following error:
> > > >
> > > >
> > > >
> > > > [root@citadel ARSperl-1.91]# make
> > > >
> > > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> > > >
> > > > cp ARSnparm.pm blib/lib/ARSnparm.pm
> > > >
> > > > cp artypes.ph blib/lib/artypes.ph
> > > >
> > > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> > > >
> > > > cp ARSar-h.pm blib/lib/ARSar-h.pm
> > > >
> > > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> > > >
> > > > cp ARSnt-h.pm blib/lib/ARSnt-h.pm
> > > >
> > > > cp ARSOOsup.pm blib/lib/ARSOOsup.pm
> > > >
> > > > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
> > > >
> > > > cp ARSOOform.pm blib/lib/ARSOOform.pm
> > > >
> > > > cp ARS.pm blib/lib/ARS.pm
> > > >
> > > > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
> > > >
> > > > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs >
> > ARS.xsc
> > > > && mv ARS.xsc ARS.c
> > > >
> > > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > > > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
> > ARS.c
> > > >
> > > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> > > >
> > > > make: *** [ARS.o] Error 1
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I致e tried the two solutions below which were in response to a post by
> > > > Chris Ford on 5/15/08. Neither worked.
> > > >
> > > >
> > > >
> > > > Solution 1:
> > > >
> > > > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > > > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> > > >
> > > > $ export CPPFLAGS="${CPPFLAGS} -m32"
> > > >
> > > > Axton Grams
> > > >
> > > > Solution 2:
> > > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
> > wrote:
> > > >> Chris,
> > > >>
> > > >> In the Makefile you could remove references to "-malign-double" which
> > > > seems to be causing your problem. That may fix that problem but the
> > fact
> > > > you're compiling on a 64 bit system might cause other issues. Last I
> > > > heard the Remedy libraries are only available as 32 bit libraries. I
> > > > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > > > changed.
> > > >>
> > > >> Rusty
> > > >>
> > > >
> > > >
> > > >
> > > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > > > --Wayne
> >
> --
> -Geoff Endresen
> Amazon.com
|
|
From: Richard H. <ric...@ho...> - 2008-09-02 07:19:06
|
Paul, Several points: 1) Looks like there is a typo on the page: http://www.arsperl.org/manual/ars_GetListEntryWithFields.html in that: FieldID("foo") should be: FieldID{"foo"} etc. And you need to make the same change in your code. 2) Where does FieldID come from, as you ask? First you must call ars_GetFieldTable(), e.g. my %FieldID = ars_GetFieldTable($ctrl, $SCHEMA); FieldID is then a hash whose keys are the names of the fields and the values are the corresponding numeric ids (See http://www.arsperl.org/manual/ars_GetFieldTable.html) 3) Have you missed one of the arguments to ars_GetListEntryWithFields()? After the first three arguments ($ctrl, $SCHEMA, $qual in your example), you'd normally have two integer arguments (maxRetrieve, firstRetrieve). Cheers, Richard. To: ars...@ar...: pwi...@cs...: Tue, 2 Sep 2008 15:55:45 +1100Subject: [Arsperl-users] FieldID ?I'm triying to find the best API to retireve fields from a couple of Forms I've copied the example for (ars_GetListEntryWithFields) : http://www.arsperl.org/manual/ars_GetListEntryWithFields.html but its failing as follows: ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib dump_tt.pl Undefined subroutine &main::FieldID called at dump_tt.pl line 46. Here is my snipet of code: ( @entries = ars_GetListEntryWithFields( $ctrl, $SCHEMA, $qual, 20, [ FieldID("Trouble Ticket #"), FieldID("Short Description"), FieldID("Business Support Group"), FieldID("Client Company Name"), FieldID("Create date") ], FieldID("Create date"), 1 ) ) || die( "GLEWF Failed: $ars_errstr" ); Is FieldID apart of ARSPerl or inbuilt in another Perl module? Thanks Paul _________________________________________________________________ Make a mini you and download it into Windows Live Messenger http://clk.atdmt.com/UKM/go/111354029/direct/01/ |
|
From: Paul W. <pwi...@cs...> - 2008-09-02 05:02:36
|
I'm triying to find the best API to retireve fields from a couple of Forms I've copied the example for (ars_GetListEntryWithFields) : http://www.arsperl.org/manual/ars_GetListEntryWithFields.html but its failing as follows: ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib dump_tt.pl Undefined subroutine &main::FieldID called at dump_tt.pl line 46. Here is my snipet of code: ( @entries = ars_GetListEntryWithFields( $ctrl, $SCHEMA, $qual, 20, [ FieldID("Trouble Ticket #"), FieldID("Short Description"), FieldID("Business Support Group"), FieldID("Client Company Name"), FieldID("Create date") ], FieldID("Create date"), 1 ) ) || die( "GLEWF Failed: $ars_errstr" ); Is FieldID apart of ARSPerl or inbuilt in another Perl module? Thanks Paul |
|
From: Geoffrey E. <geo...@gm...> - 2008-09-02 04:28:54
|
I was only able to get it to work with 32 bit perl.
2008/9/1 KOBORI Akii <ko...@si...>
> I am troubled about next.
>
> ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
> compiled success.
>
> However, ARS.so module was not loaded.
> The output error message is as follows.
> +---------------------------------------+
> Can't load
> '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
> ' for module ARS:
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
> wrong ELF class: ELFCLASS32 at
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
> line 56
> Compilation failed in require at
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
> 56.
> +---------------------------------------+
>
> Please, I want you to teach a method to load(operate) ARS.so module.
>
> Regards
>
>
> > This is what I wrote some months ago to someone else (Geoffrey Endresen)
> > who appeared to have the same problem:
> >
> > ----------------------
> >
> > I don't have any experience with 64 bit systems so I can only take a
> > guess here. To me, the situation looks as follows:
> >
> > The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> > -m32.
> >
> > Your Perl interpreter is 64 bit, so ARSperl would also have to be
> > compiled as 64 bit, which of course collides with the condition above.
> >
> > A possible solution might be to compile a Perl interpreter with -m32 and
> > use that one for ARSperl.
> >
> > ----------------------
> >
> > He replied that he would try that, but I don't know if he was successful.
> >
> >
> > Regards
> > Thilo
> >
> >
> >
> > wil...@em... wrote:
> > > Hi,
> > >
> > >
> > >
> > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > > When I run make, it fails with the following error:
> > >
> > >
> > >
> > > [root@citadel ARSperl-1.91]# make
> > >
> > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> > >
> > > cp ARSnparm.pm blib/lib/ARSnparm.pm
> > >
> > > cp artypes.ph blib/lib/artypes.ph
> > >
> > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> > >
> > > cp ARSar-h.pm blib/lib/ARSar-h.pm
> > >
> > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> > >
> > > cp ARSnt-h.pm blib/lib/ARSnt-h.pm
> > >
> > > cp ARSOOsup.pm blib/lib/ARSOOsup.pm
> > >
> > > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
> > >
> > > cp ARSOOform.pm blib/lib/ARSOOform.pm
> > >
> > > cp ARS.pm blib/lib/ARS.pm
> > >
> > > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
> > >
> > > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs >
> ARS.xsc
> > > && mv ARS.xsc ARS.c
> > >
> > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
> ARS.c
> > >
> > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> > >
> > > make: *** [ARS.o] Error 1
> > >
> > >
> > >
> > >
> > >
> > > I致e tried the two solutions below which were in response to a post by
> > > Chris Ford on 5/15/08. Neither worked.
> > >
> > >
> > >
> > > Solution 1:
> > >
> > > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> > >
> > > $ export CPPFLAGS="${CPPFLAGS} -m32"
> > >
> > > Axton Grams
> > >
> > > Solution 2:
> > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
> wrote:
> > >> Chris,
> > >>
> > >> In the Makefile you could remove references to "-malign-double" which
> > > seems to be causing your problem. That may fix that problem but the
> fact
> > > you're compiling on a 64 bit system might cause other issues. Last I
> > > heard the Remedy libraries are only available as 32 bit libraries. I
> > > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > > changed.
> > >>
> > >> Rusty
> > >>
> > >
> > >
> > >
> > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > > --Wayne
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
--
-Geoff Endresen
Amazon.com
|
|
From: KOBORI A. <ko...@si...> - 2008-09-02 03:59:48
|
I am troubled about next.
ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
compiled success.
However, ARS.so module was not loaded.
The output error message is as follows.
+---------------------------------------+
Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
' for module ARS:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
wrong ELF class: ELFCLASS32 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
line 56
Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
56.
+---------------------------------------+
Please, I want you to teach a method to load(operate) ARS.so module.
Regards
> This is what I wrote some months ago to someone else (Geoffrey Endresen)
> who appeared to have the same problem:
>
> ----------------------
>
> I don't have any experience with 64 bit systems so I can only take a
> guess here. To me, the situation looks as follows:
>
> The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> -m32.
>
> Your Perl interpreter is 64 bit, so ARSperl would also have to be
> compiled as 64 bit, which of course collides with the condition above.
>
> A possible solution might be to compile a Perl interpreter with -m32 and
> use that one for ARSperl.
>
> ----------------------
>
> He replied that he would try that, but I don't know if he was successful.
>
>
> Regards
> Thilo
>
>
>
> wil...@em... wrote:
> > Hi,
> >
> >
> >
> > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > When I run make, it fails with the following error:
> >
> >
> >
> > [root@citadel ARSperl-1.91]# make
> >
> > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> >
> > cp ARSnparm.pm blib/lib/ARSnparm.pm
> >
> > cp artypes.ph blib/lib/artypes.ph
> >
> > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> >
> > cp ARSar-h.pm blib/lib/ARSar-h.pm
> >
> > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> >
> > cp ARSnt-h.pm blib/lib/ARSnt-h.pm
> >
> > cp ARSOOsup.pm blib/lib/ARSOOsup.pm
> >
> > cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
> >
> > cp ARSOOform.pm blib/lib/ARSOOform.pm
> >
> > cp ARS.pm blib/lib/ARS.pm
> >
> > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
> >
> > /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
> > && mv ARS.xsc ARS.c
> >
> > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c
> >
> > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> >
> > make: *** [ARS.o] Error 1
> >
> >
> >
> >
> >
> > I致e tried the two solutions below which were in response to a post by
> > Chris Ford on 5/15/08. Neither worked.
> >
> >
> >
> > Solution 1:
> >
> > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> >
> > $ export CPPFLAGS="${CPPFLAGS} -m32"
> >
> > Axton Grams
> >
> > Solution 2:
> > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...> wrote:
> >> Chris,
> >>
> >> In the Makefile you could remove references to "-malign-double" which
> > seems to be causing your problem. That may fix that problem but the fact
> > you're compiling on a 64 bit system might cause other issues. Last I
> > heard the Remedy libraries are only available as 32 bit libraries. I
> > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > changed.
> >>
> >> Rusty
> >>
> >
> >
> >
> > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> >
> >
> >
> > Thanks
> >
> >
> >
> > --Wayne
|
|
From: Paul W. <pwi...@cs...> - 2008-09-01 04:01:06
|
Despite the failures in the "make test" I have established that the module
is retrieving data from the Remedy 4.52 system
So I will try to install perl modules now.
Paul
Paul Wilson <pwi...@cs...>
Sent by: ars...@ar...
01/09/2008 10:37 AM
Please respond to
ARSperl User Discussion <ars...@ar...>
To
ARSperl User Discussion <ars...@ar...>
cc
Subject
Re: [Arsperl-users] make problem on sunos
I am trying ARSperl 1.82 with my AR 4.52 library again.
After changing password which had a "@" which was causing the test to fail
so I change double quote to single quote
now I get the following test output:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/00connect.........ok
t/01import..........NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02export..........Use of uninitialized value in subroutine entry at
t/02export.t line 30.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
t/02export..........ok
t/09qualifier.......NOK 4FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/10alink...........NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10entry...........not ok ([ERROR] Form does not exist on server (ARSperl
Test) (ARERR #303))
t/10entry...........dubious
Test returned status 255 (wstat 65280, 0xff00)
Prototype mismatch: sub Test::Harness::_LARGEFILE_SOURCE vs () at (eval
25) line 1.
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/10getescalation...NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10getftinfo.......ok
t/10getlist.........Can't locate Test/More.pm in @INC (@INC contains:
blib/arch blib/lib /usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
t/10getlist.t line 7.
BEGIN failed--compilation aborted at t/10getlist.t line 7.
t/10getlist.........dubious
Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/local/lib/perl5/5.6.0/Test/Harness.pm line 334.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
So alot of tests are failing but will this affect my requirement to search
and display a trouble ticket form?
Thanks
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Paul W. <pwi...@cs...> - 2008-09-01 00:37:20
|
I am trying ARSperl 1.82 with my AR 4.52 library again.
After changing password which had a "@" which was causing the test to fail
so I change double quote to single quote
now I get the following test output:
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/00connect.........ok
t/01import..........NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02export..........Use of uninitialized value in subroutine entry at
t/02export.t line 30.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
t/02export..........ok
t/09qualifier.......NOK 4FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/10alink...........NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10entry...........not ok ([ERROR] Form does not exist on server (ARSperl
Test) (ARERR #303))
t/10entry...........dubious
Test returned status 255 (wstat 65280, 0xff00)
Prototype mismatch: sub Test::Harness::_LARGEFILE_SOURCE vs () at (eval
25) line 1.
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/10getescalation...NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10getftinfo.......ok
t/10getlist.........Can't locate Test/More.pm in @INC (@INC contains:
blib/arch blib/lib /usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.6.0/sun4-solaris /usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at
t/10getlist.t line 7.
BEGIN failed--compilation aborted at t/10getlist.t line 7.
t/10getlist.........dubious
Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/local/lib/perl5/5.6.0/Test/Harness.pm line 334.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
So alot of tests are failing but will this affect my requirement to search
and display a trouble ticket form?
Thanks |
|
From: Paul W. <pwi...@cs...> - 2008-08-31 22:52:17
|
Thanks for the reply,
I've tried 1.83 but no luck so I will try download V6 libraries and see
if I can get that to work
note here is the output for the 1.83 compile/make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -e
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/00connect.........NOK 3FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/01import..........NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02export..........NOK 1FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/09qualifier.......Use of uninitialized value in subroutine entry at
t/09qualifier.t line 30.
ctrl is not of type ARControlStructPtr at t/09qualifier.t line 30.
t/09qualifier.......dubious
Test returned status 35 (wstat 8960, 0x2300)
Prototype mismatch: sub Test::Harness::_LARGEFILE_SOURCE vs () at (eval
25) line 1.
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/10alink...........NOK 1FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/10entry...........not ok ([ERROR] Cannot establish a network connection
to the AR System server (make test : RPC: Unknown host) (ARERR #90))
t/10entry...........dubious
Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/local/lib/perl5/5.6.0/Test/Harness.pm line 334.
*** Error code 255
make: Fatal error: Command failed for target `test_dynamic'
Paul
"Michiel Beijen" <mic...@gm...>
Sent by: ars...@ar...
29/08/2008 08:30 PM
Please respond to
ARSperl User Discussion <ars...@ar...>
To
"ARSperl User Discussion" <ars...@ar...>
cc
Subject
Re: [Arsperl-users] make problem on sunos
Paul,
I guess ARSperl 1.91 will only compile properly using Remedy 5.1.2
libraries or higher.
You have two options: The first option is to download and build with
an older version of ARSPerl such as 1.74 or 1.83; they are available
from the SourceForce website at
http://sourceforge.net/project/showfiles.php?group_id=116013&package_id=125945
. The second option is to compile ARSperl 1.91 against for instance
the AR 6.3 libraries. The newer libraries are available from
http://arswiki.org/projects/arapi/downloads . You should be able to
log in to older servers with newer libraries. Only the 'newer' calls
like ARImpersonateUser will not work against an older AR server.
Regards,
Michiel Beijen
On Fri, Aug 29, 2008 at 2:57 AM, Paul Wilson <pwi...@cs...> wrote:
>
> I'm trying to compile on SunOS for a Remedy 4.5.2 system with
ARSperl-1.91
> I'm getting the folllowing errors on
> make test
>
> In file included from ARS.xs:28:
> supportrev_generated.h:66: parse error before `ARCharMenuDDFieldStruct'
> supportrev_generated.h:69: parse error before `ARCharMenuDDFormStruct'
> supportrev_generated.h:72: parse error before `ARCharMenuDDStruct'
> supportrev_generated.h:87: parse error before `ARCharMenuSSStruct'
> supportrev_generated.h:102: parse error before `ARCompoundSchemaList'
> supportrev_generated.h:108: parse error before `ARContainerOwnerObjList'
> supportrev_generated.h:259: parse error before `ARQualifierList'
> ARS.xs: In function `XS_ARS_ars_GetActiveLink':
> ARS.xs:1369: `ARAccessNameType' undeclared (first use in this function)
> ARS.xs:1369: (Each undeclared identifier is reported only once
> ARS.xs:1369: for each function it appears in.)
> ARS.xs:1369: parse error before `owner'
> ARS.xs:1381: `owner' undeclared (first use in this function)
> ARS.xs:1382: `lastChanged' undeclared (first use in this function)
> ARS.xs: In function `XS_ARS_ars_GetFilter':
> ...
> a whole bunch more errors like this
> ARS.xs:2110: `ARAccessNameType' undeclared (first use in this function)
> ARS.xs:2110: parse error before `owner'
> ARS.xs:2126: `owner' undeclared (first use in this function)
> ..
>
>
> Paul
>
-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Thilo S. <thi...@ap...> - 2008-08-29 13:20:28
|
This is what I wrote some months ago to someone else (Geoffrey Endresen)
who appeared to have the same problem:
----------------------
I don't have any experience with 64 bit systems so I can only take a
guess here. To me, the situation looks as follows:
The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
-m32.
Your Perl interpreter is 64 bit, so ARSperl would also have to be
compiled as 64 bit, which of course collides with the condition above.
A possible solution might be to compile a Perl interpreter with -m32 and
use that one for ARSperl.
----------------------
He replied that he would try that, but I don't know if he was successful.
Regards
Thilo
wil...@em... wrote:
> Hi,
>
>
>
> I’m trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> When I run make, it fails with the following error:
>
>
>
> [root@citadel ARSperl-1.91]# make
>
> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
>
> cp ARSnparm.pm blib/lib/ARSnparm.pm
>
> cp artypes.ph blib/lib/artypes.ph
>
> cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
>
> cp ARSar-h.pm blib/lib/ARSar-h.pm
>
> cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
>
> cp ARSnt-h.pm blib/lib/ARSnt-h.pm
>
> cp ARSOOsup.pm blib/lib/ARSOOsup.pm
>
> cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
>
> cp ARSOOform.pm blib/lib/ARSOOform.pm
>
> cp ARS.pm blib/lib/ARS.pm
>
> AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
>
> /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
> && mv ARS.xsc ARS.c
>
> gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c
>
> ARS.c:1: error: -malign-double makes no sense in the 64bit mode
>
> make: *** [ARS.o] Error 1
>
>
>
>
>
> I’ve tried the two solutions below which were in response to a post by
> Chris Ford on 5/15/08. Neither worked.
>
>
>
> Solution 1:
>
> You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> arsperl 32-bit by setting the CPPFLAGS to include -m32:
>
> $ export CPPFLAGS="${CPPFLAGS} -m32"
>
> Axton Grams
>
> Solution 2:
> On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...> wrote:
>> Chris,
>>
>> In the Makefile you could remove references to "-malign-double" which
> seems to be causing your problem. That may fix that problem but the fact
> you're compiling on a 64 bit system might cause other issues. Last I
> heard the Remedy libraries are only available as 32 bit libraries. I
> never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> changed.
>>
>> Rusty
>>
>
>
>
> Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
>
>
>
> Thanks
>
>
>
> --Wayne
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Michiel B. <mic...@gm...> - 2008-08-29 10:58:27
|
Paul, I guess ARSperl 1.91 will only compile properly using Remedy 5.1.2 libraries or higher. You have two options: The first option is to download and build with an older version of ARSPerl such as 1.74 or 1.83; they are available from the SourceForce website at http://sourceforge.net/project/showfiles.php?group_id=116013&package_id=125945 . The second option is to compile ARSperl 1.91 against for instance the AR 6.3 libraries. The newer libraries are available from http://arswiki.org/projects/arapi/downloads . You should be able to log in to older servers with newer libraries. Only the 'newer' calls like ARImpersonateUser will not work against an older AR server. Regards, Michiel Beijen On Fri, Aug 29, 2008 at 2:57 AM, Paul Wilson <pwi...@cs...> wrote: > > I'm trying to compile on SunOS for a Remedy 4.5.2 system with ARSperl-1.91 > I'm getting the folllowing errors on > make test > > In file included from ARS.xs:28: > supportrev_generated.h:66: parse error before `ARCharMenuDDFieldStruct' > supportrev_generated.h:69: parse error before `ARCharMenuDDFormStruct' > supportrev_generated.h:72: parse error before `ARCharMenuDDStruct' > supportrev_generated.h:87: parse error before `ARCharMenuSSStruct' > supportrev_generated.h:102: parse error before `ARCompoundSchemaList' > supportrev_generated.h:108: parse error before `ARContainerOwnerObjList' > supportrev_generated.h:259: parse error before `ARQualifierList' > ARS.xs: In function `XS_ARS_ars_GetActiveLink': > ARS.xs:1369: `ARAccessNameType' undeclared (first use in this function) > ARS.xs:1369: (Each undeclared identifier is reported only once > ARS.xs:1369: for each function it appears in.) > ARS.xs:1369: parse error before `owner' > ARS.xs:1381: `owner' undeclared (first use in this function) > ARS.xs:1382: `lastChanged' undeclared (first use in this function) > ARS.xs: In function `XS_ARS_ars_GetFilter': > ... > a whole bunch more errors like this > ARS.xs:2110: `ARAccessNameType' undeclared (first use in this function) > ARS.xs:2110: parse error before `owner' > ARS.xs:2126: `owner' undeclared (first use in this function) > .. > > > Paul > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > |
|
From: Paul W. <pwi...@cs...> - 2008-08-29 00:58:14
|
I'm trying to compile on SunOS for a Remedy 4.5.2 system with ARSperl-1.91 I'm getting the folllowing errors on make test In file included from ARS.xs:28: supportrev_generated.h:66: parse error before `ARCharMenuDDFieldStruct' supportrev_generated.h:69: parse error before `ARCharMenuDDFormStruct' supportrev_generated.h:72: parse error before `ARCharMenuDDStruct' supportrev_generated.h:87: parse error before `ARCharMenuSSStruct' supportrev_generated.h:102: parse error before `ARCompoundSchemaList' supportrev_generated.h:108: parse error before `ARContainerOwnerObjList' supportrev_generated.h:259: parse error before `ARQualifierList' ARS.xs: In function `XS_ARS_ars_GetActiveLink': ARS.xs:1369: `ARAccessNameType' undeclared (first use in this function) ARS.xs:1369: (Each undeclared identifier is reported only once ARS.xs:1369: for each function it appears in.) ARS.xs:1369: parse error before `owner' ARS.xs:1381: `owner' undeclared (first use in this function) ARS.xs:1382: `lastChanged' undeclared (first use in this function) ARS.xs: In function `XS_ARS_ars_GetFilter': ... a whole bunch more errors like this ARS.xs:2110: `ARAccessNameType' undeclared (first use in this function) ARS.xs:2110: parse error before `owner' ARS.xs:2126: `owner' undeclared (first use in this function) .. Paul |
|
From: <wil...@em...> - 2008-08-28 20:45:46
|
Hi,
I'm trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
When I run make, it fails with the following error:
[root@citadel ARSperl-1.91]# make
cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
cp ARSnparm.pm blib/lib/ARSnparm.pm
cp artypes.ph blib/lib/artypes.ph
cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
cp ARSar-h.pm blib/lib/ARSar-h.pm
cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
cp ARSnt-h.pm blib/lib/ARSnt-h.pm
cp ARSOOsup.pm blib/lib/ARSOOsup.pm
cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
cp ARSOOform.pm blib/lib/ARSOOform.pm
cp ARS.pm blib/lib/ARS.pm
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
&& mv ARS.xsc ARS.c
gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
-Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
ARS.c
ARS.c:1: error: -malign-double makes no sense in the 64bit mode
make: *** [ARS.o] Error 1
I've tried the two solutions below which were in response to a post by
Chris Ford on 5/15/08. Neither worked.
Solution 1:
You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
arsperl 32-bit by setting the CPPFLAGS to include -m32:
$ export CPPFLAGS="${CPPFLAGS} -m32"
Axton Grams
Solution 2:
On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
wrote:
> Chris,
>
> In the Makefile you could remove references to "-malign-double" which
seems to be causing your problem. That may fix that problem but the fact
you're compiling on a 64 bit system might cause other issues. Last I
heard the Remedy libraries are only available as 32 bit libraries. I
never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
changed.
>
> Rusty
>
Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
Thanks
--Wayne
|
|
From: Tarakad R. V. (K. 21)
<vis...@cr...> - 2008-08-12 13:45:43
|
Great thanks. This worked. -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Carey Matthew Black Sent: Tuesday, August 12, 2008 1:44 PM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Printing Array fields Please look at this for details of Diary fields: http://arsperl.sourceforge.net/manual/ds_diaryentry_hash.html This might also be of some help, but it is how to construct a Diary entry and not how to read it. http://arsperl.sourceforge.net/manual/ars_EncodeDiary.html Here is a snip of some code I wrote a long time ago... (5+ years) so it might help, but might need a bit of updating too. ## # Get the field map for the selected diary form ## (%diary_field_form_fields = ars_GetFieldTable($pri, $diary_field_form)) || die "Error in GetFieldTable for $diary_field_form\n"; foreach $field_name (@diary_form_fields_names){ if ($diary_field_form_fields{$field_name}){ push (@diary_form_fields_ids, $diary_field_form_fields{$field_name}); }else{ die "You said $field_name was in form $diary_field_form, but I did not find it!\nUpdate your settings for \@diary_form_fields_names"; } } my %vals = ars_GetEntry(...) ## # Process each diary entry ## # I am taking the hash entry from vals(by fieldname via the diary_field_form_fields array constructed above) # and turning it into an anonymous array so that the foreach can loop over them. foreach $diary_entry (@{$vals{$diary_field_form_fields{"Work Log"}}}){ # then I get values from each of the Diary entries like this.... $diary_entry->{value}; $diary_entry->{timestamp}; $diary_entry->{user}; } Hope that helps. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Tue, Aug 12, 2008 at 6:12 AM, Tarakad Raghavan Viswanathan (KIRK 21) <vis...@cr...> wrote: > > Hello, > > Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead of the > value. > > Can someone advice please. The displayorder contains the fields I want to > print. All fields print ok except the Work Log > > foreach $ticket ( sort keys %tickets ) { > (%v_tick = ars_GetEntry($$ctrl, $schema, $ticket)) || die > "$ars_errstr - can't get $ticket from schema $schema"; > > my $curline; > foreach $id ( @displayorder ) { > $curval=$v_tick{$f_tick{$id}}; > if ( $t{$id} eq "enum" ) { > $tmp=getEnumValue($id,$curval); $curval=$tmp;} > if ( $t{$id} eq "time" && $curval > 0 ) { $tmp=`perl > -le 'print scalar localtime $curval'`; $curval=UnixDate($tmp,"%m/%d/%Y > %T");} > > $curval=~ s/\n/ /g; # Replace New line with space > $curval=~ s/^M/ /g; # Replace Control M with space > $curval=~ s/,/ /g; # Replace Comma with space > $curline.="$curval,"; > #print "$curval,"; > } > printoutput "$curline"; > } > > Regards, > Vishi ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Wesley S. <wes...@is...> - 2008-08-12 13:31:57
|
On 12.08.08 12:12 Tarakad Raghavan Viswanathan (KIRK 21) wrote:
> Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead of the value.
Hi, have a look at references in the perl documentation.
#!/bin/perl
use strict;
$\="\n";
my $arr = [ qw(an array) ];
print $arr; # prints ARRAY(0x8152c28)
if (ref($arr) == "ARRAY") {
print join(" ", @$arr);
}
Cheers,
Wesley
--
Online Broadband BV, http://www.online.nl, http://www.euronet.nl
Wesley Schwengle, System Administrator, IT Operations (Development/Integration)
Muiderstraat 1, PO BOX 10241, 1001 EE Amsterdam, T: +31 20 5355555, F: +31 20 5355749
!! Please be aware that my e-mail address has changed (again) to: wesley.schwengle at
!! is.online.nl, mails send to my previous address will NOT be forwarded !!
|
|
From: Carey M. B. <bla...@gm...> - 2008-08-12 11:50:50
|
Please look at this for details of Diary fields: http://arsperl.sourceforge.net/manual/ds_diaryentry_hash.html This might also be of some help, but it is how to construct a Diary entry and not how to read it. http://arsperl.sourceforge.net/manual/ars_EncodeDiary.html Here is a snip of some code I wrote a long time ago... (5+ years) so it might help, but might need a bit of updating too. ## # Get the field map for the selected diary form ## (%diary_field_form_fields = ars_GetFieldTable($pri, $diary_field_form)) || die "Error in GetFieldTable for $diary_field_form\n"; foreach $field_name (@diary_form_fields_names){ if ($diary_field_form_fields{$field_name}){ push (@diary_form_fields_ids, $diary_field_form_fields{$field_name}); }else{ die "You said $field_name was in form $diary_field_form, but I did not find it!\nUpdate your settings for \@diary_form_fields_names"; } } my %vals = ars_GetEntry(...) ## # Process each diary entry ## # I am taking the hash entry from vals(by fieldname via the diary_field_form_fields array constructed above) # and turning it into an anonymous array so that the foreach can loop over them. foreach $diary_entry (@{$vals{$diary_field_form_fields{"Work Log"}}}){ # then I get values from each of the Diary entries like this.... $diary_entry->{value}; $diary_entry->{timestamp}; $diary_entry->{user}; } Hope that helps. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Tue, Aug 12, 2008 at 6:12 AM, Tarakad Raghavan Viswanathan (KIRK 21) <vis...@cr...> wrote: > > Hello, > > Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead of the > value. > > Can someone advice please. The displayorder contains the fields I want to > print. All fields print ok except the Work Log > > foreach $ticket ( sort keys %tickets ) { > (%v_tick = ars_GetEntry($$ctrl, $schema, $ticket)) || die > "$ars_errstr - can't get $ticket from schema $schema"; > > my $curline; > foreach $id ( @displayorder ) { > $curval=$v_tick{$f_tick{$id}}; > if ( $t{$id} eq "enum" ) { > $tmp=getEnumValue($id,$curval); $curval=$tmp;} > if ( $t{$id} eq "time" && $curval > 0 ) { $tmp=`perl > -le 'print scalar localtime $curval'`; $curval=UnixDate($tmp,"%m/%d/%Y > %T");} > > $curval=~ s/\n/ /g; # Replace New line with space > $curval=~ s/^M/ /g; # Replace Control M with space > $curval=~ s/,/ /g; # Replace Comma with space > $curline.="$curval,"; > #print "$curval,"; > } > printoutput "$curline"; > } > > Regards, > Vishi |
|
From: Tarakad R. V. (K. 21)
<vis...@cr...> - 2008-08-12 10:27:43
|
> Hello,
>
> Im trying to print "Work Log" and Im getting ARRAY(0xa68d70) instead
> of the value.
>
> Can someone advice please. The displayorder contains the fields I
> want to print. All fields print ok except the Work Log
>
> foreach $ticket ( sort keys %tickets ) {
> (%v_tick = ars_GetEntry($$ctrl, $schema, $ticket)) ||
> die "$ars_errstr - can't get $ticket from schema $schema";
> my $curline;
> foreach $id ( @displayorder ) {
> $curval=$v_tick{$f_tick{$id}};
> if ( $t{$id} eq "enum" ) {
> $tmp=getEnumValue($id,$curval); $curval=$tmp;}
> if ( $t{$id} eq "time" && $curval > 0 ) {
> $tmp=`perl -le 'print scalar localtime $curval'`;
> $curval=UnixDate($tmp,"%m/%d/%Y %T");}
> $curval=~ s/\n/ /g; # Replace New line with
> space
> $curval=~ s/^M/ /g; # Replace Control M with
> space
> $curval=~ s/,/ /g; # Replace Comma with space
> $curline.="$curval,";
> #print "$curval,";
> }
> printoutput "$curline";
> }
>
Regards,
Vishi
|
|
From: jeff m. <jcm...@je...> - 2008-07-22 18:18:14
|
On Jul 22, 2008, at 1:31 PM, L G Robinson wrote: > Hi Folks, > > I have a question about the ars_GetMultipleEntries call. > > From the C_API_Guide: > > ARGetMultipleEntries uses the AREntryIdListList structure to pass > Entry IDs for the specified entries. This structure consists of zero > or more AREntryIdList structures, as Figure3-15 on page68 shows. > This call can request a maximum of 100 entries. > > My question: > > What is returned when the request exceeds the 100 entry max? > > Are 100 entries returned? > Are 0 entries returned? > Is there an error returned? > The simplest way to find out is to try it. I'd guess that it'll return the "your query exceeded the maximum number of entries" message, along with the first 100 entries... the way GetListEntry does when you've set a maximum on the number of GetList return values allowed. jeff |
|
From: L G R. <nl...@nc...> - 2008-07-22 17:50:33
|
Hi Folks, I have a question about the ars_GetMultipleEntries call. From the C_API_Guide: ARGetMultipleEntries uses the AREntryIdListList structure to pass Entry IDs for the specified entries. This structure consists of zero or more AREntryIdList structures, as Figure3-15 on page68 shows. This call can request a maximum of 100 entries. My question: What is returned when the request exceeds the 100 entry max? Are 100 entries returned? Are 0 entries returned? Is there an error returned? Thanks. Larry Larry Robinson nl...@nc... Office of Information Technology NC State University 919-515-5432 Voice Raleigh, NC 27695-7109 919-513-1893 FAX |