Re: [Arsperl-users] ARSperl install problem on Solaris 9
Brought to you by:
jeffmurphy
|
From: S G <mye...@gm...> - 2005-08-30 18:27:45
|
That worked. I found the '&serverName,' entry in line 4100 instead of 4158.= =20 Other than that it compiled and installed without any hitches. I still have= =20 some testing to do but generally it seems to be working. THANKS !! -S On 8/24/05, Stapff, Thilo <thi...@ma...> wrote: >=20 > You might try replacing line 4158 in "ARS.xs" (in the function call to=20 > ARDecodeAlertMessage) as follows: Replace > &serverName, > by > #if AR_EXPORT_VERSION >=3D 7 > &serverName, > #endif > ARSperl-1.8.3 should compile with this change, at least it does on=20 > Windows.=20 > > Isn't Solaris a popular platform. I wonder why this problem was not=20 > seen before?? > Surely it is. This problem isn't even Solaris-specific. Maybe 5.0 is not = a=20 > popular version anymore. > Anyway, there is ongoing work concerning this problem. Expect to see this= =20 > resolved soon. > Regards, > Thilo=20 > =20 > -----Urspr=FCngliche Nachricht----- > *Von:* S G [mailto:mye...@gm...]=20 > *Gesendet:* Dienstag, 23. August 2005 17:34 > *An:* ars...@ar... > *Betreff:* Re: [Arsperl-users] ARSperl install problem on Solaris 9 >=20 > Hello, > THANKS for your help. That was certainly illuminating. I tried with=20 > ARSperl 1.83 and got a different error as you said. I get the same error= =20 > using version 1.82 even. Isn't Solaris a popular platform. I wonder why= =20 > this problem was not seen before?? >=20 > -------------1.83------------- > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS) > /usr/local/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap= =20 > /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap ARS.xs >=20 > ARS.xsc && mv ARS.xsc ARS.c > gcc -c -I/groups/abacus/arheaders/api/include -fno-strict-aliasing=20 > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O=20 > -DVERSION=3D\"1.83\" -DXS_VERSION=3D\"1.83\" -fPIC=20 > "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" -g -DARS32 -DARS452=20 > -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D3 -DPERL_BASEREV_IS=3D50 = ARS.c > ARS.xs: In function `XS_ARS_ars_DecodeAlertMessage': > ARS.xs:4104: warning: passing arg 12 of `ARDecodeAlertMessage' from=20 > incompatible pointer type > ARS.xs:4104: error: too many arguments to function `ARDecodeAlertMessage' > make: *** [ARS.o] Error 1 > root @ atlas >=20 > ---------------------------- >=20 > THanks! >=20 > On 8/22/05, Stapff, Thilo <thi...@ma...> wrote:=20 > >=20 > > The correspondence between AR_EXPORT_VERSION and $ARSVERSION (which=20 > > should match the version of your ARS Server) is as follows: > >=20 > > 6L -> 5.0.*=20 > > 7L -> 5.1.*=20 > > 8L -> 6.*=20 > >=20 > > So it looks like you have 5.0 libraries and should therefore set=20 > >=20 > > $ARSVERSION =3D 5.0;=20 > >=20 > > ARSperl-1.84 will, however, not compile against the 5.* API.=20 > > ARSperl-1.83 may or may not work, but should definitely give another=20 > > error message if it fails. > >=20 > >=20 > > Regards,=20 > > Thilo Stapff=20 > >=20 > >=20 > > -----Urspr=FCngliche Nachricht-----=20 > > Von: S G [mailto:mye...@gm... <mye...@gm...>]=20 > > Gesendet: Montag, 22. August 2005 00:03=20 > > An: ars...@ar...=20 > > Betreff: [Arsperl-users] ARSperl install problem on Solaris 9=20 > > =20 > > Hello,=20 > > I have a install problem on solaris 9 (sparc).=20 > >=20 > > 1) I downloaded ARSperl-1.84.=20 > > 2) Added the path to the header files as '$ARSAPI =3D=20 > > "/groups/abacus/arheaders/api";' in the Makefile.PL.=20 > > 3) Set the ARSVERSION as '$ARSVERSION =3D 6.0;' in Makefile.PL.=20 > > 4) Typed 'perl makefile.PL'=20 > > 5) Typed 'make'.=20 > > 6) I get the following error:=20 > > -----=20 > > <edited>=20 > > .=20 > > AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)=20 > > /usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap=20 > >=20 > > /usr/local/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap ARS.xs >= =20 > > ARS.xsc && mv ARS.xsc ARS.c=20 > > gcc -c -I/groups/abacus/arheaders/api/include -fno-strict-aliasing=20 > > -I/usr/local/include -D_LARGEFILE_SOURCE=20 > >=20 > > -D_FILE_OFFSET_BITS=3D64 -O -DVERSION=3D\"1.84\" -DXS_VERSION=3D\"1.84\= " -fPIC=20 > >=20 > >=20 > > "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" -g=20 > > -Wno-unused-variable -Wuninitialized -DARS32=20 > >=20 > > -DARS452 -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D3=20 > > -DPERL_BASEREV_IS=3D50 ARS.c=20 > > In file included from ARS.xs:26:=20 > > support.h:949: error: parse error before "ARArchiveInfoStruct"=20 > > ARS.xs: In function `XS_ARS_ars_GetSchema':=20 > > ARS.xs:2023: error: `infoStruct' undeclared (first use in this function= )=20 > > ARS.xs:2023: error: (Each undeclared identifier is reported only once= =20 > > ARS.xs:2023: error: for each function it appears in.)=20 > > ARS.xs: In function `XS_ARS_ars_DecodeAlertMessage':=20 > > ARS.xs:4376: warning: passing arg 12 of `ARDecodeAlertMessage' from=20 > > incompatible pointer type=20 > > ARS.xs:4376: error: too many arguments to function=20 > > `ARDecodeAlertMessage'=20 > > make: *** [ARS.o] Error 1=20 > > atlas (admin) -->=20 > > -----=20 > >=20 > > 7) $ARSAPI/include/arstruct.h has 'AR_EXPORT_VERSION' set to '6L'.=20 > > 8) Tried setting ARSVERSION as '$ARSVERSION =3D 5.0;' in Makefile.PL. -= =20 > > Same error.=20 > > 9) Tried compiling ARSperl-1.83, ARSperl-1.82, ARSperl-1.81.=20 > >=20 > > Should '$ARSVERSION =3D 6.0; in step 3 match 'AR_EXPORT_VERSION' in ste= p=20 > > 7?=20 > > Any idea on what I have to check? ANY IDEAS are VERY MUCH appreciated.= =20 > >=20 > > THANKS!=20 > > S=20 > >=20 > >=20 > > -------------------------------------------------------=20 > > SF.Net email is Sponsored by the Better Software Conference & EXPO=20 > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle=20 > > Practices=20 > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= =20 > > QA=20 > > Security * Process Improvement & Measurement *=20 > > http://www.sqe.com/bsce5sf=20 > > _______________________________________________=20 > > Arsperl-users mailing list=20 > > Ars...@ar...=20 > > https://lists.sourceforge.net/lists/listinfo/arsperl-users=20 > >=20 >=20 > |