Re: [Arsperl-users] ARSperl install problem on Solaris 9
Brought to you by:
jeffmurphy
|
From: S G <mye...@gm...> - 2005-08-23 15:34:38
|
Hello, THANKS for your help. That was certainly illuminating. I tried with ARSperl= =20 1.83 and got a different error as you said. I get the same error using=20 version 1.82 even. Isn't Solaris a popular platform. I wonder why this=20 problem was not seen before?? -------------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 AR= S.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 ---------------------------- THanks! On 8/22/05, Stapff, Thilo <thi...@ma...> wrote: >=20 > The correspondence between AR_EXPORT_VERSION and $ARSVERSION (which shoul= d=20 > 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. ARSperl-1.83= may or may not work, but should definitely give another error message if it= =20 > 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 > "-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 `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 step = 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 & Q= A=20 > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf= =20 > _______________________________________________=20 > Arsperl-users mailing list=20 > Ars...@ar...=20 > https://lists.sourceforge.net/lists/listinfo/arsperl-users=20 > |