The path will control which perl is used.  Other solutions, maybe you
already have a 32-bit perl interpreter on the host.  Look under these
directories:

/usr/perl5/site_perl
/usr/perl5/vendor_perl

Axton

On Tue, Sep 9, 2008 at 1:35 PM, Vaughan, Mark <
[EMAIL PROTECTED]> wrote:

> Are there any other possible solutions?
>
> If I can get the SAs to install a 32-bit Perl, do I need to invoke that
> instance when using ARSperl or will the appropriate links already be in
> the ARSperl module so I can use my regular 64-bit?
>
> Sorry for the ignorance.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Thilo Stapff
> Sent: Tuesday, September 09, 2008 10:02 AM
> To: ARSperl User Discussion
> Subject: Re: [Arsperl-users] ARSperl 1.91 make test errors
>
>
> 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.
>
>
> Regards,
> Thilo Stapff
>
>
>
>
> Vaughan, Mark wrote:
> > I have added the '-m32' switch as suggested in another thread, but I
> > still get the same errors:
> >
> > gcc -c  -I/export/third-party/remedy/ars/software/ars710p3/api/include
>
> > -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -O   -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > "-I/usr/local/lib/perl5/5.8.5/sun4-solaris-64int/CORE"  -g
> > -Wno-unused-variable -Wuninitialized  -DARS32  -DARS452
> > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50
> -m32
> > ARS.c
> >
> > ARS.c: In function `XS_ARS_ars_CreateField':
> >
> > ARS.xs:3817: warning: `createMode' might be used uninitialized in this
>
> > function
> >
> > ARS.xs: In function `XS_ARS_ars_CreateActiveLink':
> >
> > ARS.xs:5178: warning: cast to pointer from integer of different size
> >
> > ARS.xs: In function `XS_ARS_ars_SetActiveLink':
> >
> > ARS.xs:5340: warning: cast to pointer from integer of different size
> >
> > ARS.xs: In function `XS_ARS_ars_CreateFilter':
> >
> > ARS.xs:5519: warning: cast to pointer from integer of different size
> >
> > ARS.xs: In function `XS_ARS_ars_SetFilter':
> >
> > ARS.xs:5661: warning: cast to pointer from integer of different size
> >
> > ARS.xs: In function `XS_ARS_ars_CreateEscalation':
> >
> > ARS.xs:5828: warning: cast to pointer from integer of different size
> >
> > ARS.xs: In function `XS_ARS_ars_SetEscalation':
> >
> > ARS.xs:5965: warning: cast to pointer from integer of different size
> >
> >
> >
> > Any help would be greatly appreciated.
> >
> >
> >
> > Thanks,
> >
> > Mark Vaughan
> >
> >
> ------------------------------------------------------------------------
> >
> > *From:* [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] *On Behalf Of *Vaughan,
> Mark
> > *Sent:* Friday, September 05, 2008 4:02 PM
> > *To:* ARSperl User Discussion
> > *Subject:* [Arsperl-users] ARSperl 1.91 make test errors
> >
> >
> >
> > I have built 1.91 on Solaris 10 using gcc and it compiles with the
> usual
> > array of compilation errors ('warning: cast to pointer from integer of
>
> > different size' mostly).
> >
> >
> >
> > When I run 'make test', I get a handful of 'uninitialized value'
> > warnings inside of ARS.pm, line 49.  I traced the problem to sub
> > ARS::ERRORSTR::FETCH.  The problem is the messageType array contains
> an
> > invalid value (4294967295).  As this value is -1 when using 32 bits
> and
> > casting is working correctly, I'm presuming that I am compiling
> > something incorrectly.
> >
> >
> >
> > The test cases exhibiting this error are:
> >
> > t/21setlogging
> >
> > t/31createschema
> >
> >
> >
> > Thanks,
> >
> > Mark Vaughan
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------
> -
> > 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
>
>
> ------------------------------------------------------------------------
> -
> 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
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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