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 [xxxxxxxxxxxx]: Admin Username [xxxxxxxxxxxxxxx]: Admin Password [xxxxxxxxxxxxx]: 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\" -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/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 supportrev.c "supportrev.c", line 1243.23: 1506-280 (W) Function argument assignment between types "unsigned long*" and "int*" is not allowed. 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 supportrev_generated.c 1500-030: (I) INFORMATION: rev_AROpenDlgStruct: Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 16384. Running Mkbootstrap for ARS () chmod 644 ARS.bs rm -f blib/arch/auto/ARS/ARS.so LD_RUN_PATH="" ld -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:ARS.exp -bnoentry -lpthreads -lc_r ARS.o support.o supportrev.o supportrev_generated.o /usr/ars/api700p002aix/lib/libar.a -o blib/arch/auto/ARS/ARS.so -L/usr/ars/api700p002aix/lib -lpthread ld: 0711-224 WARNING: Duplicate symbol: .strnlen ld: 0711-224 WARNING: Duplicate symbol: .strncasecmp ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: .utf8_nextCharSafeBody_3_2 ld: 0711-317 ERROR: Undefined symbol: .u_foldCase_3_2 ld: 0711-317 ERROR: Undefined symbol: u_toupper_3_2 ld: 0711-317 ERROR: Undefined symbol: u_tolower_3_2 ld: 0711-317 ERROR: Undefined symbol: .u_getCombiningClass_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucnv_compareNames_3_2 ld: 0711-317 ERROR: Undefined symbol: .u_isprint_3_2 ld: 0711-317 ERROR: Undefined symbol: .u_islower_3_2 ld: 0711-317 ERROR: Undefined symbol: .u_isupper_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucol_open_3_2 ld: 0711-317 ERROR: Undefined symbol: .uiter_setUTF8_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucol_strcollIter_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucol_close_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucnv_open_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucnv_convertEx_3_2 ld: 0711-317 ERROR: Undefined symbol: .ucnv_close_3_2 ld: 0711-317 ERROR: Undefined symbol: .xdr_sizeof ld: 0711-317 ERROR: Undefined symbol: .__rpc_createerr make: 1254-004 The error code from the last command is 8. Stop. I'm guessing that we need the following libraries... if so, are these readily available (32-bit versions)? -licuucbmc, -licui18nbmc Thanks, Graham 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