+ -
当前位置:首页 → 问答吧 → 求助:windows下安装CPAN模块,出了问题

求助:windows下安装CPAN模块,出了问题

时间:2010-12-13

来源:互联网

  1. C:\NewModule>perl Makefile.PL
  2. Set up gcc environment - 3.4.5 (mingw-vista special r3)

  3. dmake could not be found on the PATH. Please invoke it using the full pathname:

  4.     C:\Perl\site\bin\dmake.exe

  5. or put the Perl\site\bin directory on the PATH with:

  6.     path C:\Perl\site\bin;%PATH%

  7. Checking if your kit is complete...
  8. Looks good
  9. Writing Makefile for NewModule

  10. C:\NewModule>nmake

  11. Microsoft (R) Program Maintenance Utility   Version 1.50
  12. Copyright (c) Microsoft Corp 1988-94. All rights reserved.

  13. syntax error at -e line 1, near "'755')
  14. "
  15. Missing right curly or square bracket at -e line 1, at end of line
  16. Execution of -e aborted due to compilation errors.
  17. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
  18. Stop.
复制代码
新手,不知道怎么解决,望指教~

作者: liuyifang3000   发布时间: 2010-12-13

本帖最后由 zhlong8 于 2010-12-14 09:18 编辑

你应该用 dmake 上面提示了。activeperl 你 ppm install MinGW 应该就可以安装全套 gcc

作者: zhlong8   发布时间: 2010-12-14