arsperl-users Mailing List for ARSperl (Page 4)
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: <Con...@t-...> - 2013-02-25 08:49:43
|
I think there is a misunderstanding. AR API files exist in both 32 and 64 Bit versions. You should see some files with a suffix of _lx64.so if you're on linux. The suffix is, for whatever reason, platform dependent. But unfortunately no one was able to compile a working ARSPerl using 64 Bit libraries on linux. It compiles fine but when you're trying to connect to an ar-server it throws some RPC errors. I've opened a ticket at BMC Support, but they closed it with "No Plans to Fix" :-( Regards Conny ________________________________ Von: Paul Blasquez [mailto:pbl...@gm...] Gesendet: Montag, 25. Februar 2013 07:33 An: ARSperl User Discussion Betreff: [Arsperl-users] ARSystem 8.1 files still 32-bit Misi, I took the liberty of downloading the AR API files from your ARSList post, looks like it's still 32-bit: $ file libar.so libar.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Can you confirm? It makes me wonder if BMC even knows we are waiting for 64 bit libraries here. Regards, -Paul |
|
From: Paul B. <pbl...@gm...> - 2013-02-25 06:33:42
|
Misi, I took the liberty of downloading the AR API files from your ARSList post, looks like it's still 32-bit: $ file libar.so libar.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped Can you confirm? It makes me wonder if BMC even knows we are waiting for 64 bit libraries here. Regards, -Paul |
|
From: Paul B. <pbl...@gm...> - 2013-02-15 08:37:45
|
Yeah the 64-bit build isn't possible as the BMC libraries are still 32 bit. Since you already have a 32-bit environment setup you should be fine. The majority of the headache is setting that piece up. I'd say go for it, do the build and see how it goes. Let us know if you see any problems and we'll point you in the right direction. On Thu, Feb 14, 2013 at 11:48 PM, Eric Wolf <eri...@gm...> wrote: > Nope, no 64 bit requirement. I'm running a standalone 32 bit perl build > in a 64 bit RHEL instance, but at the end of the day, it's 32 bit. I'd be > interested, though, in seeing what's involved in the 64 bit build. > > > On Fri, Feb 15, 2013 at 12:24 AM, Paul Blasquez <pbl...@gm...>wrote: > >> Sure, first question is, is 64 bit a requirement? >> >> If not, congratulations, you've reduced "huge pain" to "annoyance". Go >> ahead and install according to the documentation and there will be a couple >> of easily-solved errors. >> >> If 64-bit is a requirement, there are a couple of threads on this list I >> can point you to that will illustrate the pain it in all its excruciating >> glory. >> >> >> On Thu, Feb 14, 2013 at 9:57 PM, Eric Wolf <eri...@gm...> wrote: >> >>> Paul, >>> >>> I actually have to tackle doing this. Can you give me a general rundown >>> of the huge pain you encountered? >>> >>> Thanks, >>> >>> -Eric >>> >>> >>> On Thu, Feb 14, 2013 at 2:10 PM, Paul Blasquez <pbl...@gm...>wrote: >>> >>>> I'm using it right now - all I can speak to is the get() operation, but >>>> it works fine. >>>> >>>> Installing is a huge pain as always but the libraries seems to work >>>> fine on 8.0. >>>> >>>> -Paul >>>> >>>> >>>> On Thu, Feb 14, 2013 at 11:48 AM, Austin, Ted (MNIT) < >>>> ted...@st...> wrote: >>>> >>>>> Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok? >>>>> **** >>>>> >>>>> ** ** >>>>> >>>>> ted....**** >>>>> >>>>> **** >>>>> >>>>> ** ** >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Free Next-Gen Firewall Hardware Offer >>>>> Buy your Sophos next-gen firewall before the end March 2013 >>>>> and get the hardware for free! Learn more. >>>>> http://p.sf.net/sfu/sophos-d2d-feb >>>>> >>>>> >>>>> -- >>>>> Arsperl-users mailing list >>>>> Ars...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Free Next-Gen Firewall Hardware Offer >>>> Buy your Sophos next-gen firewall before the end March 2013 >>>> and get the hardware for free! Learn more. >>>> http://p.sf.net/sfu/sophos-d2d-feb >>>> >>>> >>>> -- >>>> Arsperl-users mailing list >>>> Ars...@li... >>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>>> >>> >>> >>> >>> -- >>> Eric Wolf >>> http://www.n5ebw.com "The Ramblings of a Crazy Man" >>> We must free ourselves of the hope that the sea will ever rest. We must >>> learn to sail in high winds. --Aristotle Onassis >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> >>> >>> -- >>> Arsperl-users mailing list >>> Ars...@li... >>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> >> >> -- >> Arsperl-users mailing list >> Ars...@li... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Eric W. <eri...@gm...> - 2013-02-15 07:49:06
|
Nope, no 64 bit requirement. I'm running a standalone 32 bit perl build in a 64 bit RHEL instance, but at the end of the day, it's 32 bit. I'd be interested, though, in seeing what's involved in the 64 bit build. On Fri, Feb 15, 2013 at 12:24 AM, Paul Blasquez <pbl...@gm...> wrote: > Sure, first question is, is 64 bit a requirement? > > If not, congratulations, you've reduced "huge pain" to "annoyance". Go > ahead and install according to the documentation and there will be a couple > of easily-solved errors. > > If 64-bit is a requirement, there are a couple of threads on this list I > can point you to that will illustrate the pain it in all its excruciating > glory. > > > On Thu, Feb 14, 2013 at 9:57 PM, Eric Wolf <eri...@gm...> wrote: > >> Paul, >> >> I actually have to tackle doing this. Can you give me a general rundown >> of the huge pain you encountered? >> >> Thanks, >> >> -Eric >> >> >> On Thu, Feb 14, 2013 at 2:10 PM, Paul Blasquez <pbl...@gm...>wrote: >> >>> I'm using it right now - all I can speak to is the get() operation, but >>> it works fine. >>> >>> Installing is a huge pain as always but the libraries seems to work fine >>> on 8.0. >>> >>> -Paul >>> >>> >>> On Thu, Feb 14, 2013 at 11:48 AM, Austin, Ted (MNIT) < >>> ted...@st...> wrote: >>> >>>> Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok?* >>>> *** >>>> >>>> ** ** >>>> >>>> ted....**** >>>> >>>> **** >>>> >>>> ** ** >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Free Next-Gen Firewall Hardware Offer >>>> Buy your Sophos next-gen firewall before the end March 2013 >>>> and get the hardware for free! Learn more. >>>> http://p.sf.net/sfu/sophos-d2d-feb >>>> >>>> >>>> -- >>>> Arsperl-users mailing list >>>> Ars...@li... >>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> >>> >>> -- >>> Arsperl-users mailing list >>> Ars...@li... >>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>> >> >> >> >> -- >> Eric Wolf >> http://www.n5ebw.com "The Ramblings of a Crazy Man" >> We must free ourselves of the hope that the sea will ever rest. We must >> learn to sail in high winds. --Aristotle Onassis >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> >> >> -- >> Arsperl-users mailing list >> Ars...@li... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Paul B. <pbl...@gm...> - 2013-02-15 06:24:17
|
Sure, first question is, is 64 bit a requirement? If not, congratulations, you've reduced "huge pain" to "annoyance". Go ahead and install according to the documentation and there will be a couple of easily-solved errors. If 64-bit is a requirement, there are a couple of threads on this list I can point you to that will illustrate the pain it in all its excruciating glory. On Thu, Feb 14, 2013 at 9:57 PM, Eric Wolf <eri...@gm...> wrote: > Paul, > > I actually have to tackle doing this. Can you give me a general rundown > of the huge pain you encountered? > > Thanks, > > -Eric > > > On Thu, Feb 14, 2013 at 2:10 PM, Paul Blasquez <pbl...@gm...>wrote: > >> I'm using it right now - all I can speak to is the get() operation, but >> it works fine. >> >> Installing is a huge pain as always but the libraries seems to work fine >> on 8.0. >> >> -Paul >> >> >> On Thu, Feb 14, 2013 at 11:48 AM, Austin, Ted (MNIT) < >> ted...@st...> wrote: >> >>> Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok?** >>> ** >>> >>> ** ** >>> >>> ted....**** >>> >>> **** >>> >>> ** ** >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> >>> >>> -- >>> Arsperl-users mailing list >>> Ars...@li... >>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> >> >> -- >> Arsperl-users mailing list >> Ars...@li... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > > -- > Eric Wolf > http://www.n5ebw.com "The Ramblings of a Crazy Man" > We must free ourselves of the hope that the sea will ever rest. We must > learn to sail in high winds. --Aristotle Onassis > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Eric W. <eri...@gm...> - 2013-02-15 05:58:01
|
Paul, I actually have to tackle doing this. Can you give me a general rundown of the huge pain you encountered? Thanks, -Eric On Thu, Feb 14, 2013 at 2:10 PM, Paul Blasquez <pbl...@gm...> wrote: > I'm using it right now - all I can speak to is the get() operation, but it > works fine. > > Installing is a huge pain as always but the libraries seems to work fine > on 8.0. > > -Paul > > > On Thu, Feb 14, 2013 at 11:48 AM, Austin, Ted (MNIT) < > ted...@st...> wrote: > >> Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok?*** >> * >> >> ** ** >> >> ted....**** >> >> **** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> >> >> -- >> Arsperl-users mailing list >> Ars...@li... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > -- Eric Wolf http://www.n5ebw.com "The Ramblings of a Crazy Man" We must free ourselves of the hope that the sea will ever rest. We must learn to sail in high winds. --Aristotle Onassis |
|
From: Paul B. <pbl...@gm...> - 2013-02-14 20:10:17
|
I'm using it right now - all I can speak to is the get() operation, but it works fine. Installing is a huge pain as always but the libraries seems to work fine on 8.0. -Paul On Thu, Feb 14, 2013 at 11:48 AM, Austin, Ted (MNIT) <ted...@st... > wrote: > Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok?**** > > ** ** > > ted....**** > > **** > > ** ** > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Austin, T. (MNIT) <ted...@st...> - 2013-02-14 20:04:01
|
Has anyone tried to use ARSperl with ARS 8.0? If so, did it work ok? ted.... |
|
From: Misi M. <mi...@rr...> - 2013-01-02 10:41:57
|
Hi everyone,
Not much action on the list I guess. Maybe it is a season thing, or maybe
ARSperl interest has declined...
If I rephrase my question like this:
Has anyone been able to compile 64-bit ARSperl on Linux in any version?
Could you share your Makefile.PL and/or Makefile?
Happy New Year - Misi, RRR AB, http://rrr.se
> Hi,
>
> I am trying to compile ARSperl on a new CentOS 6.3 (RedHat-clone) machine
> without success.
>
> I see a lot of compilation warnings, and I do not know exactly which ones
> to heed.
>
> A lot of them complains about "unsigned long" not matching "ARULong32" and
> "long int" not matching "ARLong32"...
>
> Changes I made to Makefile.PL:
> $ARSAPI = "/opt/bmc/api764sp2linux";
> $ARSVERSION = 7.6;
> $ARCHITECTURE = "lx64";
> $ARS_LDPATH = "-L$ARSAPI/lib -L$ARSAPI/bin";
>
> I also set LD_LIBRARY_PATH:
> "/opt/bmc/api764sp2linux/bin:/opt/bmc/api764sp2linux/lib"
>
> I have edited the Makefile and have played around with some things there:
> CFFLAGS added: -malign-double
> EXTRALIBS added: -L/opt/bmc/api764sp2linux/bin
> EXTRALIBS appended: -lar_lx64 -lnsl -lcurses -ldl
> LDLOADLIBS added: -L/opt/bmc/api764sp2linux/bin
> LDLOADLIBS appended: -lar_lx64 -lnsl -lcurses -ldl
>
> Any ideas?
>
> Is 1.93 the latest code tree of ARSperl?
>
> Best Regards - Misi, RRR AB, http://rrr.se
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
>
>
> --
> Arsperl-users mailing list
> Ars...@li...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Misi M. <mi...@rr...> - 2012-12-27 21:31:59
|
Hi,
I am trying to compile ARSperl on a new CentOS 6.3 (RedHat-clone) machine
without success.
I see a lot of compilation warnings, and I do not know exactly which ones
to heed.
A lot of them complains about "unsigned long" not matching "ARULong32" and
"long int" not matching "ARLong32"...
Changes I made to Makefile.PL:
$ARSAPI = "/opt/bmc/api764sp2linux";
$ARSVERSION = 7.6;
$ARCHITECTURE = "lx64";
$ARS_LDPATH = "-L$ARSAPI/lib -L$ARSAPI/bin";
I also set LD_LIBRARY_PATH:
"/opt/bmc/api764sp2linux/bin:/opt/bmc/api764sp2linux/lib"
I have edited the Makefile and have played around with some things there:
CFFLAGS added: -malign-double
EXTRALIBS added: -L/opt/bmc/api764sp2linux/bin
EXTRALIBS appended: -lar_lx64 -lnsl -lcurses -ldl
LDLOADLIBS added: -L/opt/bmc/api764sp2linux/bin
LDLOADLIBS appended: -lar_lx64 -lnsl -lcurses -ldl
Any ideas?
Is 1.93 the latest code tree of ARSperl?
Best Regards - Misi, RRR AB, http://rrr.se
|
|
From: Campbell, P. (Paul) <pc...@av...> - 2012-12-11 22:03:18
|
Also to let you know, I fixed the error running Makefile.PL
Generating serverTypeInfoHints.h ..
!!! ERROR: Cannot determine type for AR_SERVER_INFO constant 233 !!! at infra/exsi.pl line 91, <> line 4602.
I had a bad ar.h file
But it didn't fix the errors
Paul Campbell | Development Team Lead | TS&D SSBL, A2R WFE, and ESP Remedy Team | Avaya Client Services |
| 1145 Sanctuary Parkway Lake View II Suite 110 Alpharetta, GA 30009 | 678-421-5342
Everyone needs deadlines. Even the beavers. They loaf around all summer, but when they are faced with the winter deadline, they work like fury. If we didn't have deadlines, we'd stagnate. Walt Disney
From: Campbell, Paul (Paul) [mailto:pc...@av...]
Sent: Tuesday, December 11, 2012 4:04 PM
To: ars...@li...
Subject: [Arsperl-users] Getting "Bizarre copy of UNKNOWN..." errors running make test on Linux with ARSPerl 1.9.3
I getting the errors below when running the make tests with ARSPerl 1.9.3 using perl that I compiled as 32 bit. Any help would be much appreciated
Pardon my verbosity, but I really have tried to make this work and wanted to show my environment
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. 1/? Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ^Cmake: *** [test_dynamic] Interrupt
Here is how I have build my environment
I compiled perl using the following commands
setarch i386 sh Configure -Dcc="gcc -m32" -Dprefix=/opt/utils/perl -Dusethreads
make
make test
make install
and when use file to check /opt/utils/perl/bin/perl, it shows
[remedy@ldcremap01 ARSperl-1.93]$ file /opt/utils/perl/bin/perl
/opt/utils/perl/bin/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
And perl -V shows
[remedy@ldcremap01 ARSperl-1.93]$ /opt/utils/perl/bin/perl -V
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:
Platform:
osname=linux, osvers=, archname=i686-linux-thread-multi
uname='linux ldcremap01.xxxxx 2.6.32-279.el6.x86_64 #1 smp wed jun 13 18:24:36 edt 2012 i686 i686 i386 gnulinux '
config_args='-Dcc=gcc -m32 -Dprefix=/opt/utils/perl -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -m32', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.6 20120305 (Red Hat 4.4.6-4)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc -m32', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Dec 11 2012 09:37:19
@INC:
/opt/utils/perl/lib/site_perl/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/site_perl/5.16.2
/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/5.16.2
I used the following settings in Makefile.PL for ARSPerl
$debug = 1;
$ARSAPI = "/opt/remedy/api";
$ARSVERSION = 7.6;
$ENCRYPT = 0;
$ARCHITECTURE = "";
%ADVANCED_CONFIG = (
UNDEF_PERL_MALLOC => 0,
GETLISTGROUP_OLD_STYLE => 0,
);
if ($ARSVERSION >= 6.3) {
$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a";
#$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a $ARSAPI/libarencrypt$LARCH.a" if $ENCRYPT;
$ARS_LIBS = " -lnsl ";
-- -------
$ARS_LIBS .= " -lpthread ";
$ARS_LIBS .= " -licuucbmc -licui18nbmc -licudatabmc";
#$ARS_LIBS .= " -licuucbmc$LARCH -licui18nbmc$LARCH -licudatabmc$LARCH $ARSAPI/lib/libar$LARCH.a" if $ARSVERSION >= 7.0;
}
I ran Makefile.PL
[remedy@ldcremap01 ARSperl-1.93]$ perl Makefile.PL
Building against perl 5.016002
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
!!! ERROR: Cannot determine type for AR_SERVER_INFO constant 233 !!! at infra/exsi.pl line 91, <> line 4602.
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /opt/remedy/api
AUTODEFINES = -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
WARNING: PERL_ARCHIVE_AFTER is not a known parameter.
'PERL_ARCHIVE_AFTER' is not a known MakeMaker parameter name.
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 [ldcremap01]:
Admin Username [pc]:
Admin Password [Willie9lives]:
TCP Port [51077]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
And after I ran Makefile.PL, I modified the makefile and changed the below lines and added -m32
CCCDLFLAGS = -fPIC -m32
CCDLFLAGS = -Wl,-E -m32
LD = gcc -m32
LDDLFLAGS = -shared -O2 -L/usr/local/lib -fstack-protector -m32
LDFLAGS = -fstack-protector -L/usr/local/lib -m32
And here is the output of make
[remedy@ldcremap01 ARSperl-1.93]$ make
Skip blib/lib/ARS/arerrno-h.pm (unchanged)
Skip blib/lib/ARS/OOsup.pm (unchanged)
Skip blib/lib/ARS/ar-h.pm (unchanged)
Skip blib/lib/ARS/nparm.pm (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 support.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 supportrev.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -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="/opt/remedy/api/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector -m32 ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so \
-L/opt/remedy/api/lib -lnsl -lpthread -licuucbmc -licui18nbmc -licudatabmc /opt/remedy/api/lib/libar.a \
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
and here is the output of make test
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ok
t/11entry.t ............. ok
t/12lotsoffields.t ...... Bizarre copy of UNKNOWN in subroutine entry at t/12lotsoffields.t line 70.
t/12lotsoffields.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 101/104 subtests
t/13join.t .............. Bizarre copy of UNKNOWN in subroutine entry at t/13join.t line 111.
t/13join.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/7 subtests
t/20merge.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/20merge.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/5 subtests
t/21setlogging.t ........ ok
t/31createschema.t ...... 1/6 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x11aaff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x1127ed)[0xf2e7ed]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0033c000-0033e000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
0033e000-0033f000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
0033f000-00340000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00340000-003f8000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
003f8000-003ff000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
0042f000-00430000 r-xp 00000000 00:00 0 [vdso]
00430000-00522000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00522000-00527000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00527000-005d6000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005d6000-005db000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005db000-005e0000 rw-p 00000000 00:00 0
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00636000-0064d000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
0064d000-0064e000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
0064e000-0064f000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
0064f000-00651000 rw-p 00000000 00:00 0
00969000-009b2000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
009b2000-009b3000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
009b3000-009b4000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
009b4000-009b8000 rw-p 00000000 00:00 0
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00dec000-00df3000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
00df3000-00df4000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
00df4000-00df5000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
00df5000-00e1c000 rw-p 00000000 00:00 0
00e1c000-011df000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011df000-011ea000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011ea000-011ec000 rw-p 00000000 00:00 0
02670000-02fc9000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
02fc9000-02fca000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
0917f000-09497000 rw-p 00000000 00:00 0 [heap]
f7497000-f74ed000 rw-p 00000000 00:00 0
f74ed000-f7522000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f7522000-f7722000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f7722000-f7726000 rw-p 00000000 00:00 0
ffdb0000-ffdc3000 rwxp 00000000 00:00 0 [stack]
ffdc3000-ffdc5000 rw-p 00000000 00:00 0
t/31createschema.t ...... Failed 5/6 subtests
t/32createcontainer.t ... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/32createcontainer.t line 44.
t/32createcontainer.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/33setcontainer.t ...... 1/2 ars_GetContainer( ARSperl Test-FilterGuide1 (copy) ): [ERROR] The specified container does not exist (ARSperl Test-FilterGuide1 (copy)) (ARERR #8804)
t/33setcontainer.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/34createactlink.t ..... 1/2 ars_CreateActiveLink( ARSperl Test-alink1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/34createactlink.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/35setactlink.t ........ 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/35setactlink.t line 42.
t/35setactlink.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/36createfilter.t ...... 1/2 ars_CreateFilter( ARSperl Test-Filter1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/36createfilter.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/37setfilter.t ......... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/37setfilter.t line 42.
t/37setfilter.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/38createescalation.t .. 1/2 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x10e7ff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x109cc6)[0xe62cc6]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0031a000-00363000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
00363000-00364000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
00364000-00365000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
00365000-00369000 rw-p 00000000 00:00 0
00369000-00421000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00421000-00428000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00498000-004af000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
004af000-004b0000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
004b0000-004b1000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
004b1000-004b3000 rw-p 00000000 00:00 0
0054e000-00550000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
00550000-00551000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
00551000-00552000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00627000-00719000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00719000-0071e000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
007ae000-007b5000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
007b5000-007b6000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
007b6000-007b7000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
007b7000-007de000 rw-p 00000000 00:00 0
007de000-0088d000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
0088d000-00892000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
00892000-00897000 rw-p 00000000 00:00 0
008f4000-008f5000 r-xp 00000000 00:00 0 [vdso]
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00d59000-0111c000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
0111c000-01127000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
01127000-01129000 rw-p 00000000 00:00 0
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
08413000-08d6c000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08d6c000-08d6d000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08f59000-09270000 rw-p 00000000 00:00 0 [heap]
f7548000-f759e000 rw-p 00000000 00:00 0
f759e000-f75d3000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f75d3000-f77d3000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f77d3000-f77d7000 rw-p 00000000 00:00 0
ff8c5000-ff8d9000 rwxp 00000000 00:00 0 [stack]
ff8d9000-ff8da000 rw-p 00000000 00:00 0
t/38createescalation.t .. Failed 1/2 subtests
t/39setescalation.t ..... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/39setescalation.t line 42.
t/39setescalation.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/40createcharmenu.t .... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/40createcharmenu.t line 43.
t/40createcharmenu.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/41setcharmenu.t ....... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/41setcharmenu.t line 43.
t/41setcharmenu.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
Test Summary Report
-------------------
t/02export.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/10entry.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 10 tests but ran 1.
t/10getftinfo.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/12lotsoffields.t (Wstat: 512 Tests: 3 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 104 tests but ran 3.
t/13join.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 7 tests but ran 6.
t/20merge.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 4.
t/31createschema.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 6 tests but ran 1.
t/32createcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/33setcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/34createactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/35setactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/36createfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/37setfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/38createescalation.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/39setescalation.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/40createcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/41setcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=25, Tests=63, 21 wallclock secs ( 0.17 usr 0.03 sys + 6.79 cusr 0.35 csys = 7.34 CPU)
Result: FAIL
Failed 17/25 test programs. 0/63 subtests failed.
make: *** [test_dynamic] Error 2
Paul Campbell | Development Team Lead | TS&D SSBL, A2R WFE, and ESP Remedy Team | Avaya Client Services |
| 1145 Sanctuary Parkway Lake View II Suite 110 Alpharetta, GA 30009 | 678-421-5342
Everyone needs deadlines. Even the beavers. They loaf around all summer, but when they are faced with the winter deadline, they work like fury. If we didn't have deadlines, we'd stagnate. Walt Disney
|
|
From: Campbell, P. (Paul) <pc...@av...> - 2012-12-11 22:01:19
|
I'm, not sure if this went through, so pardon my faux pas if I double posted
I getting the errors below when running the make tests with ARSPerl 1.9.3 using perl that I compiled as 32 bit. Any help would be much appreciated
Pardon my verbosity, but I really have tried to make this work and wanted to show my environment
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. 1/? Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ^Cmake: *** [test_dynamic] Interrupt
Here is how I have build my environment
I compiled perl using the following commands
setarch i386 sh Configure -Dcc="gcc -m32" -Dprefix=/opt/utils/perl -Dusethreads
make
make test
make install
and when use file to check /opt/utils/perl/bin/perl, it shows
[remedy@ldcremap01 ARSperl-1.93]$ file /opt/utils/perl/bin/perl
/opt/utils/perl/bin/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
And perl -V shows
[remedy@ldcremap01 ARSperl-1.93]$ /opt/utils/perl/bin/perl -V
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:
Platform:
osname=linux, osvers=, archname=i686-linux-thread-multi
uname='linux ldcremap01.xxxxx 2.6.32-279.el6.x86_64 #1 smp wed jun 13 18:24:36 edt 2012 i686 i686 i386 gnulinux '
config_args='-Dcc=gcc -m32 -Dprefix=/opt/utils/perl -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -m32', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.6 20120305 (Red Hat 4.4.6-4)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc -m32', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Dec 11 2012 09:37:19
@INC:
/opt/utils/perl/lib/site_perl/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/site_perl/5.16.2
/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/5.16.2
I used the following settings in Makefile.PL for ARSPerl
$debug = 1;
$ARSAPI = "/opt/remedy/api";
$ARSVERSION = 7.6;
$ENCRYPT = 0;
$ARCHITECTURE = "";
%ADVANCED_CONFIG = (
UNDEF_PERL_MALLOC => 0,
GETLISTGROUP_OLD_STYLE => 0,
);
if ($ARSVERSION >= 6.3) {
$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a";
#$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a $ARSAPI/libarencrypt$LARCH.a" if $ENCRYPT;
$ARS_LIBS = " -lnsl ";
-- -------
$ARS_LIBS .= " -lpthread ";
$ARS_LIBS .= " -licuucbmc -licui18nbmc -licudatabmc";
#$ARS_LIBS .= " -licuucbmc$LARCH -licui18nbmc$LARCH -licudatabmc$LARCH $ARSAPI/lib/libar$LARCH.a" if $ARSVERSION >= 7.0;
}
I ran Makefile.PL
[remedy@ldcremap01 ARSperl-1.93]$ perl Makefile.PL
Building against perl 5.016002
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
!!! ERROR: Cannot determine type for AR_SERVER_INFO constant 233 !!! at infra/exsi.pl line 91, <> line 4602.
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /opt/remedy/api
AUTODEFINES = -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
WARNING: PERL_ARCHIVE_AFTER is not a known parameter.
'PERL_ARCHIVE_AFTER' is not a known MakeMaker parameter name.
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 [ldcremap01]:
Admin Username [pc]:
Admin Password [Willie9lives]:
TCP Port [51077]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
And after I ran Makefile.PL, I modified the makefile and changed the below lines and added -m32
CCCDLFLAGS = -fPIC -m32
CCDLFLAGS = -Wl,-E -m32
LD = gcc -m32
LDDLFLAGS = -shared -O2 -L/usr/local/lib -fstack-protector -m32
LDFLAGS = -fstack-protector -L/usr/local/lib -m32
And here is the output of make
[remedy@ldcremap01 ARSperl-1.93]$ make
Skip blib/lib/ARS/arerrno-h.pm (unchanged)
Skip blib/lib/ARS/OOsup.pm (unchanged)
Skip blib/lib/ARS/ar-h.pm (unchanged)
Skip blib/lib/ARS/nparm.pm (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 support.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 supportrev.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -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="/opt/remedy/api/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector -m32 ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so \
-L/opt/remedy/api/lib -lnsl -lpthread -licuucbmc -licui18nbmc -licudatabmc /opt/remedy/api/lib/libar.a \
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
and here is the output of make test
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ok
t/11entry.t ............. ok
t/12lotsoffields.t ...... Bizarre copy of UNKNOWN in subroutine entry at t/12lotsoffields.t line 70.
t/12lotsoffields.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 101/104 subtests
t/13join.t .............. Bizarre copy of UNKNOWN in subroutine entry at t/13join.t line 111.
t/13join.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/7 subtests
t/20merge.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/20merge.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/5 subtests
t/21setlogging.t ........ ok
t/31createschema.t ...... 1/6 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x11aaff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x1127ed)[0xf2e7ed]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0033c000-0033e000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
0033e000-0033f000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
0033f000-00340000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00340000-003f8000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
003f8000-003ff000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
0042f000-00430000 r-xp 00000000 00:00 0 [vdso]
00430000-00522000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00522000-00527000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00527000-005d6000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005d6000-005db000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005db000-005e0000 rw-p 00000000 00:00 0
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00636000-0064d000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
0064d000-0064e000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
0064e000-0064f000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
0064f000-00651000 rw-p 00000000 00:00 0
00969000-009b2000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
009b2000-009b3000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
009b3000-009b4000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
009b4000-009b8000 rw-p 00000000 00:00 0
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00dec000-00df3000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
00df3000-00df4000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
00df4000-00df5000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
00df5000-00e1c000 rw-p 00000000 00:00 0
00e1c000-011df000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011df000-011ea000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011ea000-011ec000 rw-p 00000000 00:00 0
02670000-02fc9000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
02fc9000-02fca000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
0917f000-09497000 rw-p 00000000 00:00 0 [heap]
f7497000-f74ed000 rw-p 00000000 00:00 0
f74ed000-f7522000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f7522000-f7722000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f7722000-f7726000 rw-p 00000000 00:00 0
ffdb0000-ffdc3000 rwxp 00000000 00:00 0 [stack]
ffdc3000-ffdc5000 rw-p 00000000 00:00 0
t/31createschema.t ...... Failed 5/6 subtests
t/32createcontainer.t ... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/32createcontainer.t line 44.
t/32createcontainer.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/33setcontainer.t ...... 1/2 ars_GetContainer( ARSperl Test-FilterGuide1 (copy) ): [ERROR] The specified container does not exist (ARSperl Test-FilterGuide1 (copy)) (ARERR #8804)
t/33setcontainer.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/34createactlink.t ..... 1/2 ars_CreateActiveLink( ARSperl Test-alink1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/34createactlink.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/35setactlink.t ........ 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/35setactlink.t line 42.
t/35setactlink.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/36createfilter.t ...... 1/2 ars_CreateFilter( ARSperl Test-Filter1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/36createfilter.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/37setfilter.t ......... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/37setfilter.t line 42.
t/37setfilter.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/38createescalation.t .. 1/2 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x10e7ff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x109cc6)[0xe62cc6]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0031a000-00363000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
00363000-00364000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
00364000-00365000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
00365000-00369000 rw-p 00000000 00:00 0
00369000-00421000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00421000-00428000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00498000-004af000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
004af000-004b0000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
004b0000-004b1000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
004b1000-004b3000 rw-p 00000000 00:00 0
0054e000-00550000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
00550000-00551000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
00551000-00552000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00627000-00719000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00719000-0071e000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
007ae000-007b5000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
007b5000-007b6000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
007b6000-007b7000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
007b7000-007de000 rw-p 00000000 00:00 0
007de000-0088d000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
0088d000-00892000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
00892000-00897000 rw-p 00000000 00:00 0
008f4000-008f5000 r-xp 00000000 00:00 0 [vdso]
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00d59000-0111c000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
0111c000-01127000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
01127000-01129000 rw-p 00000000 00:00 0
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
08413000-08d6c000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08d6c000-08d6d000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08f59000-09270000 rw-p 00000000 00:00 0 [heap]
f7548000-f759e000 rw-p 00000000 00:00 0
f759e000-f75d3000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f75d3000-f77d3000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f77d3000-f77d7000 rw-p 00000000 00:00 0
ff8c5000-ff8d9000 rwxp 00000000 00:00 0 [stack]
ff8d9000-ff8da000 rw-p 00000000 00:00 0
t/38createescalation.t .. Failed 1/2 subtests
t/39setescalation.t ..... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/39setescalation.t line 42.
t/39setescalation.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/40createcharmenu.t .... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/40createcharmenu.t line 43.
t/40createcharmenu.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/41setcharmenu.t ....... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/41setcharmenu.t line 43.
t/41setcharmenu.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
Test Summary Report
-------------------
t/02export.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/10entry.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 10 tests but ran 1.
t/10getftinfo.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/12lotsoffields.t (Wstat: 512 Tests: 3 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 104 tests but ran 3.
t/13join.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 7 tests but ran 6.
t/20merge.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 4.
t/31createschema.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 6 tests but ran 1.
t/32createcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/33setcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/34createactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/35setactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/36createfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/37setfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/38createescalation.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/39setescalation.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/40createcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/41setcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=25, Tests=63, 21 wallclock secs ( 0.17 usr 0.03 sys + 6.79 cusr 0.35 csys = 7.34 CPU)
Result: FAIL
Failed 17/25 test programs. 0/63 subtests failed.
make: *** [test_dynamic] Error 2
Paul Campbell | Development Team Lead | TS&D SSBL, A2R WFE, and ESP Remedy Team | Avaya Client Services |
| 1145 Sanctuary Parkway Lake View II Suite 110 Alpharetta, GA 30009 | 678-421-5342
Everyone needs deadlines. Even the beavers. They loaf around all summer, but when they are faced with the winter deadline, they work like fury. If we didn't have deadlines, we'd stagnate. Walt Disney
|
|
From: Campbell, P. (Paul) <pc...@av...> - 2012-12-11 21:40:21
|
I getting the errors below when running the make tests with ARSPerl 1.9.3 using perl that I compiled as 32 bit. Any help would be much appreciated
Pardon my verbosity, but I really have tried to make this work and wanted to show my environment
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. 1/? Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ^Cmake: *** [test_dynamic] Interrupt
Here is how I have build my environment
I compiled perl using the following commands
setarch i386 sh Configure -Dcc="gcc -m32" -Dprefix=/opt/utils/perl -Dusethreads
make
make test
make install
and when use file to check /opt/utils/perl/bin/perl, it shows
[remedy@ldcremap01 ARSperl-1.93]$ file /opt/utils/perl/bin/perl
/opt/utils/perl/bin/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
And perl -V shows
[remedy@ldcremap01 ARSperl-1.93]$ /opt/utils/perl/bin/perl -V
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:
Platform:
osname=linux, osvers=, archname=i686-linux-thread-multi
uname='linux ldcremap01.xxxxx 2.6.32-279.el6.x86_64 #1 smp wed jun 13 18:24:36 edt 2012 i686 i686 i386 gnulinux '
config_args='-Dcc=gcc -m32 -Dprefix=/opt/utils/perl -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc -m32', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.6 20120305 (Red Hat 4.4.6-4)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc -m32', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Dec 11 2012 09:37:19
@INC:
/opt/utils/perl/lib/site_perl/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/site_perl/5.16.2
/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi
/opt/utils/perl/lib/5.16.2
I used the following settings in Makefile.PL for ARSPerl
$debug = 1;
$ARSAPI = "/opt/remedy/api";
$ARSVERSION = 7.6;
$ENCRYPT = 0;
$ARCHITECTURE = "";
%ADVANCED_CONFIG = (
UNDEF_PERL_MALLOC => 0,
GETLISTGROUP_OLD_STYLE => 0,
);
if ($ARSVERSION >= 6.3) {
$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a";
#$ARS_STATIC_LIB = "$ARSAPI/lib/libar$LARCH.a $ARSAPI/libarencrypt$LARCH.a" if $ENCRYPT;
$ARS_LIBS = " -lnsl ";
-- -------
$ARS_LIBS .= " -lpthread ";
$ARS_LIBS .= " -licuucbmc -licui18nbmc -licudatabmc";
#$ARS_LIBS .= " -licuucbmc$LARCH -licui18nbmc$LARCH -licudatabmc$LARCH $ARSAPI/lib/libar$LARCH.a" if $ARSVERSION >= 7.0;
}
I ran Makefile.PL
[remedy@ldcremap01 ARSperl-1.93]$ perl Makefile.PL
Building against perl 5.016002
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
!!! ERROR: Cannot determine type for AR_SERVER_INFO constant 233 !!! at infra/exsi.pl line 91, <> line 4602.
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /opt/remedy/api
AUTODEFINES = -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50
WARNING: PERL_ARCHIVE_AFTER is not a known parameter.
'PERL_ARCHIVE_AFTER' is not a known MakeMaker parameter name.
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 [ldcremap01]:
Admin Username [pc]:
Admin Password [Willie9lives]:
TCP Port [51077]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
And after I ran Makefile.PL, I modified the makefile and changed the below lines and added -m32
CCCDLFLAGS = -fPIC -m32
CCDLFLAGS = -Wl,-E -m32
LD = gcc -m32
LDDLFLAGS = -shared -O2 -L/usr/local/lib -fstack-protector -m32
LDFLAGS = -fstack-protector -L/usr/local/lib -m32
And here is the output of make
[remedy@ldcremap01 ARSperl-1.93]$ make
Skip blib/lib/ARS/arerrno-h.pm (unchanged)
Skip blib/lib/ARS/OOsup.pm (unchanged)
Skip blib/lib/ARS/ar-h.pm (unchanged)
Skip blib/lib/ARS/nparm.pm (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 ARS.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 support.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -DPERL_BASEREV_IS=50 supportrev.c
gcc -m32 -c -I/opt/remedy/api/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC -m32 "-I/opt/utils/perl/lib/5.16.2/i686-linux-thread-multi/CORE" -g -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=2 -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="/opt/remedy/api/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector -m32 ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so \
-L/opt/remedy/api/lib -lnsl -lpthread -licuucbmc -licui18nbmc -licudatabmc /opt/remedy/api/lib/libar.a \
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
and here is the output of make test
[remedy@ldcremap01 ARSperl-1.93]$ make test
PERL_DL_NONLAZY=1 /opt/utils/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... ok
t/01import.t ............ ok
t/02export.t ............ Bizarre copy of UNKNOWN in scalar assignment at t/02export.t line 33.
t/02export.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/9 subtests
t/09qualifier.t ......... ok
t/10alink.t ............. ok
t/10entry.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/10entry.t ............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests
t/10getescalation.t ..... ok
t/10getftinfo.t ......... Bizarre copy of UNKNOWN in subroutine entry at t/10getftinfo.t line 20.
t/10getftinfo.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/10getlist.t ........... ok
t/11entry.t ............. ok
t/12lotsoffields.t ...... Bizarre copy of UNKNOWN in subroutine entry at t/12lotsoffields.t line 70.
t/12lotsoffields.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 101/104 subtests
t/13join.t .............. Bizarre copy of UNKNOWN in subroutine entry at t/13join.t line 111.
t/13join.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/7 subtests
t/20merge.t ............. Bizarre copy of UNKNOWN in subroutine entry at /opt/InstallFiles/ARSperl-1.93/blib/lib/ARS/OOform.pm line 57.
t/20merge.t ............. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/5 subtests
t/21setlogging.t ........ ok
t/31createschema.t ...... 1/6 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x11aaff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x1127ed)[0xf2e7ed]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0033c000-0033e000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
0033e000-0033f000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
0033f000-00340000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00340000-003f8000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
003f8000-003ff000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
0042f000-00430000 r-xp 00000000 00:00 0 [vdso]
00430000-00522000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00522000-00527000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00527000-005d6000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005d6000-005db000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
005db000-005e0000 rw-p 00000000 00:00 0
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00636000-0064d000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
0064d000-0064e000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
0064e000-0064f000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
0064f000-00651000 rw-p 00000000 00:00 0
00969000-009b2000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
009b2000-009b3000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
009b3000-009b4000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
009b4000-009b8000 rw-p 00000000 00:00 0
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00dec000-00df3000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
00df3000-00df4000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
00df4000-00df5000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
00df5000-00e1c000 rw-p 00000000 00:00 0
00e1c000-011df000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011df000-011ea000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
011ea000-011ec000 rw-p 00000000 00:00 0
02670000-02fc9000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
02fc9000-02fca000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
0917f000-09497000 rw-p 00000000 00:00 0 [heap]
f7497000-f74ed000 rw-p 00000000 00:00 0
f74ed000-f7522000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f7522000-f7722000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f7722000-f7726000 rw-p 00000000 00:00 0
ffdb0000-ffdc3000 rwxp 00000000 00:00 0 [stack]
ffdc3000-ffdc5000 rw-p 00000000 00:00 0
t/31createschema.t ...... Failed 5/6 subtests
t/32createcontainer.t ... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/32createcontainer.t line 44.
t/32createcontainer.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/33setcontainer.t ...... 1/2 ars_GetContainer( ARSperl Test-FilterGuide1 (copy) ): [ERROR] The specified container does not exist (ARSperl Test-FilterGuide1 (copy)) (ARERR #8804)
t/33setcontainer.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/34createactlink.t ..... 1/2 ars_CreateActiveLink( ARSperl Test-alink1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/34createactlink.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/35setactlink.t ........ 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/35setactlink.t line 42.
t/35setactlink.t ........ Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/36createfilter.t ...... 1/2 ars_CreateFilter( ARSperl Test-Filter1 (copy) ): [ERROR] Cannot open catalog; Message number = 102 (-) (ARERR #102)
t/36createfilter.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/37setfilter.t ......... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/37setfilter.t line 42.
t/37setfilter.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/38createescalation.t .. 1/2 *** stack smashing detected ***: /opt/utils/perl/bin/perl terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x208f8d]
/lib/libc.so.6(-0xff8de0c6)[0x208f3a]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x38eff4)[0x10e7ff4]
/opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so(+0x109cc6)[0xe62cc6]
/opt/utils/perl/bin/perl(Perl_pp_entersub+0x597)[0x80e5917]
/opt/utils/perl/bin/perl(Perl_runops_standard+0x18)[0x80e3f98]
/opt/utils/perl/bin/perl(perl_run+0x2f2)[0x8077052]
/opt/utils/perl/bin/perl(main+0x14d)[0x805d93d]
/lib/libc.so.6(__libc_start_main+0xe6)[0x126ce6]
/opt/utils/perl/bin/perl[0x805d751]
======= Memory map: ========
00110000-0029c000 r-xp 00000000 fd:00 18778 /lib/libc-2.12.so
0029c000-0029e000 r--p 0018c000 fd:00 18778 /lib/libc-2.12.so
0029e000-0029f000 rw-p 0018e000 fd:00 18778 /lib/libc-2.12.so
0029f000-002a2000 rw-p 00000000 00:00 0
002fc000-00319000 r-xp 00000000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
00319000-0031a000 rw-p 0001d000 fd:00 18866 /lib/libgcc_s-4.4.6-20120305.so.1
0031a000-00363000 r-xp 00000000 fd:00 18765 /lib/libfreebl3.so
00363000-00364000 r--p 00048000 fd:00 18765 /lib/libfreebl3.so
00364000-00365000 rw-p 00049000 fd:00 18765 /lib/libfreebl3.so
00365000-00369000 rw-p 00000000 00:00 0
00369000-00421000 r-xp 00000000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00421000-00428000 rw-p 000b7000 fd:02 145832 /opt/remedy/api/lib/libicuucbmc.so.32
00498000-004af000 r-xp 00000000 fd:00 18795 /lib/libnsl-2.12.so
004af000-004b0000 r--p 00016000 fd:00 18795 /lib/libnsl-2.12.so
004b0000-004b1000 rw-p 00017000 fd:00 18795 /lib/libnsl-2.12.so
004b1000-004b3000 rw-p 00000000 00:00 0
0054e000-00550000 r-xp 00000000 fd:00 18817 /lib/libutil-2.12.so
00550000-00551000 r--p 00001000 fd:00 18817 /lib/libutil-2.12.so
00551000-00552000 rw-p 00002000 fd:00 18817 /lib/libutil-2.12.so
00607000-00625000 r-xp 00000000 fd:00 16388 /lib/ld-2.12.so
00625000-00626000 r--p 0001d000 fd:00 16388 /lib/ld-2.12.so
00626000-00627000 rw-p 0001e000 fd:00 16388 /lib/ld-2.12.so
00627000-00719000 r-xp 00000000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
00719000-0071e000 rw-p 000f1000 fd:02 145802 /opt/remedy/api/lib/libicui18nbmc.so.32
007ae000-007b5000 r-xp 00000000 fd:00 18789 /lib/libcrypt-2.12.so
007b5000-007b6000 r--p 00007000 fd:00 18789 /lib/libcrypt-2.12.so
007b6000-007b7000 rw-p 00008000 fd:00 18789 /lib/libcrypt-2.12.so
007b7000-007de000 rw-p 00000000 00:00 0
007de000-0088d000 r-xp 00000000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
0088d000-00892000 rw-p 000ae000 fd:00 432601 /usr/lib/libstdc++.so.5.0.7
00892000-00897000 rw-p 00000000 00:00 0
008f4000-008f5000 r-xp 00000000 00:00 0 [vdso]
00ae1000-00ae4000 r-xp 00000000 fd:00 20064 /lib/libdl-2.12.so
00ae4000-00ae5000 r--p 00002000 fd:00 20064 /lib/libdl-2.12.so
00ae5000-00ae6000 rw-p 00003000 fd:00 20064 /lib/libdl-2.12.so
00ae8000-00b10000 r-xp 00000000 fd:00 20065 /lib/libm-2.12.so
00b10000-00b11000 r--p 00027000 fd:00 20065 /lib/libm-2.12.so
00b11000-00b12000 rw-p 00028000 fd:00 20065 /lib/libm-2.12.so
00d3e000-00d55000 r-xp 00000000 fd:00 18850 /lib/libpthread-2.12.so
00d55000-00d56000 r--p 00016000 fd:00 18850 /lib/libpthread-2.12.so
00d56000-00d57000 rw-p 00017000 fd:00 18850 /lib/libpthread-2.12.so
00d57000-00d59000 rw-p 00000000 00:00 0
00d59000-0111c000 r-xp 00000000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
0111c000-01127000 rw-p 003c3000 fd:02 146177 /opt/InstallFiles/ARSperl-1.93/blib/arch/auto/ARS/ARS.so
01127000-01129000 rw-p 00000000 00:00 0
08048000-08193000 r-xp 00000000 fd:02 140048 /opt/utils/perl/bin/perl
08193000-08196000 rw-p 0014b000 fd:02 140048 /opt/utils/perl/bin/perl
08413000-08d6c000 r-xp 00000000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08d6c000-08d6d000 rw-p 00958000 fd:02 138629 /opt/remedy/api/lib/libicudatabmc.so.32
08f59000-09270000 rw-p 00000000 00:00 0 [heap]
f7548000-f759e000 rw-p 00000000 00:00 0
f759e000-f75d3000 r--s 00000000 fd:03 632 /var/db/nscd/hosts
f75d3000-f77d3000 r--p 00000000 fd:00 393147 /usr/lib/locale/locale-archive
f77d3000-f77d7000 rw-p 00000000 00:00 0
ff8c5000-ff8d9000 rwxp 00000000 00:00 0 [stack]
ff8d9000-ff8da000 rw-p 00000000 00:00 0
t/38createescalation.t .. Failed 1/2 subtests
t/39setescalation.t ..... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/39setescalation.t line 42.
t/39setescalation.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/40createcharmenu.t .... 1/2 Bizarre copy of UNKNOWN in subroutine entry at t/40createcharmenu.t line 43.
t/40createcharmenu.t .... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
t/41setcharmenu.t ....... 1/2 Bizarre copy of UNKNOWN in scalar assignment at t/41setcharmenu.t line 43.
t/41setcharmenu.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/2 subtests
Test Summary Report
-------------------
t/02export.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 9 tests but ran 0.
t/10entry.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 10 tests but ran 1.
t/10getftinfo.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/12lotsoffields.t (Wstat: 512 Tests: 3 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 104 tests but ran 3.
t/13join.t (Wstat: 512 Tests: 6 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 7 tests but ran 6.
t/20merge.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 4.
t/31createschema.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 6 tests but ran 1.
t/32createcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/33setcontainer.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/34createactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/35setactlink.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/36createfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/37setfilter.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/38createescalation.t (Wstat: 134 Tests: 1 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/39setescalation.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/40createcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/41setcharmenu.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=25, Tests=63, 21 wallclock secs ( 0.17 usr 0.03 sys + 6.79 cusr 0.35 csys = 7.34 CPU)
Result: FAIL
Failed 17/25 test programs. 0/63 subtests failed.
make: *** [test_dynamic] Error 2
Paul Campbell | Development Team Lead | TS&D SSBL, A2R WFE, and ESP Remedy Team | Avaya Client Services |
| 1145 Sanctuary Parkway Lake View II Suite 110 Alpharetta, GA 30009 | 678-421-5342
Everyone needs deadlines. Even the beavers. They loaf around all summer, but when they are faced with the winter deadline, they work like fury. If we didn't have deadlines, we'd stagnate. Walt Disney
|
|
From: Philip W. <ph...@wi...> - 2012-11-15 19:36:26
|
Thank you much, you were correct. Arsperl is working now. I'm testing. On Thu, Nov 15, 2012 at 2:31 AM, <Con...@t-...> wrote: > ** > Hi Philip, > > I think this is your problem. > > > Note (probably harmless): No library found for -licuucbmc > > Note (probably harmless): No library found for -licui18nbmc > > Note (probably harmless): No library found for -licudatabmc > try to copy all the libicu* files from /tools/bmc/remedy/bin to > /tools/bmc/remedy/api/lib > > Since 7.5 BMC does not include all necessary shared libraries into the > api/lib folder. > > HTH > > KR Conny > ------------------------------ > *Von:* Philip Wilson [mailto:ph...@wi...] > *Gesendet:* Donnerstag, 15. November 2012 05:23 > *An:* ars...@li... > *Betreff:* Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4 > > OK, I am back at it again. I really need this to work. > > I've created my own 32bit perl installation with DBI and DBD. Then I'm > adding arsperl. > > I cannot get arsperl to compile. Here are as many details as I could > gather. > > Everything in my Solaris 2.10 environment is supposed to be 32 bit. > > $ perl -V ( Could you compare this output to yours ? ) > > > > Summary of my perl5 (revision 5 version 16 subversion 0) configuration: > > Platform: > > osname=solaris, osvers=2.10, archname=sun4-solaris > > uname='sunos prescs07 5.10 generic_147440-11 sun4u sparcsunw,sun-fire-v240 ' > > config_args='-Dcc=gcc -des -Dprefix=/tools/perl' > > hint=previous, useposix=true, d_sigaction=define > > useithreads=undef, usemultiplicity=undef > > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > > use64bitint=undef, use64bitall=undef, uselongdouble=undef > > usemymalloc=n, bincompat5005=undef > > Compiler: > > cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', > > optimize='-O', > > cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV' > > ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', > gccosandvers='solaris2.10' > > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > > alignbytes=8, prototype=define > > Linker and Libraries: > > ld='gcc', ldflags =' ' > > libpth=/usr/lib /usr/ccs/lib > > libs=-lsocket -lnsl -ldl -lm -lc > > perllibs=-lsocket -lnsl -ldl -lm -lc > > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > > gnulibc_version='' > > Dynamic Linking: > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > > cccdlflags='-fPIC', lddlflags='-G' > > Characteristics of this binary (from libperl): > > Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV > > PERL_MALLOC_WRAP PERL_PRESERVE_IVUV > > PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE > > USE_LOCALE_COLLATE USE_LOCALE_CTYPE > > USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF > > Built under solaris > > Compiled at Nov 14 2012 19:39:00 > > @INC: > > /production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris > > /production/77j/perl32/lib/site_perl/5.16.0 > > /production/77j/perl32/lib/5.16.0/sun4-solaris > > /production/77j/perl32/lib/5.16.0 > > . > > ----------------------------------- > > $ env > > ARS=/tools/bmc/remedy > > PATH=/oracle/g01/software/client32/ > 9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin > : > > SHELL=/usr/bin/ksh > > > LD_LIBRARY_PATH=/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS:/usr/local/lib:/usr/sfw/lib:/oracle/g01/software/client32/ > 9.2.0.8/lib:/tools/bmc/remedy/api/lib > > ORACLE_HOME=/oracle/g01/software/client32/9.2.0.8 > > PWD=/production/77j/stage/ars/ARSperl-1.93 > > ----------------- > > Makefile.PL entries that are not commented: > > > > $ARSAPI = "/tools/bmc/remedy/api"; > > $ARSVERSION = 7.6; > > $ARCHITECTURE = ""; > > $ENCRYPT = 0; > > ------------------------------- > > Here is the compile and test: > > $ /production/77j/perl32/bin/perl Makefile.PL > > Building against perl 5.016000 > > 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.. > > Processing AR_SIGNAL codes.. > > Generating serverTypeInfoHints.h .. > > Converting C header files to perl modules .. > > Configuring with options: > > ARSVERSION = 7.60 > > ARSAPI = /tools/bmc/remedy/api > > AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 > > Note (probably harmless): No library found for -licuucbmc > > Note (probably harmless): No library found for -licui18nbmc > > Note (probably harmless): No library found for -licudatabmc > > Writing Makefile for ARS > > Writing MYMETA.yml and MYMETA.json > > === 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 []: > > TCP Port [0]: > > Type 'make' (windows: 'nmake') to build ARSperl. > > Type 'make test' to test ARSperl before installing. > > Type 'make install' to install ARSperl. > > $ make > > cp ARS/arerrno-h.pm blib/lib/ARS/arerrno-h.pm > > Skip blib/lib/ARS/OOsup.pm (unchanged) > > cp ARS/ar-h.pm blib/lib/ARS/ar-h.pm > > Skip blib/lib/ARS/nparm.pm (unchanged) > > Skip blib/lib/ARS/OOmsgs.pm (unchanged) > > Skip blib/lib/ARS/OOform.pm (unchanged) > > cp ARS.pm blib/lib/ARS.pm > > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > > /production/77j/perl32/bin/perl /production/77j/perl32/lib/5.16.0/ExtUtils > /xsubpp -typemap /production/77j/perl32/lib/5.16.0/ExtUtils/typemap - > typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c > > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" > -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 ARS.c > > ARS.c: In function `XS_ARS_ars_GetListContainer': > > ARS.xs:1197: warning: 'ret' might be used uninitialized in this function > > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" > -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 support.c > > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" > -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 supportrev.c > > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" > -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -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="/usr/lib" gcc -G ARS.o support.o supportrev.o > supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /tools/bmc/remedy/api > /lib/libar.a \ > > -L/tools/bmc/remedy/api/lib -lnsl -lpthread \ > > 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 > > > > > > $ make test > > PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM" > "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/00connect.t ........... Can't load > '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for > module ARS: ld.so.1: perl: fatal: relocation error: file > /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol > ucnv_setDefaultName_3_2: referenced symbol not found at > /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. > > at t/00connect.t line 12. > > Compilation failed in require at t/00connect.t line 12. > > BEGIN failed--compilation aborted at t/00connect.t line 12. > > t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) > > No subtests run > > t/01import.t ............ Can't load > '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for > module ARS: ld.so.1: perl: fatal: relocation error: file > /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol > ucnv_setDefaultName_3_2: referenced symbol not found at > /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. > > at t/01import.t line 7. > > Compilation failed in require at t/01import.t line 7. > > BEGIN failed--compilation aborted at t/01import.t line 7. > > t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) > > No subtests run > > t/02export.t ............ ^C$ > > ------------------------------------------------ > > Any ideas? > > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: <Con...@t-...> - 2012-11-15 08:31:48
|
Hi Philip, I think this is your problem. Note (probably harmless): No library found for -licuucbmc Note (probably harmless): No library found for -licui18nbmc Note (probably harmless): No library found for -licudatabmc try to copy all the libicu* files from /tools/bmc/remedy/bin to /tools/bmc/remedy/api/lib Since 7.5 BMC does not include all necessary shared libraries into the api/lib folder. HTH KR Conny ________________________________ Von: Philip Wilson [mailto:ph...@wi...] Gesendet: Donnerstag, 15. November 2012 05:23 An: ars...@li... Betreff: Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4 OK, I am back at it again. I really need this to work. I've created my own 32bit perl installation with DBI and DBD. Then I'm adding arsperl. I cannot get arsperl to compile. Here are as many details as I could gather. Everything in my Solaris 2.10 environment is supposed to be 32 bit. $ perl -V ( Could you compare this output to yours ? ) Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc sunw,sun-fire-v240 ' config_args='-Dcc=gcc -des -Dprefix=/tools/perl' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', optimize='-O', cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under solaris Compiled at Nov 14 2012 19:39:00 @INC: /production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris /production/77j/perl32/lib/site_perl/5.16.0 /production/77j/perl32/lib/5.16.0/sun4-solaris /production/77j/perl32/lib/5.16.0 . ----------------------------------- $ env ARS=/tools/bmc/remedy PATH=/oracle/g01/software/client32/9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin<http://9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin>: SHELL=/usr/bin/ksh LD_LIBRARY_PATH=/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS:/usr/local/lib:/usr/sfw/lib:/oracle/g01/software/client32/9.2.0.8/lib:/tools/bmc/remedy/api/lib<http://9.2.0.8/lib:/tools/bmc/remedy/api/lib> ORACLE_HOME=/oracle/g01/software/client32/9.2.0.8<http://9.2.0.8> PWD=/production/77j/stage/ars/ARSperl-1.93 ----------------- Makefile.PL entries that are not commented: $ARSAPI = "/tools/bmc/remedy/api"; $ARSVERSION = 7.6; $ARCHITECTURE = ""; $ENCRYPT = 0; ------------------------------- Here is the compile and test: $ /production/77j/perl32/bin/perl Makefile.PL Building against perl 5.016000 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.. Processing AR_SIGNAL codes.. Generating serverTypeInfoHints.h .. Converting C header files to perl modules .. Configuring with options: ARSVERSION = 7.60 ARSAPI = /tools/bmc/remedy/api AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 Note (probably harmless): No library found for -licuucbmc Note (probably harmless): No library found for -licui18nbmc Note (probably harmless): No library found for -licudatabmc Writing Makefile for ARS Writing MYMETA.yml and MYMETA.json === 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 []: TCP Port [0]: Type 'make' (windows: 'nmake') to build ARSperl. Type 'make test' to test ARSperl before installing. Type 'make install' to install ARSperl. $ make cp ARS/arerrno-h.pm<http://arerrno-h.pm> blib/lib/ARS/arerrno-h.pm<http://arerrno-h.pm> Skip blib/lib/ARS/OOsup.pm (unchanged) cp ARS/ar-h.pm<http://ar-h.pm> blib/lib/ARS/ar-h.pm<http://ar-h.pm> Skip blib/lib/ARS/nparm.pm<http://nparm.pm> (unchanged) Skip blib/lib/ARS/OOmsgs.pm (unchanged) Skip blib/lib/ARS/OOform.pm (unchanged) cp ARS.pm blib/lib/ARS.pm AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) /production/77j/perl32/bin/perl /production/77j/perl32/lib/5.16.0/ExtUtils/xsubpp -typemap /production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 ARS.c ARS.c: In function `XS_ARS_ars_GetListContainer': ARS.xs:1197: warning: 'ret' might be used uninitialized in this function gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 support.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 supportrev.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -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="/usr/lib" gcc -G ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /tools/bmc/remedy/api/lib/libar.a \ -L/tools/bmc/remedy/api/lib -lnsl -lpthread \ 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 $ make test PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00connect.t ........... Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. at t/00connect.t line 12. Compilation failed in require at t/00connect.t line 12. BEGIN failed--compilation aborted at t/00connect.t line 12. t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/01import.t ............ Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. at t/01import.t line 7. Compilation failed in require at t/01import.t line 7. BEGIN failed--compilation aborted at t/01import.t line 7. t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/02export.t ............ ^C$ ------------------------------------------------ Any ideas? |
|
From: Philip W. <ph...@wi...> - 2012-11-15 04:54:14
|
OK, I am back at it again. I really need this to work. I've created my own 32bit perl installation with DBI and DBD. Then I'm adding arsperl. I cannot get arsperl to compile. Here are as many details as I could gather. Everything in my Solaris 2.10 environment is supposed to be 32 bit. $ perl -V ( Could you compare this output to yours ? ) Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc sunw,sun-fire-v240 ' config_args='-Dcc=gcc -des -Dprefix=/tools/perl' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', optimize='-O', cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize =8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under solaris Compiled at Nov 14 2012 19:39:00 @INC: /production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris /production/77j/perl32/lib/site_perl/5.16.0 /production/77j/perl32/lib/5.16.0/sun4-solaris /production/77j/perl32/lib/5.16.0 . ----------------------------------- $ env ARS=/tools/bmc/remedy PATH=/oracle/g01/software/client32/ 9.2.0.8/bin:/production/77j/perl32/bin:/oracle/g01/software/client32/9.2.0.8/bin:/usr/bin::/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin::/usr/sbin : SHELL=/usr/bin/ksh LD_LIBRARY_PATH=/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS:/usr/local/lib:/usr/sfw/lib:/oracle/g01/software/client32/ 9.2.0.8/lib:/tools/bmc/remedy/api/lib ORACLE_HOME=/oracle/g01/software/client32/9.2.0.8 PWD=/production/77j/stage/ars/ARSperl-1.93 ----------------- Makefile.PL entries that are not commented: $ARSAPI = "/tools/bmc/remedy/api"; $ARSVERSION = 7.6; $ARCHITECTURE = ""; $ENCRYPT = 0; ------------------------------- Here is the compile and test: $ /production/77j/perl32/bin/perl Makefile.PL Building against perl 5.016000 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.. Processing AR_SIGNAL codes.. Generating serverTypeInfoHints.h .. Converting C header files to perl modules .. Configuring with options: ARSVERSION = 7.60 ARSAPI = /tools/bmc/remedy/api AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 Note (probably harmless): No library found for -licuucbmc Note (probably harmless): No library found for -licui18nbmc Note (probably harmless): No library found for -licudatabmc Writing Makefile for ARS Writing MYMETA.yml and MYMETA.json === 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 []: TCP Port [0]: Type 'make' (windows: 'nmake') to build ARSperl. Type 'make test' to test ARSperl before installing. Type 'make install' to install ARSperl. $ make cp ARS/arerrno-h.pm blib/lib/ARS/arerrno-h.pm Skip blib/lib/ARS/OOsup.pm (unchanged) cp ARS/ar-h.pm blib/lib/ARS/ar-h.pm Skip blib/lib/ARS/nparm.pm (unchanged) Skip blib/lib/ARS/OOmsgs.pm (unchanged) Skip blib/lib/ARS/OOform.pm (unchanged) cp ARS.pm blib/lib/ARS.pm AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) /production/77j/perl32/bin/perl /production/77j/perl32/lib/5.16.0/ExtUtils/ xsubpp -typemap /production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 ARS.c ARS.c: In function `XS_ARS_ars_GetListContainer': ARS.xs:1197: warning: 'ret' might be used uninitialized in this function gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 support.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 supportrev.c gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -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="/usr/lib" gcc -G ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /tools/bmc/remedy/api /lib/libar.a \ -L/tools/bmc/remedy/api/lib -lnsl -lpthread \ 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 $ make test PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00connect.t ........... Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. at t/00connect.t line 12. Compilation failed in require at t/00connect.t line 12. BEGIN failed--compilation aborted at t/00connect.t line 12. t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/01import.t ............ Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. at t/01import.t line 7. Compilation failed in require at t/01import.t line 7. BEGIN failed--compilation aborted at t/01import.t line 7. t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/02export.t ............ ^C$ ------------------------------------------------ Any ideas? |
|
From: Austin, T. (OET) <ted...@st...> - 2012-11-06 18:18:05
|
Philip,
If problem still exists,
1) Do all Paul recommended
2) Do what Jeff Murphy advised me:
> Note (probably harmless): No library found for -licuucbmc
> Note (probably harmless): No library found for -licui18nbmc
> Note (probably harmless): No library found for -licudatabmc
You need to track down those libraries and make sure they are
located somewhere where make will find them (eg where ever libar is)
I basically copied these files from ../ars/bin to ../api/lib
ted....
From: Paul Blasquez [mailto:pbl...@gm...]
Sent: Thursday, October 11, 2012 2:48 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Arsperl-users Digest, Vol 61, Issue 4
Philip,
I would verify that everything is indeed 32bit with the 'file' utility, especially your perl binary. You may find that it is 64bit even though you did not set the 64bit compile flag. If I recall correctly, I had to add the -m32 flag to all perl compile lines (some were buried beyond the configuration section of the makefile) and use a custom library path that only had 32bit libraries on this step.
Also, I did not see any -m32 options in your ARSPerl compile lines so I you will probably need to add those once your 32bit perl is confirmed.
It is actually a bit tricky to force 32 bit compilation in a 64 bit environment so you must double-check.
-Paul
On Thu, Oct 11, 2012 at 12:00 PM, Philip Wilson <ph...@wi...<mailto:ph...@wi...>> wrote:
OK, I recompiled everything as 32bit. Same exact issue. Any other ideas?
Here is a transcript:
$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris
uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc sunw,sun-fire-v240 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe'
ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under solaris
Compiled at Oct 11 2012 12:30:46
@INC:
/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris
/production/77j/perl32/lib/site_perl/5.16.0
/production/77j/perl32/lib/5.16.0/sun4-solaris
/production/77j/perl32/lib/5.16.0
.
$ perl Makefile.PL
found API Version: 18
derived server version from ar.h:
found ar libraries: $VAR1 = [];
Building against perl 5.016000
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /tools/bmc/remedy/api
AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc
Note (probably harmless): No library found for -licui18nbmc
Note (probably harmless): No library found for -licudatabmc
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 []:
TCP Port [0]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
$ make
cp ARS/arerrno-h.pm<http://arerrno-h.pm> blib/lib/ARS/arerrno-h.pm<http://arerrno-h.pm>
Skip blib/lib/ARS/OOsup.pm (unchanged)
cp ARS/ar-h.pm<http://ar-h.pm> blib/lib/ARS/ar-h.pm<http://ar-h.pm>
Skip blib/lib/ARS/nparm.pm<http://nparm.pm> (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
cp ARS.pm blib/lib/ARS.pm
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
/production/77j/perl32/bin/perl /production/77j/perl32/lib/5.16.0/ExtUtils/xsubpp -typemap /production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc && mv ARS.xsc ARS.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 support.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 supportrev.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -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="/usr/lib" gcc -G ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /tools/bmc/remedy/api/lib/libar.a \
-L/tools/bmc/remedy/api/lib -lnsl -lpthread \
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
$ make test
PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190.
at t/00connect.t line 12.
Compilation failed in require at t/00connect.t line 12.
BEGIN failed--compilation aborted at t/00connect.t line 12.
t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/01import.t ............ Can't load '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190.
at t/01import.t line 7.
Compilation failed in require at t/01import.t line 7.
BEGIN failed--compilation aborted at t/01import.t line 7.
t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
^C
---------- Forwarded message ----------
From: Paul Blasquez <pbl...@gm...<mailto:pbl...@gm...>>
To: ARSperl User Discussion <ars...@li...<mailto:ars...@li...>>
Cc:
Date: Tue, 9 Oct 2012 14:33:29 -0700
Subject: Re: [Arsperl-users] arsperl compile issue
Hi Philip,
It looks to me that you tried to compile as 64bit. Your compile output had quite a few incompatible type errors and unfortunately those are fatal during runtime. As far as I know, nobody has successfully compiled ARSPerl as 64bit..
The only method I am aware of by which you can install ARSPerl in a 64bit environment is using a custom 32bit perl with all compiler lines (for both compiling the custom perl and the ARSPerl) having the argument of -m32 and having a 32bit version of all libraries in the library path. I just did this recently (about a month ago) and I was able to get it running as 32bit perl/ARSPerl on a 64bit OS.
Hope this helps.
-Paul
On Tue, Oct 9, 2012 at 1:59 PM, Philip Wilson <ph...@wi...<mailto:ph...@wi...>> wrote:
I have the LD_LIBRARY_PATH variable set:
$ echo $LD_LIBRARY_PATH
/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS<http://11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS>
$ ./testars11.pl<http://testars11.pl/>
Can't load '/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so: symbol ucnv_setDefaultName_3_2: referenced symbol not found at /production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line 190.
at ./testars11.pl<http://testars11.pl/> line 5.
Compilation failed in require at ./testars11.pl<http://testars11.pl/> line 5.
BEGIN failed--compilation aborted at ./testars11.pl<http://testars11.pl/> line 5.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
--
Arsperl-users mailing list
Ars...@li...<mailto:Ars...@li...>
https://lists.sourceforge.net/lists/listinfo/arsperl-users
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Arsperl-users mailing list
Ars...@li...<mailto:Ars...@li...>
https://lists.sourceforge.net/lists/listinfo/arsperl-users
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
--
Arsperl-users mailing list
Ars...@li...<mailto:Ars...@li...>
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Austin, T. (OET) <ted...@st...> - 2012-10-30 13:39:52
|
Thanks. From: jeff murphy [mailto:jcm...@je...] Sent: Tuesday, October 30, 2012 8:10 AM To: ARSperl User Discussion Subject: Re: [Arsperl-users] Having problems loadin arsperl These are an issue. On Oct 29, 2012, at 11:47 AM, "Austin, Ted (OET)" <ted...@st...<mailto:ted...@st...>> wrote: Note (probably harmless): No library found for -licuucbmc Note (probably harmless): No library found for -licui18nbmc Note (probably harmless): No library found for -licudatabmc You need to track down those libraries and make sure they are located somewhere where make will find them (eg where ever libar is) jeff |
|
From: <Con...@t-...> - 2012-10-30 13:38:57
|
Hi Ted,
I googled around for __1cG__CrunSregister_exit_code6FpG_v_v_ and it seems that there exists a patch for the c-runtime libraries for solaris.
HTH
KR Conny
________________________________
Von: Austin, Ted (OET) [mailto:ted...@st...]
Gesendet: Montag, 29. Oktober 2012 16:48
An: ars...@li...
Betreff: [Arsperl-users] Having problems loadin arsperl
I am trying to install ARSperl 1.93 on ARS 7.6.04 in a Solaris 10 environment.
Has anyone successfully install in this environment? I am using gcc and had to reinstall Perl. I have tried 5.16.1 and 5.12.4 but I continue to get the following when I run make test:
t/00connect.t ........... Can't load '/apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found at usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/DynaLoader.pm line 190.
at t/00connect.t line 12.
.
.
When I do perl Makefile.PL, I get:
$ perl Makefile.PL
Building against perl 5.016001
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /apps/bmc/ars/api
AUTODEFINES = -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc
Note (probably harmless): No library found for -licui18nbmc
Note (probably harmless): No library found for -licudatabmc
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== ARSperl 'make test' configuration. ===
When I do make I get:
# make
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 support.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -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="/usr/lib" gcc -G -L/usr/local/lib ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /apps/bmc/ars/api/lib/libar.a \
-L/apps/bmc/ars/api/lib -lnsl -lpthread \
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
Help.
ted....
Ted Austin
Information Systems Software
Office of Enterprise Technology
State of Minnesota
658 Cedar Street, Room 510
St. Paul, MN 55155
651-201-1204
|
|
From: jeff m. <jcm...@je...> - 2012-10-30 13:38:29
|
These are an issue. On Oct 29, 2012, at 11:47 AM, "Austin, Ted (OET)" <ted...@st...> wrote: > Note (probably harmless): No library found for -licuucbmc > Note (probably harmless): No library found for -licui18nbmc > Note (probably harmless): No library found for -licudatabmc You need to track down those libraries and make sure they are located somewhere where make will find them (eg where ever libar is) jeff |
|
From: Austin, T. (OET) <ted...@st...> - 2012-10-29 15:48:16
|
I am trying to install ARSperl 1.93 on ARS 7.6.04 in a Solaris 10 environment.
Has anyone successfully install in this environment? I am using gcc and had to reinstall Perl. I have tried 5.16.1 and 5.12.4 but I continue to get the following when I run make test:
t/00connect.t ........... Can't load '/apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found at usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/DynaLoader.pm line 190.
at t/00connect.t line 12.
.
.
When I do perl Makefile.PL, I get:
$ perl Makefile.PL
Building against perl 5.016001
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /apps/bmc/ars/api
AUTODEFINES = -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc
Note (probably harmless): No library found for -licui18nbmc
Note (probably harmless): No library found for -licudatabmc
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== ARSperl 'make test' configuration. ===
When I do make I get:
# make
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 support.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 supportrev.c
gcc -c -I/apps/bmc/ars/api/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC "-I/usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/CORE" -g -m32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -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="/usr/lib" gcc -G -L/usr/local/lib ARS.o support.o supportrev.o supportrev_generated.o -o blib/arch/auto/ARS/ARS.so /apps/bmc/ars/api/lib/libar.a \
-L/apps/bmc/ars/api/lib -lnsl -lpthread \
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
Help.
ted....
Ted Austin
Information Systems Software
Office of Enterprise Technology
State of Minnesota
658 Cedar Street, Room 510
St. Paul, MN 55155
651-201-1204
|
|
From: Austin, T. (OET) <ted...@st...> - 2012-10-23 16:45:29
|
I am having difficulty installing arsperl 1.93 with ARS 7.6.04 on solaris 10. While it seems to go through "make" ok, I continue to get the following make test error: t/00connect.t ........... Can't load '/apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so' for module ARS: ld.so.1: perl: fatal: relocation error: file /apps/tmp1/1.93/blib/arch/auto/ARS/ARS.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found at usr/perl5/5.16.1/lib/5.16.1/sun4-solaris/DynaLoader.pm line 190. at t/00connect.t line 12. . . Line 12 in 00connect.t is "use ARS;" Please help. ted.... Ted Austin 651-201-1204 |
|
From: Paul B. <pbl...@gm...> - 2012-10-11 19:47:47
|
Philip, I would verify that everything is indeed 32bit with the 'file' utility, especially your perl binary. You may find that it is 64bit even though you did not set the 64bit compile flag. If I recall correctly, I had to add the -m32 flag to all perl compile lines (some were buried beyond the configuration section of the makefile) and use a custom library path that only had 32bit libraries on this step. Also, I did not see any -m32 options in your ARSPerl compile lines so I you will probably need to add those once your 32bit perl is confirmed. It is actually a bit tricky to force 32 bit compilation in a 64 bit environment so you must double-check. -Paul On Thu, Oct 11, 2012 at 12:00 PM, Philip Wilson <ph...@wi...>wrote: > OK, I recompiled everything as 32bit. Same exact issue. Any other ideas? > > > Here is a transcript: > $ perl -V > Summary of my perl5 (revision 5 version 16 subversion 0) configuration: > Platform: > osname=solaris, osvers=2.10, archname=sun4-solaris > uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc > sunw,sun-fire-v240 ' > config_args='' > hint=recommended, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=undef, use64bitall=undef, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', > optimize='-O', > cppflags='-fno-strict-aliasing -pipe' > ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', > gccosandvers='solaris2.10' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' ' > libpth=/usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -ldl -lm -lc > perllibs=-lsocket -lnsl -ldl -lm -lc > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G' > > Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV > PERL_MALLOC_WRAP PERL_PRESERVE_IVUV > PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE > USE_LOCALE_COLLATE USE_LOCALE_CTYPE > USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF > Built under solaris > Compiled at Oct 11 2012 12:30:46 > @INC: > /production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris > /production/77j/perl32/lib/site_perl/5.16.0 > /production/77j/perl32/lib/5.16.0/sun4-solaris > /production/77j/perl32/lib/5.16.0 > . > > $ perl Makefile.PL > found API Version: 18 > derived server version from ar.h: > found ar libraries: $VAR1 = []; > Building against perl 5.016000 > 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.. > Processing AR_SIGNAL codes.. > Generating serverTypeInfoHints.h .. > Converting C header files to perl modules .. > Configuring with options: > ARSVERSION = 7.60 > ARSAPI = /tools/bmc/remedy/api > AUTODEFINES = -g -Wno-unused-variable -Wuninitialized > -DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16 > -DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50 > Note (probably harmless): No library found for -licuucbmc > Note (probably harmless): No library found for -licui18nbmc > Note (probably harmless): No library found for -licudatabmc > Writing Makefile for ARS > Writing MYMETA.yml and MYMETA.json > === 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 []: > TCP Port [0]: > Type 'make' (windows: 'nmake') to build ARSperl. > Type 'make test' to test ARSperl before installing. > Type 'make install' to install ARSperl. > $ make > cp ARS/arerrno-h.pm blib/lib/ARS/arerrno-h.pm > Skip blib/lib/ARS/OOsup.pm (unchanged) > cp ARS/ar-h.pm blib/lib/ARS/ar-h.pm > Skip blib/lib/ARS/nparm.pm (unchanged) > Skip blib/lib/ARS/OOmsgs.pm (unchanged) > Skip blib/lib/ARS/OOform.pm (unchanged) > cp ARS.pm blib/lib/ARS.pm > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > /production/77j/perl32/bin/perl > /production/77j/perl32/lib/5.16.0/ExtUtils/xsubpp -typemap > /production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs > > ARS.xsc && mv ARS.xsc ARS.c > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC > "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g > -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 > -DPERL_BASEREV_IS=50 ARS.c > ARS.c: In function `XS_ARS_ars_GetListContainer': > ARS.xs:1197: warning: 'ret' might be used uninitialized in this function > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC > "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g > -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 > -DPERL_BASEREV_IS=50 support.c > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC > "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g > -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0 > -DPERL_BASEREV_IS=50 supportrev.c > gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O > -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC > "-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g > -Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32 > -DARS452 -DPERL_PATCHLEVEL_IS=16 -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="/usr/lib" gcc -G ARS.o support.o supportrev.o > supportrev_generated.o -o blib/arch/auto/ARS/ARS.so > /tools/bmc/remedy/api/lib/libar.a \ > -L/tools/bmc/remedy/api/lib -lnsl -lpthread \ > 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 > $ make test > PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/00connect.t ........... Can't load > '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for > module ARS: ld.so.1: perl: fatal: relocation error: file > /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol > ucnv_setDefaultName_3_2: referenced symbol not found at > /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. > at t/00connect.t line 12. > Compilation failed in require at t/00connect.t line 12. > BEGIN failed--compilation aborted at t/00connect.t line 12. > t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > t/01import.t ............ Can't load > '/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for > module ARS: ld.so.1: perl: fatal: relocation error: file > /production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol > ucnv_setDefaultName_3_2: referenced symbol not found at > /production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190. > at t/01import.t line 7. > Compilation failed in require at t/01import.t line 7. > BEGIN failed--compilation aborted at t/01import.t line 7. > t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ^C > > > > > > >> ---------- Forwarded message ---------- >> From: Paul Blasquez <pbl...@gm...> >> To: ARSperl User Discussion <ars...@li...> >> Cc: >> Date: Tue, 9 Oct 2012 14:33:29 -0700 >> Subject: Re: [Arsperl-users] arsperl compile issue >> Hi Philip, >> >> It looks to me that you tried to compile as 64bit. Your compile output >> had quite a few incompatible type errors and unfortunately those are fatal >> during runtime. As far as I know, nobody has successfully compiled ARSPerl >> as 64bit.. >> >> The only method I am aware of by which you can install ARSPerl in a 64bit >> environment is using a custom 32bit perl with all compiler lines (for both >> compiling the custom perl and the ARSPerl) having the argument of -m32 and >> having a 32bit version of all libraries in the library path. I just did >> this recently (about a month ago) and I was able to get it running as 32bit >> perl/ARSPerl on a 64bit OS. >> >> Hope this helps. >> >> -Paul >> >> On Tue, Oct 9, 2012 at 1:59 PM, Philip Wilson <ph...@wi...>wrote: >> >>> I have the LD_LIBRARY_PATH variable set: >>> >>> $ echo $LD_LIBRARY_PATH >>> /oracle/g01/software/rdbms/ >>> 11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS >>> $ ./testars11.pl >>> >>> Can't load >>> '/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so' >>> for module ARS: ld.so.1: perl: fatal: relocation error: file >>> /production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so: >>> symbol ucnv_setDefaultName_3_2: referenced symbol not found at >>> /production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line >>> 190. >>> at ./testars11.pl line 5. >>> Compilation failed in require at ./testars11.pl line 5. >>> BEGIN failed--compilation aborted at ./testars11.pl line 5. >>> >>> >>> ------------------------------------------------------------------------------ >>> Don't let slow site performance ruin your business. Deploy New Relic APM >>> Deploy New Relic app performance management and know exactly >>> what is happening inside your Ruby, Python, PHP, Java, and .NET app >>> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >>> http://p.sf.net/sfu/newrelic-dev2dev >>> >>> >>> -- >>> Arsperl-users mailing list >>> Ars...@li... >>> https://lists.sourceforge.net/lists/listinfo/arsperl-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Arsperl-users mailing list >> Ars...@li... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Philip W. <ph...@wi...> - 2012-10-11 19:30:08
|
>
> OK, I recompiled everything as 32bit. Same exact issue. Any other ideas?
Here is a transcript:
$ perl -V
Summary of my perl5 (revision 5 version 16 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris
uname='sunos prescs07 5.10 generic_147440-11 sun4u sparc
sunw,sun-fire-v240 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe'
ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)',
gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV USE_LARGE_FILES USE_LOCALE
USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under solaris
Compiled at Oct 11 2012 12:30:46
@INC:
/production/77j/perl32/lib/site_perl/5.16.0/sun4-solaris
/production/77j/perl32/lib/site_perl/5.16.0
/production/77j/perl32/lib/5.16.0/sun4-solaris
/production/77j/perl32/lib/5.16.0
.
$ perl Makefile.PL
found API Version: 18
derived server version from ar.h:
found ar libraries: $VAR1 = [];
Building against perl 5.016000
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..
Processing AR_SIGNAL codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.60
ARSAPI = /tools/bmc/remedy/api
AUTODEFINES = -g -Wno-unused-variable -Wuninitialized
-DGETLISTGROUP_OLD_STYLE -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=16
-DPERL_SUBVERSION_IS=0 -DPERL_BASEREV_IS=50
Note (probably harmless): No library found for -licuucbmc
Note (probably harmless): No library found for -licui18nbmc
Note (probably harmless): No library found for -licudatabmc
Writing Makefile for ARS
Writing MYMETA.yml and MYMETA.json
=== 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 []:
TCP Port [0]:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
$ make
cp ARS/arerrno-h.pm blib/lib/ARS/arerrno-h.pm
Skip blib/lib/ARS/OOsup.pm (unchanged)
cp ARS/ar-h.pm blib/lib/ARS/ar-h.pm
Skip blib/lib/ARS/nparm.pm (unchanged)
Skip blib/lib/ARS/OOmsgs.pm (unchanged)
Skip blib/lib/ARS/OOform.pm (unchanged)
cp ARS.pm blib/lib/ARS.pm
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
/production/77j/perl32/bin/perl
/production/77j/perl32/lib/5.16.0/ExtUtils/xsubpp -typemap
/production/77j/perl32/lib/5.16.0/ExtUtils/typemap -typemap typemap ARS.xs
> ARS.xsc && mv ARS.xsc ARS.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O
-DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g
-Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50 ARS.c
ARS.c: In function `XS_ARS_ars_GetListContainer':
ARS.xs:1197: warning: 'ret' might be used uninitialized in this function
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O
-DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g
-Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50 support.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O
-DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g
-Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=0
-DPERL_BASEREV_IS=50 supportrev.c
gcc -c -I/tools/bmc/remedy/api/include -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O
-DVERSION=\"1.93\" -DXS_VERSION=\"1.93\" -fPIC
"-I/production/77j/perl32/lib/5.16.0/sun4-solaris/CORE" -g
-Wno-unused-variable -Wuninitialized -DGETLISTGROUP_OLD_STYLE -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=16 -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="/usr/lib" gcc -G ARS.o support.o supportrev.o
supportrev_generated.o -o blib/arch/auto/ARS/ARS.so
/tools/bmc/remedy/api/lib/libar.a \
-L/tools/bmc/remedy/api/lib -lnsl -lpthread \
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
$ make test
PERL_DL_NONLAZY=1 /production/77j/perl32/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00connect.t ........... Can't load
'/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for
module ARS: ld.so.1: perl: fatal: relocation error: file
/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol
ucnv_setDefaultName_3_2: referenced symbol not found at
/production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190.
at t/00connect.t line 12.
Compilation failed in require at t/00connect.t line 12.
BEGIN failed--compilation aborted at t/00connect.t line 12.
t/00connect.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/01import.t ............ Can't load
'/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so' for
module ARS: ld.so.1: perl: fatal: relocation error: file
/production/77j/stage/ars/ARSperl-1.93/blib/arch/auto/ARS/ARS.so: symbol
ucnv_setDefaultName_3_2: referenced symbol not found at
/production/77j/perl32/lib/5.16.0/sun4-solaris/DynaLoader.pm line 190.
at t/01import.t line 7.
Compilation failed in require at t/01import.t line 7.
BEGIN failed--compilation aborted at t/01import.t line 7.
t/01import.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
^C
> ---------- Forwarded message ----------
> From: Paul Blasquez <pbl...@gm...>
> To: ARSperl User Discussion <ars...@li...>
> Cc:
> Date: Tue, 9 Oct 2012 14:33:29 -0700
> Subject: Re: [Arsperl-users] arsperl compile issue
> Hi Philip,
>
> It looks to me that you tried to compile as 64bit. Your compile output had
> quite a few incompatible type errors and unfortunately those are fatal
> during runtime. As far as I know, nobody has successfully compiled ARSPerl
> as 64bit..
>
> The only method I am aware of by which you can install ARSPerl in a 64bit
> environment is using a custom 32bit perl with all compiler lines (for both
> compiling the custom perl and the ARSPerl) having the argument of -m32 and
> having a 32bit version of all libraries in the library path. I just did
> this recently (about a month ago) and I was able to get it running as 32bit
> perl/ARSPerl on a 64bit OS.
>
> Hope this helps.
>
> -Paul
>
> On Tue, Oct 9, 2012 at 1:59 PM, Philip Wilson <ph...@wi...>wrote:
>
>> I have the LD_LIBRARY_PATH variable set:
>>
>> $ echo $LD_LIBRARY_PATH
>> /oracle/g01/software/rdbms/
>> 11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS
>> $ ./testars11.pl
>>
>> Can't load
>> '/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so'
>> for module ARS: ld.so.1: perl: fatal: relocation error: file
>> /production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:
>> symbol ucnv_setDefaultName_3_2: referenced symbol not found at
>> /production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line
>> 190.
>> at ./testars11.pl line 5.
>> Compilation failed in require at ./testars11.pl line 5.
>> BEGIN failed--compilation aborted at ./testars11.pl line 5.
>>
>>
>> ------------------------------------------------------------------------------
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> http://p.sf.net/sfu/newrelic-dev2dev
>>
>>
>> --
>> Arsperl-users mailing list
>> Ars...@li...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Arsperl-users mailing list
> Ars...@li...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Paul B. <pbl...@gm...> - 2012-10-09 21:33:37
|
Hi Philip, It looks to me that you tried to compile as 64bit. Your compile output had quite a few incompatible type errors and unfortunately those are fatal during runtime. As far as I know, nobody has successfully compiled ARSPerl as 64bit.. The only method I am aware of by which you can install ARSPerl in a 64bit environment is using a custom 32bit perl with all compiler lines (for both compiling the custom perl and the ARSPerl) having the argument of -m32 and having a 32bit version of all libraries in the library path. I just did this recently (about a month ago) and I was able to get it running as 32bit perl/ARSPerl on a 64bit OS. Hope this helps. -Paul On Tue, Oct 9, 2012 at 1:59 PM, Philip Wilson <ph...@wi...> wrote: > I have the LD_LIBRARY_PATH variable set: > > $ echo $LD_LIBRARY_PATH > /oracle/g01/software/rdbms/ > 11.2.0.3/lib:/tools/bmc/remedy/bin:/tools/bmc/remedy/api/lib:/tools/bmc/remedy/arealdap:/tools/bmc/remedy/ardbcldap:/oracle/g01/software/rdbms/11.2.0.3/lib:/tools/java16/jre/lib/sparc/server:/tools/java16/jre/bin:/tools/java16/jre/lib/sparc/native_threads:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so:/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS > $ ./testars11.pl > > Can't load > '/production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so' > for module ARS: ld.so.1: perl: fatal: relocation error: file > /production/77j/customperl/lib/site_perl/5.16.0/sun4-solaris-64/auto/ARS/ARS.so: > symbol ucnv_setDefaultName_3_2: referenced symbol not found at > /production/77j/customperl/lib/5.16.0/sun4-solaris-64/DynaLoader.pm line > 190. > at ./testars11.pl line 5. > Compilation failed in require at ./testars11.pl line 5. > BEGIN failed--compilation aborted at ./testars11.pl line 5. > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > -- > Arsperl-users mailing list > Ars...@li... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |