"Adam Witney" <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I have been trying to install XML-Xerces-1.5.2_0 on macOSX however I receive
> errors during the make
> 
> I downloaded and installed xerces-c-src1_5_2.tar.gz (everything seemed ok)
> 
> But during the 'make' step for XML-Xerces-1.5.2_0 I receive an error. Here
> is the output from make
> 
> [mrc1-003:local/install/XML-Xerces-1.5.2_0] adam% make

[snip]

> Xerces.C: In function `void _wrap_new_MemBufInputSource(CV *)':
> Xerces.C:54400: passing `unsigned int *' as argument 2 of `Perl_sv_2pv(SV *,
> STRLEN *)'
> make: *** [Xerces.o] Error 1

This isn't the first time I've heard of this, but it makes no sense to
me. The only place that _wrap_new_MemBufInputSource access
Perl_sv_2pv() is:

        arg3 = (char *) SvPV(ST(1),PL_na); 

which is perfectly valid (if only slightly inefficient) Perl. Passing
the PL_na global variable is what Perl tells you to do. In fact the
nearly identical line appears many times throughout the file.

You may try to modify it to be:

        arg3 = (char *) SvPV_nolen(ST(1)); 

and let me know what happens to the compile.

jas.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to