When I build pgsql via perl after run the command line env of VS2005,
there are lots of following error:
e:\learn\db_research\postgresql\source\postgresql-8.3.3\src\include\port
.h(83): error C2146: syntax error : missing ')' before identifier 'hProcess'
e:\learn\db_research\postgresql\source\postgresql-8.3.3\src\include\port
.h(83): error C2061: syntax error : identifier 'hProcess'
e:\learn\db_research\postgresql\source\postgresql-8.3.3\src\include\port
.h(83): error C2059: syntax error : ')'
e:\learn\db_research\postgreSQL\source\postgresql-8.3.3\src\include\misc
dmin.h(124): error C2061: syntax error : identifier 'PostmasterPid'
e:\learn\db_research\postgreSQL\source\postgresql-8.3.3\src\include\misc
Any help?
The config.pl content under src\tools\msvc\ in my machine is like:
# Configuration arguments for vcbuild.
use strict;
use warnings;
our $config = {
asserts=>0, # --enable-cassert
integer_datetimes=>0, # --enable-integer-datetimes
nls=>undef, # --enable-nls=<path>
tcl=>undef, #'c:\tcl', # --with-tls=<path>
perl=>'d:\tools\perl', # --with-perl
python=>'D:\program\python235', # --with-python=<path>
krb5=>'E:\learn\db_research\postgreSQL\coding\depend\kfw-3-2-2-final', # --with-krb5=<path>
ldap=>1, # --with-ldap
openssl=>'E:\learn\db_research\postgreSQL\coding\depend\openssl', # --with-ssl=<path>
uuid=>undef, #'E:\learn\db_research\postgreSQL\coding\depend\ossp-uuid', #--with-ossp-uuid
xml=>'E:\learn\db_research\postgreSQL\coding\depend\libxml2',
xslt=>'E:\learn\db_research\postgreSQL\coding\depend\libxslt',
iconv=>'E:\learn\db_research\postgreSQL\coding\depend\iconv',
zlib=>'E:\learn\db_research\postgreSQL\coding\depend\zlib'# --with-zlib=<path>
};
1;