为什么我得到一个"没有这样的文件或目录"我尝试在Strawberry Perl中安装SVG模块时出错?

时间:2016-09-12 18:04:21

标签: perl cpan strawberry-perl

我正在尝试使用Strawberry Perl中的CPAN安装Perl模块SVG。我运行了命令

install svg

但我收到以下错误:

Running install for module 'SVG'

Running make for S/SZ/SZGABGAB/SVG-2.64.tar.gz

Checksum was ok

Catching error: "Couldn't move C:\\Strawberry\\cpan\\build\\tmp-3752\\SVG-2.64\\examples to C:\\Strawberry\\cpan\\build\\SVG-2.64-DA4XGP\\examples: No such file or directory at C:\\Strawberry\\perl\\lib/CPAN/Distribution.pm line 524\cJ\cICPAN::Distribution::run_preps_on_packagedir('CPAN::Distribution=HASH(0x39a01dc)') called at C:\\Strawberry\\perl\\lib/CPAN/Distribution.pm line 351\cJ\cICPAN::Distribution::get('CPAN::Distribution=HASH(0x39a01dc)') called at C:\\Strawberry\\perl\\lib/CPAN/Distribution.pm line 1747\cJ\cICPAN::Distribution::make('CPAN::Distribution=HASH(0x39a01dc)') called at C:\\Strawberry\\perl\\lib/CPAN/Distribution.pm line 3062\cJ\cICPAN::Distribution::test('CPAN::Distribution=HASH(0x39a01dc)') called at C:\\Strawberry\\perl\\lib/CPAN/Distribution.pm line 3464\cJ\cICPAN::Distribution::install('CPAN::Distribution=HASH(0x39a01dc)') called at C:\\Strawberry\\perl\\lib/CPAN/Module.pm line 479\cJ\cIeval {...} called at C:\\Strawberry\\perl\\lib/CPAN/Module.pm line 478\cJ\cICPAN::Module::rematein('CPAN::Module=HASH(0x39a01ac)', 'install') called at C:\\Strawberry\\perl\\lib/CPAN/Module.pm line 578\cJ\cICPAN::Module::install('CPAN::Module=HASH(0x39a01ac)') called at C:\\Strawberry\\perl\\lib/CPAN/Shell.pm line 1796\cJ\cICPAN::Shell::rematein('CPAN::Shell', 'install', 'SVG') called at C:\\Strawberry\\perl\\lib/CPAN/Shell.pm line 1976\cJ\cICPAN::Shell::__ANON__('CPAN::Shell', 'SVG') called at C:/Strawberry/perl/lib/CPAN.pm line 375\cJ\cIeval {...} called at C:/Strawberry/perl/lib/CPAN.pm line 372\cJ\cICPAN::shell() called at -e line 1\cJ" at C:/Strawberry/perl/lib/CPAN.pm line 391
        CPAN::shell() called at -e line 1

我能够安装其他几个模块,例如Math :: Bezier和Regexp :: Common,没有任何问题。我该如何解决这个问题?

0 个答案:

没有答案