fix for parrot build error

Tom Christiansen tchrist at perl.com
Sun May 15 19:58:12 UTC 2011


The file

    parrot/config/auto/icu.pm

contains this code:

    # on MacOS X there's sometimes an errornous \c at the end of the
    # output line. Remove it.
    # see TT #1722
    $icushared =~ s/\s\\c\s/ /g;

That isn't good enough, because some of the strings you do that
to actually *end* in "  \\c", so there is no whitespace following.
Therefore you need something more like

    $icushared =~ s/\s\\c\s?/ /g;

At which point all builds fine.  Until then, it fails.

I'm not sure what sort of perl -V type output you might like,
but this is on Darwin, Snow Leopard, latest ICU port.

--tom


More information about the parrot-dev mailing list