arsperl-users Mailing List for ARSperl (Page 286)
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: Vern H. <ve...@ey...> - 1996-05-08 00:39:19
|
Hey, Has anyone seen or had any experience with Rik Harris' perl-remedy module? He's calling it AR and it's available in your nearest CPAN archive (such as http://www.ecto.org/CPAN/modules/by-authors/Rik_Harris/). I just ran across it and it seems to be a definite duplication of effort. Vern -- ,+'^'+, Vern Hart O Creative Design Engineer - Hungry Programmers `+,.,+' ve...@hu... http://www.hungry.com Mountains of Silly Putty! - http://www.sirds.com/sillyputty |
From: - 1996-05-04 02:30:01
|
another malloc problem fixed... At the bottom of ars_CreateEntry I had a FreeARValueList, which I changed to a plain free. The problem was FreeARValueList would deallocate strings in the list and destroy the functions argument list. the fixed version is at: ftp://smurfland.cit.buffalo.edu/ftp/pub/utils/Perl/ARSperl.tgz (sorry no diff included...) > From own...@lu... Fri Aug 30 11:32 PDT 1996 > Return-Path: <own...@lu...> > Subject: ARSperl, Netscape Server, and ars_CreateEntry() > To: ar...@lu... > X-Mailer: ELM [version 2.4 PL23] > Mime-Version: 1.0 > Content-Transfer-Encoding: 8bit > Sender: own...@lu... > Precedence: bulk > Reply-To: ar...@lu... > Content-Type> : > text/plain> ; > charset=US-ASCII> > Content-Length: 1861 > X-Lines: 53 > > I'm encountering the following error when using the ars_CreateEntry() > function of ARSperl: > > Bad free() ignored > > The error first appeared when an associative array of valid name/value > pairs was passed to ars_CreateEntry(). For instance: > > $entry = ars_CreateEntry($ctrl, $schema, %data_copy); > > Passing the same data as a regular array did NOT produce the error: > > @data_copy = %data; > $entry = ars_CreateEntry($ctrl, $schema, @data_copy); > > > (Additional strange factoid: Perl seemed unable to correctly determine where > the problem was in the program. For instance, it stated that the problem > line was, say, 154. However, adding a couple of extra lines of code before > line 154 didn't change the error message; it still stated that the problem > line was 154.) > > A group of people working independently on the same project as I am > feel that this problem is directly related to using the Netscape > Server. They state that changing the code a bit may often seem to fix > the immediate problem (as with the array switcheroo above), but the > underlying problems will still be there, and that the only real fix at > this time is to change the server software to something else (CERN, > Apache, or what-have-you). > > > Is this is a problem with ARSperl? > > Is this is a problem with the Netscape Server? > > Is this is a problem with combining the two? > > Or, is it something else? > > > I am using the following combination of software: > > Netscape Communications Server, 1.12 > ARS perl extensions, version 1.2++ > IRIX 6.2 > Perl version 5.002 > CGI.pm,v 2.23 > > -- > --------------------------------------------------------------------------- > Brian K. Tanaka IS Assistance Center - SGI, Inc. > Taos Mountain http://www-isac.corp.sgi.com/ > bt...@we... bt...@co... - Ext. 34950 > |
From: Joel M. <jm...@ca...> - 1996-05-03 22:30:10
|
another malloc problem fixed... At the bottom of ars_CreateEntry I had a FreeARValueList, which I changed to a plain free. The problem was FreeARValueList would deallocate strings in the list and destroy the functions argument list. the fixed version is at: ftp://smurfland.cit.buffalo.edu/ftp/pub/utils/Perl/ARSperl.tgz (sorry no diff included...) |
From: Ashfaq R. <as...@co...> - 1996-05-02 02:36:23
|
> From own...@lu... Wed May 1 22:08:33 1996 > Subject: Re: any experience with arsperl > To: ar...@lu... > In-Reply-To: <199...@su...> from "Ashfaq Rasheed" at May 1, 96 03:06:02 pm > X-Mailer: ELM [version 2.4 PL23] > Mime-Version: 1.0 > Content-Type> : > text/plain> ; > charset=US-ASCII> > Content-Transfer-Encoding: 7bit > Sender: own...@lu... > Precedence: bulk > Reply-To: ar...@lu... > Content-Length: 471 > X-Lines: 13 > > > Has anybody already used this module for a major development. Any > >know bugs or any tips that somebody can give me. This is becoz I am planning > >to use it for one upcoming project. > > > well, we certainly did :) > > we used it for performing imports of data from other databases when it > wasn't convenient to use arimport. we also use it for API backend programs > launched from filters as it got tedious to use C for somethings that can > be done in a few lines of Perl. > > jeff > I don't know whether this is the right place to ask this question but I am sure many of you out there will have my answer for my questions. So please respond directly to me if this is not relevent to this list. The project that I am planning to use this module is something like this: We are using Remedy for our help desk. Recently we made some operational changes in the help desk. Now if a user has a complaint a ticket might be opened in Remedy or in another database (offsite not connected to our network) depending on many other factors. Therefore a project: Synchronize both databases. If a ticket is opened or modified in Remedy send an email to other database and the other way around if the ticket was opened or modified send it to Remedy. We outlined what might be called a handshake protocol. For every mail sent there should be an acknowledgement. To open a new ticket is not of any problem, it is the update. Update problems: 1. Recursive updates. Database A makes an update and sends a mail to database B. Database B makes that change and sends it to Database A. The cycle continues. This might also be trivial, attach the origin of the update. Am I missing something? 2. Multiple (or concurrent) updates in a short period of time. A. Update is made in database A and it sents a message to database B. Around the same time an update is made in database B which sends a message to database A. - Now both the databases are out of synch. We thought about sending a before and after state of the data but looks like doesn't seems to work. B. More then one update occurs in database A within a short period of time. (Belive me on this. Email is the way we will be going for now. No other choice.). And my trustworthy email system sends the updates out of sequence. (Have sequence numbers?. Check the last modified time_date fields?) Along with all the data fields in the Email we have also these. Message type: 1. New Ticket 2. Update. We are ready to add any more fields to the email. Any ideas, pointers, tips given will be very much appreciated. -thanks ashfaq |
From: Vern H. <ve...@ey...> - 1996-05-02 01:25:32
|
On May 1, 3:06pm, Ashfaq Rasheed wrote: > > Has anybody already used this module for a major development. Any > know bugs or any tips that somebody can give me. This is becoz I am planning > to use it for one upcoming project. I am using it to develope an email Completion Survey response and have been very pleased with it so far. It parallels the C api quite nicely. Any instances where the documentation for arsperl fails, the C api manual makes up for it. I've had a little trouble getting ars_padEntryid working but it is a trivial function and I been able to do without it. Good package. Vern -- ,+'^'+, Vern Hart O Creative Design Engineer - Hungry Programmers `+,.,+' ve...@hu... http://www.hungry.com Mountains of Silly Putty! - http://www.sirds.com/sillyputty |
From: Jeff M. <jcm...@sm...> - 1996-05-02 01:08:37
|
> Has anybody already used this module for a major development. Any >know bugs or any tips that somebody can give me. This is becoz I am planning >to use it for one upcoming project. well, we certainly did :) we used it for performing imports of data from other databases when it wasn't convenient to use arimport. we also use it for API backend programs launched from filters as it got tedious to use C for somethings that can be done in a few lines of Perl. jeff |
From: Ashfaq R. <as...@co...> - 1996-05-02 01:06:08
|
Hi everyone Has anybody already used this module for a major development. Any know bugs or any tips that somebody can give me. This is becoz I am planning to use it for one upcoming project. Thanks -ashfaq |
From: Jeff M. <jcm...@sm...> - 1996-04-24 03:46:01
|
Satish Kumeta writes: > > >Hi, > >I was wondering if you guys have installed a WWW >interface for a Demo somewhere. > >I have downloaded your ARSperl and I am kinda lost >with installing the WWW interface to the ars_web.cgi. there's a simple demo server available at: http://smurfland.cit.buffalo.edu/ARSperl/demo/ars_web_cl.cgi login as "webdemo" with no password. it's just a basic remedy demo kit installation.. but will let you poke around with the web client. |
From: Scott G. <rs...@Pa...> - 1996-04-18 17:39:59
|
Wing...I check to see if Remedy is running in several ways. 1) Can I connect and do anything from my Admin or User tool 2) Rlogin to the server and check that ARSERVTCD & ARSERVERD(s) are running (I use the "ps -eaf" command) 3) Ensure that none of the ARSERVERD(s) are in a runnaway (basically, just keep hitting the "ps -eaf" command every 5 seconds or so and ensure that the CPU time is not consistantly going up. 4) Ensure that the database is active At 09:49 AM 4/18/96 EDT, you wrote: >Is it possible to find out whether the Remedy is running or not? >It seems that the ars_Login will return the control structure no >matter whether the Remedy server is up or not. > >Thanks. > > Wing Choy > AT&T > wh...@mi... > > ****************************************** ** Scott Galloway O__ __O ** ** Pacific Bell /| |\ ** ** (619) 695-5552 / > o < \ ** ** rs...@pa... ** ****************************************** |
From: Mark F. <mf...@ma...> - 1996-04-18 17:02:18
|
Wing Ho Choy writes: > Is it possible to find out whether the Remedy is running or not? > It seems that the ars_Login will return the control structure no > matter whether the Remedy server is up or not. Just do some operation that actually talks to the server. I have a monitor that periodically checks the status of Sybase and then transacts some business with Remedy to make sure everything's working properly. The first thing I do after an ars_Login is try and load a qualifier: if ( ! ($qual = ARS::ars_LoadQualifier($ctrl, "User", "1 = 1")) ) { die "Can't talk to Remedy: $ars_errstr\n"; } If this (or any subsequent operation) fails, I assume Remedy's hosed up. - Mark ___ | |/ Mark A. Feit, KR4FH Staff Programmer |/| / mf...@uu... UUNET Technologies, Inc. / |/| http://www.uu.net Fairfax, Virginia, U.S.A. /|___| "There cannot be a crisis next week. My schedule is already full." UUNET - Henry Kissinger |
From: <wh...@mi...> - 1996-04-18 16:50:48
|
Is it possible to find out whether the Remedy is running or not? It seems that the ars_Login will return the control structure no matter whether the Remedy server is up or not. Thanks. Wing Choy AT&T wh...@mi... |
From: <li...@re...> - 1996-04-18 02:21:59
|
Hi there, My main user of arsperl is still having difficulties getting ars_padEntryId to work. I downloaded and built the latest copy of the image today, and I see the same problem. In line 96 of ARS.pm, there is an un-initialized value that gets called (perl -w tells me this.) I'm quite sure I'm using something valid to log in as. I've lost the code that I had before that I _think_ was able to get me a successful run of it, under the correct conditions, so now I'm stuck with nothing that works on those fronts, except sprintf, with hard-coded values. Please let me know what's possible. David P.S. Do you think you could give minor release numbers, or something? It's frustrating to have two versions of ARSperl.1.2.tar with different checksums. -- David Lindes li...@sg... +1-415/933-4749 |
From: Joel M. <jm...@ca...> - 1996-03-31 02:08:59
|
script deleted > ---- output: > Unquoted string "limit" may clash with future reserved word at /usr/local/lib/perl5/ARS.pm line 99. > Unquoted string "label" may clash with future reserved word at fromjoel_test.pl line 11. > Use of uninitialized value at fromjoel_test.pl line 11. > Use of uninitialized value at /usr/local/lib/perl5/ARS.pm line 99. well, the above errors are a real problem. I never use the -w switch so I just never noticed them. I'll clean up the code sometime soon. > > 1 I can duplicate this output if my username and password are invalid. once I set the server, username and password correctly I get : 173 smurfland(18:01:33)~> ./test Entry-Id 000000000000001 ars_Login takes server name (or null string), username, password in that order. I *really* should change ars_GetField to fail instead of returning an empty displayList like it does. joel |
From: <li...@re...> - 1996-03-31 01:36:45
|
Here's a small test file I've created, based on what you sent out in your last mail... Tell me if I'm doing something wrong, but I'm getting not very useful output, to say the least. This is using perl 5.000 (I built with 5.001), a slightly old version of arsperl 1.2 (hence the ARS::), and turning warnings on in perl: ---- source: #!/usr/local/bin/perl -w use ARS; $ctrl = ars_Login("remedy","guest",""); $schema = "User"; $field_id = 1; ($field = ars_GetField($ctrl, $schema, $field_id)) || die "get field"; print $field->{displayList}[0]{label}."\n"; $entry_id = 1; $entry_id = ars_padEntryid($ctrl,"User",$entry_id); print $entry_id . "\n"; ---- ---- output: Unquoted string "limit" may clash with future reserved word at /usr/local/lib/perl5/ARS.pm line 99. Unquoted string "label" may clash with future reserved word at fromjoel_test.pl line 11. Use of uninitialized value at fromjoel_test.pl line 11. Use of uninitialized value at /usr/local/lib/perl5/ARS.pm line 99. 1 ---- -- David Lindes li...@sg... +1-415/933-4749 |
From: Joel M. <jm...@ca...> - 1996-03-30 21:14:17
|
> Can somebody post some sample code where you've gotten this to > work? I'm having difficulty getting anything meaningful to come > out of the return of ars_GetField, and no luck with > ars_padEntry, either. ars_GetField is probably only useful if you want to write your own client application. I used it the the www interface. All of its data structures should be covered (or at least mentioned) in the html doc. this will print out a field label, given a schema and a field id: ($field = ars_GetField($ctrl, $schema, $field_id)) || die "get field"; print $field->{displayList}[0]{label}."\n"; this will pad the entry id to 15 characters for the User schema: $entry_id = ars_padEntryid($c,"User",$entry_id); by the way, has anyone tried out or had luck with the web client? joel |
From: <li...@re...> - 1996-03-30 11:46:22
|
Hi all, Neither myself nor my co-worker, Vern, can seem to get either of these funcions working. Can somebody post some sample code where you've gotten this to work? I'm having difficulty getting anything meaningful to come out of the return of ars_GetField, and no luck with ars_padEntry, either. TIA. David P.S. Any good perl5 books out there? is O'Reilly doing a new Camel????? -- David Lindes li...@sg... +1-415/933-4749 |
From: Bill M. <wm...@fo...> - 1996-03-29 23:39:24
|
Hmmm... I've been fighting a problem with ARSperl the last few days and I THINK I've found something of interest. Basically, I'm using ARSperl to parse some data extracts from the Corporate mainframes and blow the data into appropriate schemas in ARS. I *was* using ARSperl 1.1.1 with some success, but when processing my largest extract files, I'd blow up with either a "Bus error" or "Out of Memory!" end or just a plain core dump with little warning. Guessing this had something to do with memory allocation, I jumped when I saw the mention on this list that ARSperl 1.2 was available and addressed memory allocation problems (in particular, "bad free()" warnings). No dice -- same problem. THEN I recompiled ARSperl to use the "malloc() that comes with Perl" and discovered: 1) My programs now worked. 2) every call to ars_CreateEntry() or ars_SetEntry() results in a "bad free() ... ignored ..." warning. :-( Now before jumping to conclusions, you should also know that I'm running ARSperl on an HP K-series/HP-UX 10.01 system. Yep, the one you're not supposed to be able to run on. How I got things working was to include the contents of the ARSperl.tgz file under ext/ARS/ in the perl source tree, specify ARS to be a static module, hack the generated Makefile to change all non-comment occurrences of the string "dynamic" to "static" and let 'er rip! I've been using Perl on HP-UX systems going back to Perl 3.0.44 on the original HP 800 series with HP-UX 2.1 and since 7.0 had frequently encountered spurious "bad free()" warnings in the standard Perl distribution whenever I used "the malloc() that comes with perl" so I haven't even tried to use it. This time (Perl 5.002 -released) it seems to work fine EXCEPT in conjunction with ARSperl. Joel, ARSperl is a godsend and I hope this feedback can help you make it perfect, or at least as good as ARS itself ;-) Bill Meahan - wm...@ma... Not an official spokesperson for Ford Motor Company |
From: Jeff M. <jcm...@sm...> - 1996-03-29 23:16:09
|
>I was trying to use ars_padEntryid and it kept giving me the error must've overlooked this. i added it and updated the distribution. thanks, jeff |
From: Vern H. <ve...@ey...> - 1996-03-29 23:12:53
|
Hey, I was trying to use ars_padEntryid and it kept giving me the error that main::ars_padEntryid was not defined. I tried ARS::ars_padEntryid and that worked so I took a look at ARS.pm and it seems that ars_padEntryid is not in the @EXPORT array. I added it and it works now. $ diff ARS.pm.old ARS.pm 45c45 < @EXPORT = qw(isa_int isa_float isa_string ars_LoadQualifier ars_Login ars_Logoff ars_GetListField ars_GetFieldByName ars_GetFieldTable ars_CreateEntry ars_DeleteEntry ars_GetEntry ars_GetListEntry ars_GetListSchema ars_GetListServer ars_GetActiveLink ars_GetCharMenuItems ars_GetSchema ars_GetField ars_simpleMenu ars_GetListActiveLink ars_SetEntry ars_perl_qualifier ars_Export ars_GetListFilter ars_GetListEscalation ars_GetListCharMenu ars_GetListAdminExtension); --- > @EXPORT = qw(isa_int isa_float isa_string ars_LoadQualifier ars_Login ars_Logoff ars_GetListField ars_GetFieldByName ars_GetFieldTable ars_CreateEntry ars_DeleteEntry ars_GetEntry ars_GetListEntry ars_GetListSchema ars_GetListServer ars_GetActiveLink ars_GetCharMenuItems ars_GetSchema ars_GetField ars_simpleMenu ars_GetListActiveLink ars_SetEntry ars_perl_qualifier ars_Export ars_GetListFilter ars_GetListEscalation ars_GetListCharMenu ars_GetListAdminExtension ars_padEntryid); (That line should proably be broken up in to several lines, as well...) Cheers, Vern -- Vern Hart -=<>=- Taos Mountain Software -=<>=- ve...@ta... Silicon Graphics -=<>=- ve...@sg... -=<>=- 415-933-6210 100lbs of Silly Putty! - http://www.sirds.com/sillyputty |
From: Jeff M. <jcm...@sm...> - 1996-03-28 22:18:43
|
>So, I decide, gee, maybe this is a perl5 thing that they haven't told me >about. So, I try: the web page for arsperl does explicitly say: "ARSperl is an integration kit for Perl5.0 and Remedy ARS 2.x API." the hint being that you should use perl5. > Undefined subroutine &main::WriteMakefile called at Makefile.PL line 9. be sure that you or your admin has properly configured, built and installed the ExtUtils package in the perl 5.001 distribution. be sure you are using perl version 5.001 or later. it should build easily under solaris 2.3, 2.4 or 2.5. jeff |
From: Lori A. E. S. <lo...@sc...> - 1996-03-28 21:57:09
|
Howdy all, I'm looking forward to getting started with using arsperl, but compiling is never as easy as it's supposed to be. So anyway, here's what's happening, and perhaps someone can tell me what's going on. Here's my makefile after I edited it to point to my ar api directories. ###################################################################### #!/usr/local/bin/perl use ExtUtils::MakeMaker; $ARS_LDPATH = "-L/opt/ar/api/lib"; $INCLUDES = "-I/opt/ar/api/include"; $ARS_LIBS = "-lar -lnsl"; WriteMakefile( 'NAME' => 'ARS', 'VERSION' => '1.2', 'LIBS' => ["${ARS_LDPATH} ${ARS_LIBS}"], 'DEFINE' => '-g', 'OBJECT' => "ARS.o", 'INC' => "${INCLUDES}", ); ###################################################################### The installation instructions say all I need to do is type: perl Makefile.PL Anyway, I get these error messages: loriae % perl Makefile.PL syntax error in file Makefile.PL at line 3, next 2 tokens "use ExtUtils" syntax error in file Makefile.PL at line 9, next 2 tokens "WriteMakefile(" Execution of Makefile.PL aborted due to compilation errors. loriae % So, I decide, gee, maybe this is a perl5 thing that they haven't told me about. So, I try: perl5 Makefile.PL And, I get these error messages: loriae % perl5 Makefile.PL Undefined subroutine &main::WriteMakefile called at Makefile.PL line 9. loriae % Well, this looks like a real error message. So, can someone tell me, is this perl5 stuff? I couldn't find anything called "main" that looked like it was relevant to this makefile. Here is some info about my system. our perl is in /usr/local/bin/perl our perl5 is in /usr/local/bin/perl5 our ars stuff is in /opt/ar/ the make I will be using is /opt/cygnus/progressive/sun4s2/bin/make ARS resides on this system: solaris 2.3 I ran "perl Makefile.PL" on solaris 2.4 (solaris2.3 gave same errors) Any suggestions on where I go from here would be greatly appreciated. Thanks! -Lori Schneider |
From: Joel M. <jm...@ca...> - 1996-03-28 05:59:06
|
> i've added these changes to the distribution on smurfland.cit.buffalo.edu > > in addition, joel recently added an ars_Export() so that we could export > all of our schema/activelink/etcetc definitions as we were having some > problems with local developers deleting them on us. as well as a few memory de-allocation bugs. If you get a free() error in ars_SetEntry, this should fix it. joel |
From: Jeff M. <jcm...@sm...> - 1996-03-28 05:30:14
|
i've added these changes to the distribution on smurfland.cit.buffalo.edu in addition, joel recently added an ars_Export() so that we could export all of our schema/activelink/etcetc definitions as we were having some problems with local developers deleting them on us. there is an example in the "examples" directory on how to use the export functions and they've also been added to the HTML doc... in addition, i've renamed pad_entryid in the distribution to ars_padEntryid to keep its name consistant with the names of the other functions. jeff |
From: <li...@re...> - 1996-03-28 04:38:18
|
Hi all, When running perl -w on something that 'use's ARS, I get some warning messages about the lack of parenthesis in ARS.pm. Here is the diff I did to make these errors go away: 61,65c61,65 < my $m = shift; < my $prepend = shift; < my @m = @$m; < my @ret, @submenu; < my $name, $val; --- > my($m) = shift; > my($prepend) = shift; > my(@m) = @$m; > my(@ret, @submenu); > my($name, $val); 83,86c83,86 < my $c = shift; < my $schema = shift; < my $entry_id = shift; < my $field; --- > my($c) = shift; > my($schema) = shift; > my($entry_id) = shift; > my($field); Cheers. David Lindes P.S. I will be leaving SGI sometime soon (April 12th or 19th), so if you have any comments/questions about the SGI port of this, please send mail to rem...@co.... -- David Lindes li...@sg... +1-415/933-4749 |
From: Joel M. <jm...@ca...> - 1996-03-27 23:18:50
|
> Hi Joel, > > We're building some application which use your ARSperl interface, > a wonderful perl interface to Remedy. I run into a need of trying > to sort the entry coming back from ARSGetEntry. I notice that > ARSGetListEntry API do support sorting but the perl interface > ars_GetListEntry does not. I wonder whether this capability has > already incorporated to your perl extension before I go and try > to modify the code > > Thanks again. > > Wing Choy > AT&T > wh...@mi... ars_GetListEntry(ctrl,schema,qualifier,maxRetrieve,...) you can get sorting with ars_GetListEntry by specifying the fields to sort on after maxRetrieve and the sort order after each field. the sort orders in ar.h are 1 for ascending and 2 for descending. I really should add ascending and descending constants to the package. I've just never actually used this feature. for example, you could do: $all = ars_LoadQualifier($c,"User","1=1"); $login_name = ars_GetFieldByName($c,"User","Login Name"); @a = ars_GetListEntry($c, "User", $all, 0, $login_name, 1); to get a list of all users, sorted based on Login Name. -joel |