Re: [Arsperl-users] [SPAM]
Shouldn't that last one be 7.0? 6.0 = 10, 6.01 = 10, 6.3 = 11, 6.0 = 12, dave batzloff Lawrence Berkeley National Lab On 11/17/2009 9:15 AM, Findlay, Graham wrote: Hi, We have successfully installed ARSPerl (v1.91) on AIX 5.3 and compiled against v6 of ARS client libraries using IBM's xlc compiler. We're now trying this with the latest? v7 ARS client libraries. We had to modify the Makefile.PL script to add the following lines: $ARSAPI = /usr/ars/api700p002aix; $ARSVERSION = 7.0; sub serverReleaseFromAPIVersion { my $api_version = shift; # keys are server releases converted to floating point numbers; # values are the api version that release produced. # add more values to this table as needed. my $rh_api_version_table = { 4.5 = 7, 4.51 = 7, 4.52 = 7, 5.0 = 8, 5.01 = 8, 5.1 = 9, 5.11 = 9, 5.12 = 9, 6.0 = 10, 6.01 = 10, 6.3 = 11, 6.0 = 12, }; Here's the output from the Makefile.PL . found API Version: 12 derived server version from ar.h: 6 found ar libraries: $VAR1 = []; Building against perl 5.008002 Generating support.h file.. Processing AR_STRUCT_ITEM codes.. Processing AR_SERVER_STAT codes.. Processing AR_SCHEMA codes.. Processing AR_COM_PARM codes.. Processing AR_COM_METHOD codes.. Processing AR_DDE codes.. Processing AR_ACTIVE_LINK_ACTION codes.. Processing AR_ACTIVE_LINK_ACTION_OPEN codes.. Processing AR_CHAR_MENU_DD type codes.. Processing AR_CHAR_MENU_DD name codes.. Processing AR_CHAR_MENU_DD value format.. Processing AR_CHAR_MENU codes.. Processing AR_FILTER_ACTION codes.. Processing AR_MENU_REFRESH codes.. Processing AR_PERMISSIONS (Schema) codes.. Processing AR_PERMISSIONS (Field) codes.. Processing AR_DATA_TYPE codes.. Processing AR_BYTE_LIST codes.. Processing AR_NO_MATCH codes.. Processing AR_MULTI_MATCH codes.. Processing AR_RETURN codes.. Processing AR_FUNCTION codes.. Processing ARCON codes.. Processing ARCONOWNER codes.. Processing ARREF codes.. Processing AR_KEYWORD codes.. Processing AR_SERVER_INFO codes.. Generating serverTypeInfoHints.h .. Converting C header files to perl modules .. Configuring with options: ARSVERSION = 7.00 ARSAPI = /usr/ars/api700p002aix AUTODEFINES = -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 *Note (probably harmless): No library found for -licuucbmc* *Note (probably harmless): No library found for -licui18nbmc* Writing Makefile for ARS === ARSperl 'make test' configuration. === Please enter the following information. This information will be recorded in ./t/config.cache If you want to skip the 'make test' step, just hit ENTER three times. You can configure it later by either re-running 'perl Makefile.PL' or by editting ./t/config.cache Fair warning: you probably don't want to run 'make test' against a production ARSystem server. Server Name []: Admin Username [xxx]: Admin Password [x]: Type 'make' (windows: 'nmake') to build ARSperl. Type 'make test' to test ARSperl before installing. Type 'make install' to install ARSperl. * * * * * * * * * * * * * * * * * * * * *Here's the output from the make ...* * * Skip blib/lib/ARSarerrno-h.pm (unchanged) Skip blib/lib/ARSnparm.pm (unchanged) Skip blib/lib/artypes.ph (unchanged) Skip blib/lib/_h2ph_pre.ph (unchanged) Skip blib/lib/ARSar-h.pm (unchanged) Skip blib/lib/ARSnterrno-h.pm (unchanged) Skip blib/lib/ARSnt-h.pm (unchanged) Skip blib/lib/ARSOOsup.pm (unchanged) Skip blib/lib/ARSOOmsgs.pm (unchanged) Skip blib/lib/ARSOOform.pm (unchanged) Skip blib/lib/ARS.pm (unchanged) /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists(NAME = ARS, DL_FUNCS = { }, FUNCLIST = [], DL_VARS = []);' cc_r -c -I/usr/ars/api700p002aix/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O-DVERSION=\1.91\ -DXS_VERSION=\1.91\ -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c 1500-030: (I) INFORMATION: boot_ARS: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 16384. cc_r -c -I/usr/ars/api700p002aix/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O-DVERSION=\1.91\
Re: [Arsperl-users] [SPAM] ARSPerl on AIX
It looks like most of the syntax errors are caused by C++ style comments in supportrev.c (i.e. //... instead of /* */). I don't know if this applies to your AIX/xlc version, but there seems to be a -qcpluscmt compiler flag to handle this. Just google for xlc qcpluscmt. Moreover, try changing line 3356 of support.c from int dt = in-tag - AR_FIELD_OFFSET; to unsigned int dt = in-tag - AR_FIELD_OFFSET; and line 1242 of supportrev.c from int len; to STRLEN len; I'll also check in an update to the CVS repository on Sourceforge, which will have these issues fixed. Regards, Thilo Findlay, Graham wrote: Hi, We are trying to install ARSPerl (v1.91)on AIX 5.3 but the compile is not working. The compiler we are using is IBM’s xlc and we have a soft link from cc_r to the xlc compiler. Output from the compiler is below……..can anyone help? Skip blib/lib/ARSarerrno-h.pm (unchanged) Skip blib/lib/ARSnparm.pm (unchanged) Skip blib/lib/_h2ph_pre.ph (unchanged) Skip blib/lib/ARSar-h.pm (unchanged) Skip blib/lib/ARSnterrno-h.pm (unchanged) Skip blib/lib/ARSnt-h.pm (unchanged) Skip blib/lib/ARSOOsup.pm (unchanged) Skip blib/lib/ARSOOmsgs.pm (unchanged) Skip blib/lib/ARSOOform.pm (unchanged) Skip blib/lib/ARS.pm (unchanged) cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O-DVERSION=\1.91\ -DXS_VERSION=\1.91\ -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c 1500-030: (I) INFORMATION: boot_ARS: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 16384. cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O-DVERSION=\1.91\ -DXS_VERSION=\1.91\ -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 support.c support.c, line 3358.90: 1506-280 (W) Function argument assignment between types unsigned int* and int* is not allowed. 1500-030: (I) INFORMATION: perl_ARFieldLimitStruct: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 16384. cc_r -c -I/usr/ars/api630p018aix/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O-DVERSION=\1.91\ -DXS_VERSION=\1.91\ -I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE -g -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 supportrev.c supportrev.c, line 1244.23: 1506-280 (W) Function argument assignment between types unsigned long* and int* is not allowed. supportrev.c, line 2810.17: 1506-046 (S) Syntax error. supportrev.c, line 2821.57: 1506-046 (S) Syntax error. supportrev.c, line 2822.57: 1506-046 (S) Syntax error. supportrev.c, line 2822.123: 1506-045 (S) Undeclared identifier dataType. supportrev.c, line 3009.17: 1506-046 (S) Syntax error. supportrev.c, line 3189.17: 1506-046 (S) Syntax error. make: 1254-004 The error code from the last command is 1. Visa Europe, Europe's leading payment systems provider, is owned and governed within Europe for the benefit of European financial institutions. This email (including attachments) is confidential and is solely intended for the addressee. Unless you are the addressee, you may not read, use or store this email in any way, or permit others to. If you have received it in error, please contact Visa Europe on +44 (0)20 7937 8111. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.
Re: [Arsperl-users] [SPAM] - Re: ARSperl on a windows platform - Email found in subject
I didn't know about the vcvars32.bat script. We're trying that out now on my colleague's laptop. I also got several copies of the compiled binaries and those have worked out the best for installing. I don't expect a lot of customers will want me to install a compiler on their Remedy servers, so it's probably best for me to pursue the route of using pre-compiled binaries for at least the Windows servers. -- Shannon B. Davis Column Technologies Cell: (781) 820-6011 Fax: (928) 563-2991 [EMAIL PROTECTED] www.columnit.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff Sent: Wednesday, October 04, 2006 12:49 PM To: ARSperl User Discussion Subject: [SPAM] - Re: [Arsperl-users] ARSperl on a windows platform - Email found in subject Shannon, there is a binary version for 1.84 (compiled against the ARS 6.3 API): http://prdownloads.sourceforge.net/arsperl/arsperl_184_63.zip?download I have repeatedly compiled ARSperl 1.85 on Windows with no problems. Did perl Makefile.PL run without errors or warnings? Did you run the vcvars32.bat script from the Visual C++ before compiling? Maybe I can investigate this a bit further if you send me the output from perl Makefile.PL as well as from nmake. Regards, Thilo Stapff Hi all, Not sure who is here, but I have been a longtime user of ARSPerl, way back to version 1.73. Has anyone compiled ARS 1.85 for Windows? The last version I had was for 1.81 and it worked great, but I can't find it anymore at its former location and now I need to install it for a new server. Even the 1.81 compiled binaries if anyone still has them would be great, since I know the script I've written will work in that version. I'm trying to compile it myself but first it required MSVC++ and NMAKE to be downloaded, and even once they are installed, they require me to locate each required header file and specify its exact location...and so on and so forth to the point where I feel it is a waste of my time to further pursue this path of inquiry. -- Shannon Davis Senior Remedy Consultant Column Technologies Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Mobile: (781) 820-6011 Yahoo: shannonbdavis - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users