Re: installing from source in Windows - Mailing list pgsql-general

From Craig Ringer
Subject Re: installing from source in Windows
Date
Msg-id 4CBBA57F.3050206@postnewspapers.com.au
Whole thread Raw
In response to Re: installing from source in Windows  ("Turner, John J" <JJTurner@statestreet.com>)
List pgsql-general
On 10/18/2010 06:18 AM, Turner, John J wrote:
>     ../../src/include/c.h:284:2: #error must have a working 64-bit
> integer     datatype

There's your problem. "configure" didn't detect support for 64-bit
integers in your compiler, causing the build to fail at:

00276 #ifndef HAVE_INT64
00277 typedef long long int int64;
00278 #endif
00279 #ifndef HAVE_UINT64
00280 typedef unsigned long long int uint64;
00281 #endif
00282 #else
00283 /* neither HAVE_LONG_INT_64 nor HAVE_LONG_LONG_INT_64 */
00284 #error must have a working 64-bit integer datatype
00285 #endif

in c.h

I've never done a mingw build of PostgreSQL on windows, as I see little
point in doing so when the MSVC++ compiler native to the platform is
supported, so I can't offer you much advice here.

If you upload your config.log somewhere people can get to it, that might
help. Without that it's hard to know why configure rejected the
compiler's 64-bit int data type.

--
Craig Ringer


pgsql-general by date:

Previous
From: Tim Uckun
Date:
Subject: Re: Selecting top N percent of records.
Next
From: Craig Ringer
Date:
Subject: Re: Selecting top N percent of records.