RE: [Arsperl-users] KNOPPIX Linux distribution Install
Brought to you by:
jeffmurphy
|
From: Barr, S. <sc...@am...> - 2005-07-19 22:42:33
|
There is a problem with the 1.84 distribution compiling against a 5.1 =
API (API version 9 in my case)
=20
Simply comment out all the bad code and it works like a champ, even =
though all the automated tests fail. :)
=20
I have run ARSDoc using the newly compiled modules/shared objects and =
everything at first look is just fine...
=20
See comments below... Remember to update the .template files first, then =
run Makefile.PL and then make
=20
The files you are going to have to mangle are:
ARS.xs
> // ARArchiveInfoStruct infoStruct;
>=20
> // hv_store(RETVAL, =20
> // "archiveInfo",=20
> // strlen("archiveInfo") ,
> // perl_ARArchiveInfoStruct(ctrl, &infoStruct), 0);
>=20
> // hv_store(hash, "sampleSchema", strlen("sampleSchema") , =
newSVpv(in->u.tableLimits.sampleSchema, 0), 0);
> // hv_store(hash, "sampleServer", strlen("sampleServer") , =
newSVpv(in->u.tableLimits.sampleServer, 0), 0);
>=20
> //#if AR_EXPORT_VERSION >=3D 8L
> // &infoStruct,
> //#endif
=20
The entire "perl_ARArchiveInfoStruct(ARControlStruct * ctrl, =
ARArchiveInfoStruct * in)" procedure found around line 2500 in support.c
=20
Support.c
> //hv_store(hash, "option", strlen("option") , =
newSViv(in->option), 0);=20
=20
Support-h.template
> //EXTERN SV *perl_ARArchiveInfoStruct(ARControlStruct *ctrl, =
ARArchiveInfoStruct *);
=20
-Scott=20
Remedy Team=20
Ph : (206) 266-0217=20
________________________________
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Kocinski,David L.
Sent: Tuesday, July 19, 2005 1:52 PM
To: ars...@ar...
Subject: [Arsperl-users] KNOPPIX Linux distribution Install
=20
Has anyone had any success with the ARSPerl install on a recent KNOPPIX =
Linux distribution, or any other Debian based Linux.=20
The make fails when compiling ARS.c with :
In file included from ARS.xs:26:
support.h:1005: error: syntax error before "ARArchiveInfoStruct"
I have the 1.84 version of ARSperl, PERL 5.8.4, and a 5.1 version of =
the ars api. The KNOPPIX distro is 3.9. I was hoping I wouldn't have =
to open up the hood....
=20
David Kocinski
dko...@mi...
|