Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Installing Unicode::Tussle On Microsoft Windows With ActiveState ActivePerl

by Jim (Curate)
on Oct 11, 2012 at 23:03 UTC ( #998566=note: print w/ replies, xml ) Need Help??


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

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.)


Comment on Re^2: Installing Unicode::Tussle On Microsoft Windows With ActiveState ActivePerl
Re^3: Installing Unicode::Tussle On Microsoft Windows With ActiveState ActivePerl
by BrowserUk (Pope) on Oct 11, 2012 at 23:32 UTC

    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; }

        Applied and successful. 1 down ...

        C:\perl64\packages\Lingua-ZH-Romanize-Pinyin-0.23>nmake test Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Skip blib/lib/Lingua/ZH/Romanize/Cantonese.store (unchanged) Skip blib\lib\Lingua\ZH\Romanize\Pinyin.pm (unchanged) Skip blib\lib\Lingua\ZH\Romanize\Cantonese.pm (unchanged) Skip blib\lib\Lingua\ZH\Romanize\DictZH.pm (unchanged) Skip blib/lib/Lingua/ZH/Romanize/Pinyin.store (unchanged) C:\perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_ha +rness(0, 'blib\lib', 'blib\arch')" t/*.t t/00_pod.t ............. ok t/01_pinyin.t .......... ok t/02_cantonese.t ....... ok t/11_pinyin_utf8.t ..... ok t/12_cantonese_utf8.t .. ok All tests successful. Files=5, Tests=77, 0 wallclock secs ( 0.02 usr + 0.03 sys = 0.05 CP +U) Result: PASS C:\perl64\packages\Lingua-ZH-Romanize-Pinyin-0.23>nmake install Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Installing C:\Perl64\site\lib\Lingua\ZH\Romanize\Cantonese.pm Installing C:\Perl64\site\lib\Lingua\ZH\Romanize\Cantonese.store Installing C:\Perl64\site\lib\Lingua\ZH\Romanize\DictZH.pm Installing C:\Perl64\site\lib\Lingua\ZH\Romanize\Pinyin.pm Installing C:\Perl64\site\lib\Lingua\ZH\Romanize\Pinyin.store Appending installation info to C:\Perl64\lib/perllocal.pod

        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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-12-18 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls