AW: [Arsperl-users] ARSperl install problem on Solaris 9
Brought to you by:
jeffmurphy
|
From: Stapff, T. <thi...@ma...> - 2005-08-24 07:26:28
|
You might try replacing line 4158 in "ARS.xs" (in the function call to
ARDecodeAlertMessage) as follows: Replace
=20
&serverName,
by
=20
#if AR_EXPORT_VERSION >=3D 7
&serverName,
#endif
ARSperl-1.8.3 should compile with this change, at least it does on =
Windows.=20
=20
> Isn't Solaris a popular platform. I wonder why this problem was not =
seen
before??
Surely it is. This problem isn't even Solaris-specific. Maybe 5.0 is =
not a
popular version anymore.
Anyway, there is ongoing work concerning this problem. Expect to see =
this
resolved soon.
=20
Regards,
Thilo =20
=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
Hello,
THANKS for your help. That was certainly illuminating. I tried with
ARSperl 1.83 and got a different error as you said. I get the same =
error
using version 1.82 even. Isn't Solaris a popular platform. I wonder why =
this
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
/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.83\" -DXS_VERSION=3D\"1.83\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" -g -DARS32 -DARS452
-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
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...
<mailto:thi...@ma...> > wrote:=20
The correspondence between AR_EXPORT_VERSION and $ARSVERSION (which =
should
match the version of your ARS Server) is as follows:
6L -> 5.0.*=20
7L -> 5.1.*=20
8L -> 6.*=20
So it looks like you have 5.0 libraries and should therefore set=20
$ARSVERSION =3D 5.0;=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
fails.
Regards,=20
Thilo Stapff=20
-----Urspr=FCngliche Nachricht-----=20
Von: S G [mailto:mye...@gm... <mailto:mye...@gm...> =
]=20
Gesendet: Montag, 22. August 2005 00:03=20
An: ars...@ar... <mailto:ars...@ar...> =20
Betreff: [Arsperl-users] ARSperl install problem on Solaris 9=20
Hello,=20
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=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
/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
-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=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
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. - =
Same error.=20
9) Tried compiling ARSperl-1.83, ARSperl-1.82, ARSperl-1.81.=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
THANKS!=20
S=20
-------------------------------------------------------=20
SF.Net email is Sponsored by the Better Software Conference & EXPO=20
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices=20
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA=20
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
<http://www.sqe.com/bsce5sf> =20
_______________________________________________=20
Arsperl-users mailing list=20
Ars...@ar... <mailto:Ars...@ar...> =20
https://lists.sourceforge.net/lists/listinfo/arsperl-users
<https://lists.sourceforge.net/lists/listinfo/arsperl-users> =20
|