我尝试在Windows服务器上安装Bugzilla时出错

时间:2014-11-17 04:03:58

标签: bugzilla windows-server

我正在尝试在我的Windows服务器上安装Bugzilla。我正在使用Strawberry Perl& PostgreSQL的。但是当我运行网站时,我收到了如下错误:

Software error:
'Pg' is not a valid choice for $db_driver in  localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193.
 at Bugzilla/DB/Pg.pm line 30.
Compilation failed in require at Bugzilla/DB/Pg.pm line 30.
BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30.
Compilation failed in require at (eval 138) line 2.


For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. 
[Mon Nov 17 16:34:41 2014] config.cgi: 'Pg' is not a valid choice for $db_driver in localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193. [Mon Nov 17 16:34:41 2014] config.cgi: at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at (eval 138) line 2. 

我已经运行了checksetup.pl。所有模块都已安装。任何人都知道如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

确保您的PATH包含Pg bin目录。