Re: About postgresql8.3.3 build in MS VS2005 - Mailing list pgsql-hackers

From iihero
Subject Re: About postgresql8.3.3 build in MS VS2005
Date
Msg-id f119e28b0810060442y6889faf4v80274865dc3a0f88@mail.gmail.com
Whole thread Raw
In response to Re: About postgresql8.3.3 build in MS VS2005  (Magnus Hagander <magnus@hagander.net>)
Responses Re: About postgresql8.3.3 build in MS VS2005
List pgsql-hackers
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@hagander.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;


pgsql-hackers by date:

Previous
From: "Greg Stark"
Date:
Subject: Re: pgsql: Add relation fork support to pg_relation_size() function.
Next
From: Magnus Hagander
Date:
Subject: Re: About postgresql8.3.3 build in MS VS2005