安装环境:
Win7 64bit bugzilla-4.2.2 ActivePerl-5.14.2.1402-MSWin32-x64-295342
第一步,以默认设置安装ActivePerl。安装到D盘,路径:D:\Perl64。
第二步,安装bugzilla。安装到D盘,路径:D:\bugzilla-4.2.2。
在Command环境下安装,执行 D:\bugzilla-4.2.2>checksetup.pl,安装过程中会发现有大量的perl模块缺失,没有关系,按照command窗口给出的提示信息,逐个执行“ppm install 模块名”安装即可。安装过程中,会发现“ppm installEmail-MIME”这一REQUIRED MODULES无论如何安装不上。
问题原因:
安装不上的原因是the newest version of Email-Simple over ppm is 2.101,而本次安装需要的版本Simple version 2.102 for Email-MIME。
在Command环境下执行ppm,弹出PerlPackage Manager窗口,输入Email-Simple,可检索到当前可用的Email-Simple版本为2.101,已安装的版本也为2.101。
解决方案:
1.
下载Simple version 2.102 for Email-MIME。下载地址如下:
http://search.cpan.org/~rjbs/Email-Simple-2.102/
2.
将下载的Email-Simple-2.102解压出来,到本地目录。按如下方式操作:
设置nmake环境变量:
C:\Program Files (x86)\Microsoft VisualStudio 10.0\VC\bin>vcvars32.bat Setting environment for using MicrosoftVisual Studio 2010 x86 tools.
切换到Email-Simple-2.102目录,执行nmake操作:
E:\TDDOWNLOAD\Bugzilla\Email-Simple-2.102>perlMakefile.PL nmake Checking if your kit is complete... Looks good Writing Makefile for Email::Simple Writing MYMETA.yml
安装Email-Simple-2.102:
E:\TDDOWNLOAD\Bugzilla\Email-Simple-2.102>nmakeinstall
Microsoft (R) Program MaintenanceUtility Version 10.00.30319.01 Copyright (C) MicrosoftCorporation.
All rights reserved.
cp lib/Email/Simple/Creator.pmblib\lib\Email\Simple\Creator.pm cp lib/Email/Simple/Header.pmblib\lib\Email\Simple\Header.pm cp lib/Email/Simple.pmblib\lib\Email\Simple.pm Installing D:\Perl64\html\site\lib\Email\Simple.html InstallingD:\Perl64\site\lib\Email\Simple.pm InstallingD:\Perl64\site\lib\Email\Simple\Creator.pm InstallingD:\Perl64\site\lib\Email\Simple\Header.pm Appending installation info toD:\Perl64\lib/perllocal.pod
3.
安装Email-MIME模块
完成第二步操作后,执行D:\bugzilla-4.2.2>checksetup.pl,发现仍提示:
COMMANDS TO INSTALL REQUIRED MODULES(You *must* run all these commands and then re-run checksetup.pl):
ppm install Email-MIME
执行ppm install Email-MIME,提示如下,安装成功,问题解决。
D:\bugzilla-4.2.2>ppm installEmail-MIME Syncing site PPM database with.packlists...done Syncing perl PPM database with.packlists...done Downloading Email-MIME-1.911...done DownloadingEmail-MessageID-1.402...done Downloading MIME-Types-1.35...done DownloadingEmail-MIME-ContentType-1.015...done Unpacking Email-MIME-1.911...done Unpacking Email-MessageID-1.402...done Unpacking MIME-Types-1.35...done UnpackingEmail-MIME-ContentType-1.015...done Generating HTML forEmail-MIME-1.911...done Generating HTML forEmail-MessageID-1.402...done Generating HTML forMIME-Types-1.35...done Generating HTML forEmail-MIME-ContentType-1.015...done Updating files in site area...done
18 files installed
|