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 08:42:33
Message-ID: 48E9CF79.2030507@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 Guillaume Lelarge 2008-10-06 09:33:16 Weird behaviour with ALTER TABLE ... SET TABLESPACE ... statement
Previous Message Gregory Stark 2008-10-06 08:32:32 Re: pgsql: Add relation fork support to pg_relation_size() function.