From: | "Lin, Cuiping" <lincuiping(at)cn(dot)fujitsu(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Build errors in VS |
Date: | 2020-04-17 09:18:57 |
Message-ID: | 32d45179d1b6479d91fa58c926f00d07@G08CNEXMBPEKD05.g08.fujitsu.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all
I build postgers with VS in windows, and the following message output
“ Unable to determine Visual Studio version: The nmake version could not be determined.”
I investigated the VSObjectFactory.pm, and found the match string “if ($output =~ /(\d+)\.(\d+)\.\d+(\.\d+)?$/m)”
It works fine when no characters after version number, but if there are characters after the version number, it can not match the VS version.
For example , VS in Chinese , nmake /? output “ 14.00.24210.0 版”
May be we can remove the ‘$’ ($output =~ /(\d+)\.(\d+)\.\d+(\.\d+)?$/m)” => ($output =~ /(\d+)\.(\d+)\.\d+(\.\d+)?/m)”
Best regards
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2020-04-17 09:39:21 | Re: documenting the backup manifest file format |
Previous Message | 曾文旌 | 2020-04-17 09:14:44 | Re: [Proposal] Global temporary tables |