这个模块其实都不用装,直接提取出来放到perl的环境变量目录下就好了。不知道你安装其他模块有没有问题,我看你用的是dmake,windows的话最好还是用nmake,至少我一直用nmake没出问题 在 2013-6-10 下午6:03,"Evel Liu" <[email protected]>写道:
> 我想安装Config::IniFiles 但是貌似有点问题。每次调用出现错误对话框,安装test最后一步有下面的log > 大侠帮忙看看。有何建议?系统是win7 32bit > > ============== > Config-IniFiles-2.82/scripts > Config-IniFiles-2.82/scripts/tag-release.pl > Use of uninitialized value $prefer_installer in lc at > C:\Perl\lib/CPAN/Distribut > ion.pm line 754.---这个有影响吗? > Use of uninitialized value $prefer_installer in lc at > C:\Perl\lib/CPAN/Distribut > ion.pm line 757.---这个有影响吗? > > CPAN.pm: Building S/SH/SHLOMIF/Config-IniFiles-2.82.tar.gz > > # running Build.PL --installdirs site > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Created MYMETA.yml and MYMETA.json > Creating new 'Build' script for 'Config-IniFiles' version '2.82' > C:\Perl\bin\perl.exe Build --makefile_env_macros 1 > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Building Config-IniFiles > SHLOMIF/Config-IniFiles-2.82.tar.gz > C:\Perl\site\bin\dmake.exe -- OK > Running make test > C:\Perl\bin\perl.exe Build --makefile_env_macros 1 test > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > Set up gcc environment - 4.6.2 > t\00load.t .................................... > > Parse errors: Bad plan. You planned 4 tests but ran 0. > t\32mswin-outputs-contain-crs.t (Wstat: 1280 Tests: 0 Failed: > 0) > Non-zero exit status: 5 > Parse errors: No plan found in TAP output > Files=35, Tests=0, 177 wallclock secs ( 0.27 usr + 0.13 sys = 0.39 CPU) > Result: FAIL > Failed 32/35 test programs. 0/0 subtests failed. > dmake.exe: Error code 255, while making 'test' > SHLOMIF/Config-IniFiles-2.82.tar.gz > C:\Perl\site\bin\dmake.exe test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports SHLOMIF/Config-IniFiles-2.82.tar.gz > Running make install > make test had returned bad status, won't install without force > Failed during this command: > SHLOMIF/Config-IniFiles-2.82.tar.gz : make_test NO > ---每次跑到这里的时候就弹出一个对话框,提示说Perl Command Line Interpreter已停止工作。然后我就点击关闭程序。 > > 我也尝试用ppm安装,提示安装成功。但是每次调用模块的时候,都会弹出一样的对话框。 > 大伙帮忙看看。谢了~! > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 > 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。 > > > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
