http://www.perlmonks.org?node_id=998521


in reply to Installing Unicode::Tussle On Microsoft Windows With ActiveState ActivePerl

How about just downloading from CPAN and doing the magic incantation:

perl Makefile.PL ([dn]?)make ([dn]?)make test ([dn]?)make install

You could also use the CPAN client from the command line:

cpan Unicode::Tussle

Replies are listed 'Best First'.
Re^2: Installing Unicode::Tussle On Microsoft Windows With ActiveState ActivePerl
by Jim (Curate) on Oct 11, 2012 at 23:03 UTC

    Thanks for the suggestion.

    It seems this package simply is not designed for Windows. (Not surprising given Tom's utter disdain for Windows.) I finally used…

    cpan -f -i Unicode::Tussle
    

    …and it installed. Whether or not the utilities will work remains to be seen. At least five dependencies wouldn't install successfully no matter what I tried (which wasn't much, frankly).

    The perldoc pages are unusable on Windows because they're UTF-8, which Windows doesn't support. (Code page 65001 doesn't work.)

      The problems seem to be more crap packages -- missing files:

      C:\perl64\packages\Lingua-ZH-Romanize-Pinyin-0.23>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. C:\perl64\bin\perl.exe -Ilib -MLingua::ZH::Romanize::DictZH -e + 'Lingua::ZH::Romanize::DictZH::Cantonese->update();' C:\perl64\bin\perl.exe -Ilib -MLingua::ZH::Romanize::DictZH -e + 'Lingua::ZH::Romanize::DictZH::Pinyin->update();' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Cannot copy 'lib/Lingua/ZH/Romanize/Cantonese.store' to 'blib/l +ib/Lingua/ZH/Romanize/Cantonese.store': No such file or directory !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 Checking if your kit is complete... Looks good Writing Makefile for Unicode::Unihan C:\perl64\packages\Unicode-Unihan-0.04>nmake Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'db/AccountingNumeri +c.db' Stop.

      and crap tools:

      C:\perl64\packages\Unicode-Tussle-1.03>build Checking prerequisites... requires: ! Lingua::JA::Romanize::Japanese is not installed ! Lingua::ZH::Romanize::Pinyin is not installed ! Unicode::Unihan is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Unicode-Tussle' version '1.03' C:\perl64\packages\Unicode-Tussle-1.03>build installdeps Too early to specify a build action 'installdeps'. Do 'Build installd +eps' instead. C:\perl64\packages\Unicode-Tussle-1.03>Build installdeps Too early to specify a build action 'installdeps'. Do 'Build installd +eps' instead.

      Rather than anything specifically windows.

      As for the docs: have you tried browsing the html versions.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      RIP Neil Armstrong

        Patch for Lingua::ZH::Romanize::Pinyin

        --- Makefile.PL~ 2008-01-20 01:18:24.000000000 -0800 +++ Makefile.PL 2011-09-17 04:15:57.640625000 -0700 @@ -29,8 +29,8 @@ my $self = shift; my $str = ""; $str .= "lib/Lingua/ZH/Romanize/Pinyin.store :\n"; - $str .= "\t\$(PERL) -Ilib -MLingua::ZH::Romanize::DictZH -e 'Ling +ua::ZH::Romanize::DictZH::Pinyin->update();'\n\n"; + $str .= qq{\t\$(PERL) -Ilib -MLingua::ZH::Romanize::DictZH -e "Li +ngua::ZH::Romanize::DictZH::Pinyin->update();"\n\n}; $str .= "lib/Lingua/ZH/Romanize/Cantonese.store :\n"; - $str .= "\t\$(PERL) -Ilib -MLingua::ZH::Romanize::DictZH -e 'Ling +ua::ZH::Romanize::DictZH::Cantonese->update();'\n\n"; + $str .= qq{\t\$(PERL) -Ilib -MLingua::ZH::Romanize::DictZH -e "Li +ngua::ZH::Romanize::DictZH::Cantonese->update();"\n\n}; $str; }