Re: Need help compiling from souce - Mailing list pgsql-general

From Jake Silverman
Subject Re: Need help compiling from souce
Date
Msg-id DA4E46C6-7508-4006-B3F2-FBDF0F1E899F@gmail.com
Whole thread Raw
In response to Re: Need help compiling from souce  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I found out what was happening. When the path variables were manually set, something in build.pl was overwriting 64 bit
to32 bit (not sure why. The build was saying 64 was detected and will be used, but then many files were being compiled
as32 bit). 

I used a cmd prompt that came with Msft vs express 2012 called 64x cross tools. It had some preset env variables. So,
maybeI missed a var, or maybe the prompt didn't allow 64 bit to be switched to 32. Whatever the case, it compiled and
installed.

Thank you for taking the time to look through the file and answer me.

-Jake

On Jun 26, 2013, at 5:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Jake Silverman <jakerosssilv@gmail.com> writes:
>> Sorry about that, and thanks for taking the time to help me. Here is the
>> full file: https://www.dropbox.com/s/c4dwf47nob0i7fr/file4.txt
>
> [ lots and lots of
> error C2065: 'BLCKSZ' : undeclared identifier
> error C2065: 'XLOG_SEG_SIZE' : undeclared identifier
> etc etc ]
>
> It looks like you're missing some of the macros that normally get set up
> by the configure script on Unix builds.  I confess I'm not familiar with
> how configuration goes on an MSVC build, but did you follow all the
> steps in
> http://www.postgresql.org/docs/devel/static/install-windows.html
> ?
>
>            regards, tom lane


pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: convert from json to text[]
Next
From: John R Pierce
Date:
Subject: Re: installer woes, 9.1 on windows 2008 R2