windows平台Perl模块离线安装
时间:2017-07-21 18:43:47
收藏:0
阅读:595
工具:
Perl windows工具:ActivePerl-5.24.0.2400-MSWin32-x86-64int-300560.exe
Dmake工具:https://cpan.metacpan.org/authors/id/S/SH/SHAY/dmake-4.12.2.2.zip
模块代码:http://search.cpan.org/ 一般为tar.gz包
c编译器:gcc
c++编译器:dev c++
安装:
目录结构:
install脚本代码:
@echo on echo "start..." set input= set /p input=请输入perl模块文件夹名称: set base_dir=%~dp0 cd %base_dir%\%input% echo %~dp0 perl MakeFile.PL D:\software\dmake\dmake.exe D:\software\dmake\dmake.exe test D:\software\dmake\dmake.exe install echo "end..."
有些模块需要C编译器:
原文:http://www.cnblogs.com/migrantworkers/p/7219138.html
评论(0)