Hello all,

We are moving from Solaris to Redhat Linux 5 (32 bit) and I am having
trouble getting ARSPerl to work on the new host. The process of
building ARSPerl to a private directory does not produce any errors,
but when I try to run a simple script, I get a Perl error referencing
ARSnparm.pm.

Here is my test script:

#!/usr/local/bin/perl
use lib qw(/home/jkubasek/localperl);
use ARS;

Here is what I get when I try to run it:

% ./testARSPerl.pl
String found where operator expected at
/home/jkubasek/localperl/i686-linux/ARSnparm.pm line 89, near
"Carp::confess "invalid named parameter \"$key\"""
        (Do you need to predeclare Carp::confess?)
syntax error at /home/jkubasek/localperl/i686-linux/ARSnparm.pm line
89, near "Carp::confess "invalid named parameter \"$key\"""
Compilation failed in require at
/home/jkubasek/localperl/i686-linux/ARS.pm line 71.
Compilation failed in require at ./testARSPerl.pl line 3.
BEGIN failed--compilation aborted at ./testARSPerl.pl line 3.

We are using the version 7.1 API Patch 5, ARSPerl 1.91, and  Perl
v5.10.0. I have the output of my build process below.

Any suggestions?

Thanks,

Joe

The output of the build process:
[EMAIL PROTECTED]:~/tmp/ARSperl-1.91 15:58:31
% perl Makefile.PL LIB=/home/jkubasek/localperl PREFIX=/home/jkubasek/localperl
Building against perl 5.010000
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.10
        ARSAPI      = /opt/ars/dev/api
        AUTODEFINES =  -g  -DARS32  -DARS452  -malign-double
-DPERL_PATCHLEVEL_IS=10 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50
Checking if your kit is complete...
Looks good
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 []:
Admin Password []:

Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.

[EMAIL PROTECTED]:~/tmp/ARSperl-1.91 15:59:11
% 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/local/bin/perl5.10.0 /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap
 ARS.xs > ARS.xsc && mv ARS.xsc ARS.c
cc -c  -I/opt/ars/dev/api/include -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE"  -g  -DARS32  -DARS452
 -malign-double  -DPERL_PATCHLEVEL_IS=10 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50  ARS.c
cc -c  -I/opt/ars/dev/api/include -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE"  -g  -DARS32  -DARS452
 -malign-double  -DPERL_PATCHLEVEL_IS=10 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50  support.c
cc -c  -I/opt/ars/dev/api/include -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE"  -g  -DARS32  -DARS452
 -malign-double  -DPERL_PATCHLEVEL_IS=10 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50  supportrev.c
cc -c  -I/opt/ars/dev/api/include -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE"  -g  -DARS32  -DARS452
 -malign-double  -DPERL_PATCHLEVEL_IS=10 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50  supportrev_generated.c
Running Mkbootstrap for ARS ()
chmod 644 ARS.bs
rm -f blib/arch/auto/ARS/ARS.so
LD_RUN_PATH="/lib:/opt/ars/dev/api/lib" cc  -shared -O2
-L/usr/local/lib ARS.o support.o supportrev.o supportrev_generated.o
/opt/ars/dev/api/lib/libar.a  -o blib/arch/auto/ARS/ARS.so      \
           -L/opt/ars/dev/api/lib -lpthread -licuucbmc -licui18nbmc     \

chmod 755 blib/arch/auto/ARS/ARS.so
cp ARS.bs blib/arch/auto/ARS/ARS.bs
chmod 644 blib/arch/auto/ARS/ARS.bs


[EMAIL PROTECTED]:~/tmp/ARSperl-1.91 15:59:55
% make install
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Installing /home/jkubasek/localperl/i686-linux/auto/ARS/ARS.bs
Installing /home/jkubasek/localperl/i686-linux/auto/ARS/ARS.so
Installing /home/jkubasek/localperl/i686-linux/ARSnt-h.pm
Installing /home/jkubasek/localperl/i686-linux/ARS.pm
Installing /home/jkubasek/localperl/i686-linux/ARSnparm.pm
Installing /home/jkubasek/localperl/i686-linux/ARSarerrno-h.pm
Installing /home/jkubasek/localperl/i686-linux/ARSOOmsgs.pm
Installing /home/jkubasek/localperl/i686-linux/ARSar-h.pm
Installing /home/jkubasek/localperl/i686-linux/ARSOOform.pm
Installing /home/jkubasek/localperl/i686-linux/_h2ph_pre.ph
Installing /home/jkubasek/localperl/i686-linux/ARSOOsup.pm
Installing /home/jkubasek/localperl/i686-linux/artypes.ph
Installing /home/jkubasek/localperl/i686-linux/ARSnterrno-h.pm
Installing /home/jkubasek/localperl/i686-linux/auto/ARS/autosplit.ix
Writing /home/jkubasek/localperl/i686-linux/auto/ARS/.packlist
Appending installation info to /home/jkubasek/localperl/i686-linux/perllocal.pod

-------------------------------------------------------------------------
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
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to