Hello,
I have a install problem on solaris 9 (sparc).=20
1) I downloaded ARSperl-1.84.=20
2) Added the path to the header files as '$ARSAPI =3D
"/groups/abacus/arheaders/api";' in the Makefile.PL.
3) Set the ARSVERSION as '$ARSVERSION =3D 6.0;' in Makefile.PL.
4) Typed 'perl makefile.PL'
5) Typed 'make'.
6) I get the following error:
-----
<edited>
.
AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
/usr/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 >
ARS.xsc && mv ARS.xsc ARS.c
gcc -c -I/groups/abacus/arheaders/api/include -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -O -DVERSION=3D\"1.84\" -DXS_VERSION=3D\"1.84\" =
-fPIC=20
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" -g =20
-Wno-unused-variable -Wuninitialized -DARS32
-DARS452 -DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D3
-DPERL_BASEREV_IS=3D50 ARS.c
In file included from ARS.xs:26:
support.h:949: error: parse error before "ARArchiveInfoStruct"
ARS.xs: In function `XS_ARS_ars_GetSchema':
ARS.xs:2023: error: `infoStruct' undeclared (first use in this function)
ARS.xs:2023: error: (Each undeclared identifier is reported only once
ARS.xs:2023: error: for each function it appears in.)
ARS.xs: In function `XS_ARS_ars_DecodeAlertMessage':
ARS.xs:4376: warning: passing arg 12 of `ARDecodeAlertMessage' from
incompatible pointer type
ARS.xs:4376: error: too many arguments to function `ARDecodeAlertMessage'
make: *** [ARS.o] Error 1
atlas (admin) -->
-----
7) $ARSAPI/include/arstruct.h has 'AR_EXPORT_VERSION' set to '6L'.
8) Tried setting ARSVERSION as '$ARSVERSION =3D 5.0;' in Makefile.PL. -
Same error.
9) Tried compiling ARSperl-1.83, ARSperl-1.82, ARSperl-1.81.
Should '$ARSVERSION =3D 6.0; in step 3 match 'AR_EXPORT_VERSION' in step 7?
Any idea on what I have to check? ANY IDEAS are VERY MUCH appreciated.
THANKS!
S
|