Re: SGML::Parser::OpenSP Win32 PPMs

On Fri, 17 Sep 2004, Bjoern Hoehrmann wrote:

> [ ... ] so maybe you could apply the following patch and
> try again?
>
> ...
> Index: OpenSP.xs
> ===================================================================
> RCS file: /cvsroot/spo/spo/OpenSP.xs,v
> retrieving revision 1.14
> diff -u -p -r1.14 OpenSP.xs
> --- OpenSP.xs   14 Sep 2004 08:12:24 -0000      1.14
> +++ OpenSP.xs   17 Sep 2004 09:32:27 -0000
> @@ -4,6 +4,11 @@
>
>  // todo: add THX stuff?
>
> +// woraround for broken math.h in VC++ 6.0
> +#if defined(_MSC_VER) && _MSC_VER < 1300
> +#include <math.h>
> +#endif
> +
>  extern "C"
>  {
>  #include "EXTERN.h"
> ...
>
> It should solve at least the C2894 problem. Oh, and yes, the module is
> not yet ready for a CPAN release, the typemap in particular needs some
> attention...

That patch does work, and all the tests subsequently pass.
I've put up a trial ppm package of SGML-Parser-OpenSP at
    http://theoryx5.uwinnipeg.ca/ppms/
if anyone wants to try it. This should run a post-install
script to fetch and install the needed osp152.dll; if this
doesn't work, this can be obtained from
    http://theoryx5.uwinnipeg.ca/ppms/scripts/
which should subsequently be placed somewhere in one's
PATH.

-- 
best regards,
randy

Received on Monday, 20 September 2004 01:57:37 UTC