Home  >  Article  >  Database  >  PostgreSQL9.2 Windows下编译可能出现的问题

PostgreSQL9.2 Windows下编译可能出现的问题

WBOY
WBOYOriginal
2016-06-07 15:22:011602browse

PostgreSQL9.2 Windows下编译可能出现的问题 近期当我对PostgresSQL进行编译的时候,我发现了以下错误: Unable to determine Visual Studio version: The nmake version could not be determ ined. at src/tools/msvc/Mkvcbuild.pm line 63. 我对此进行了简

PostgreSQL9.2 Windows下编译可能出现的问题

 

近期当我对PostgresSQL进行编译的时候,我发现了以下错误:

 

Unable to determine Visual Studio version: The nmake version could not be determ

ined. at src/tools/msvc/Mkvcbuild.pm line 63.

 

我对此进行了简单修改:

 

在postgresql\src\tools\msvc下的文件VSObjectFactory.pm的

sub CreateSolution{}内添加return new VS2008Solution(@_);

 

然后在src/tools/msvc/Mkvcbuild.pm内修改语句:

 

my $vsVersion = DetermineVisualStudioVersion();为my $vsVersion;

 

这样就可以进行编译了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn