Re: installing from source in Windows

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: "Turner, John J" <JJTurner(at)statestreet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, daniel(at)manitou-mail(dot)org
Subject: Re: installing from source in Windows
Date: 2010-10-18 01:40:15
Message-ID: 4CBBA57F.3050206@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-10-18 02:13:17 Re: Selecting top N percent of records.
Previous Message Tim Uckun 2010-10-18 00:06:19 Re: Selecting top N percent of records.