Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
"be consistent"
 
PerlMonks  

Re^2: Perl 5.10 and Math::Pari

by rafl (Friar)
on Jan 27, 2008 at 15:03 UTC ( #664524=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl 5.10 and Math::Pari
in thread Perl 5.10 and Math::Pari

I did what Nickolas suggested. It compiled fine, but failed horribly at runtime with error messages that don't seem to be related to the fix I made. I also tried another way using PERL_MAGIC_ext, but it resulted in the same issues.

So I guess Math::Pari is relying on more <=5.8 behaviour that has changed in 5.10. I wasn't able to figure out what exactly that is though.


Comment on Re^2: Perl 5.10 and Math::Pari
Re^3: Perl 5.10 and Math::Pari
by buchetc (Initiate) on Feb 14, 2008 at 14:45 UTC
    I've tried it with the following patch:
    1153c1153 < ((CV*)cv)->sv_any->xiv_u.xivu_iv = numargs; /* XXXX Nasty of +us... */ --- > ((CV*)cv)->sv_any->xof_off = numargs; /* XXXX Nasty of us... +*/ 1219c1219 < int numargs = ((CV*)cv)->sv_any->xiv_u.xivu_iv; /* XXXX Nasty + of us... */ --- > int numargs = ((CV*)cv)->sv_any->xof_off; /* XXXX Nasty of us +... */
    It seems to work but increases the 'Nasty' level

      That way it might compile, but it's still using SvPVX and SvIVX on an AV to store internal information. That breaks as those seem to be used by the AV itself in 5.10.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://664524]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (18)
As of 2014-04-18 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (470 votes), past polls