Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML-LibYAML CPAN distribution.

Report information
The Basics
Id: 62054
Status: resolved
Priority: 0/
Queue: YAML-LibYAML

People
Owner: Nobody in particular
Requestors: hma [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.34
Fixed in: (no value)



Subject: version 0.34 requires Perl 5.8.8
DynaLoader fails now with "undefined symbol: SvPV_const" message under earlier Perls (I checked 5.8.5 and 5.8.7). From browsing the source code it seems for me SvPV_const appears first in 5.8.8. Indeed compilation and tests run fine under 5.8.8. I guess the easiest solution would be to just "use 5.008008;" now in YAML/XS.pm.
From: paul [...] city-fan.org
On Mon Oct 11 16:04:35 2010, HMA wrote: Show quoted text
> DynaLoader fails now with "undefined symbol: SvPV_const" message under > earlier Perls (I checked 5.8.5 and 5.8.7). > > From browsing the source code it seems for me SvPV_const appears first > in 5.8.8. Indeed compilation and tests run fine under 5.8.8. > > I guess the easiest solution would be to just "use 5.008008;" now in > YAML/XS.pm.
This problem can be fixed by updating LibYAML/ppport.h to a version generated using a later perl. For instance, I generated one using Perl 5.12.3: perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile();' Using the generated ppport.h in place of LibYAML/ppport.h got the test suite passing for me with Perl 5.8.5 but I'm still having problems with the regexp test on older Perls (RT #44016).
fixed in 0.35 added new ppport.h