Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Can't install Text::Metaphone with Strawberry Perl

by tmaly (Monk)
on Oct 15, 2008 at 14:25 UTC ( [id://717237]=note: print w/replies, xml ) Need Help??


in reply to Can't install Text::Metaphone with Strawberry Perl

I originally posted the bug on RT. It was on Strawberry Perl 5.8 not 5.10 and the author of the module fixed the problem recently. the original bug post was here Fails to install on strawberry perl 5.8
  • Comment on Re: Can't install Text::Metaphone with Strawberry Perl

Replies are listed 'Best First'.
Re^2: Can't install Text::Metaphone with Strawberry Perl
by Anonymous Monk on Oct 15, 2008 at 14:35 UTC
    That bug is still open, here's a "fix", in Metaphone.xs, replace
    free(phoned_word);
    with
    FreeMemory(phoned_word);
    and all is well
      This also seems to work. Would anyone care to explain this to me (just for my curiosity, i'm not that experienced with XS).

        The metaphone() function returns a C string allocated with the Perl API call NewMemory(), not the system's malloc(). You need to be consistent with the allocation/deallocation functions you use. That's all.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found