Re: About postgresql8.3.3 build in MS VS2005

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: iihero <iihero(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: About postgresql8.3.3 build in MS VS2005
Date: 2008-10-06 11:46:11
Message-ID: 48E9FA83.4090407@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

it could be. At first look ISTM that the error comes from not finding
the definition of HANDLE, which is certainly very central to the
Platform SDK.

//Magnus

iihero wrote:
> Thanks Magnus,
>
> I've installed vs2005 standard edition.
> Do you mean the include order of Platform SDK possibly influenced the
> build result?
>
>
>
> 2008/10/6 Magnus Hagander <magnus(at)hagander(dot)net <mailto:magnus(at)hagander(dot)net>>
>
> Are you building with MS VS2005 Express? If so, it sounds like you have
> not managed to install the Platform SDK properly.
>
> //Magnus
>
>
> iihero wrote:
> > 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;
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-06 12:02:35 Re: pgsql: Add relation fork support to pg_relation_size() function.
Previous Message iihero 2008-10-06 11:42:51 Re: About postgresql8.3.3 build in MS VS2005