Re: [GENERAL] installing from source in Windows

2010-10-25 Thread Turner, John J
- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Tuesday, October 19, 2010 12:23 AM To: Turner, John J Cc: List, Postgres Subject: Re: [GENERAL] installing from source in Windows On 19/10/10 11:58, Turner, John J wrote: > I began to suspect my version of WinZip was lousing up th

Re: [GENERAL] installing from source in Windows

2010-10-18 Thread Craig Ringer
On 19/10/10 11:58, Turner, John J wrote: > I began to suspect my version of WinZip was lousing up the pg source > files when it dropped files from a zlib.tar I was trying to install. Hmm, ok. Thanks for the heads-up, then. "Winzip mangles tar archives" goes into the list of possible fault causes..

Re: [GENERAL] installing from source in Windows

2010-10-18 Thread Turner, John J
dous thanks for all the help! I'd be lost otherwise. Cheers, John -Original Message- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Monday, October 18, 2010 8:20 PM To: Turner, John J Cc: List, Postgres Subject: Re: [GENERAL] installing from source in Windows O

Re: [GENERAL] installing from source in Windows

2010-10-18 Thread Craig Ringer
On 19/10/2010 5:58 AM, Turner, John J wrote: Here's a question: is my source download getting mangled by unpacking with WinZip instead of gzip? I doubt it. I use 7-zip on Windows without problems. You certainly don't need to use gzip and GNU tar. I'm pretty puzzled about why c.h isn't seei

Re: [GENERAL] installing from source in Windows

2010-10-18 Thread Turner, John J
Postgres Subject: Re: [GENERAL] installing from source in Windows On 10/18/2010 12:29 PM, Turner, John J wrote: > > Craig, thanks for having a go at it - and thanks for all the help thus > far! OK. According to your config.log, configure tests "long int" and determines it's only

Re: [GENERAL] installing from source in Windows

2010-10-18 Thread Greg Smith
Craig Ringer wrote: Have you re-tried all this on a clean source tree, running under the msys shell from start to finish? A handy thing to know is that running "make maintainer-clean" in the source code tree will clean out all artifacts from any previous build attempt. -- Greg Smith, 2ndQua

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Craig Ringer
On 10/18/2010 12:29 PM, Turner, John J wrote: Craig, thanks for having a go at it - and thanks for all the help thus far! OK. According to your config.log, configure tests "long int" and determines it's only 32 bits, so tries "long long int" and determines that it's 64 bits wide. So there is

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Tom Lane
Greg Smith writes: > Well, you should probably get over that, because all of the official > builds of 9.0 don't really care about supporting MinGW anymore. See > http://www.postgresql.org/docs/9.0/interactive/install-windows.html for > notes on this. I wouldn't be surprised to find the capabi

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Turner, John J
2ndquadrant.com] Sent: Sunday, October 17, 2010 10:47 PM To: Turner, John J Cc: Craig Ringer; Rob Sargent; pgsql-general@postgresql.org Subject: Re: [GENERAL] installing from source in Windows Turner, John J wrote: > I'm reluctant at this point to wipe out my MinGW and MSYS and start fro

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Craig Ringer
On 10/18/2010 11:28 AM, Turner, John J wrote: .. I thought it was worth a shot to try building from source with MinGW/MSYS to get the pgxs files... but apparently not -- especially since I'm on Windows XP 32-bit platform (hence the issue with 64-bit datatypes bombing out during make, I presume)

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Greg Smith
Turner, John J wrote: I'm reluctant at this point to wipe out my MinGW and MSYS and start from scratch with Windows SDK and/or VS-ee... Well, you should probably get over that, because all of the official builds of 9.0 don't really care about supporting MinGW anymore. See http://www.postg

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Craig Ringer
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 0

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Turner, John J
Bad news: Now the install process bombs out when I attempt to "make" (it gets Error 1 and Error 2 and backs out of the /c/program files/postgresql-9.0.0/src directory) This is the full log of what happens when I run make: $ make make -C src all make[1]: Entering directory

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Daniel Verite
Turner, John J wrote: > Bad news: Now the install process bombs out when I attempt to "make" > (it gets Error 1 and Error 2 and backs out of the /c/program > files/postgresql-9.0.0/src directory) FWIW, it works for me. "Error X" being too little to guess anything, maybe you should paste

Re: [GENERAL] installing from source in Windows

2010-10-17 Thread Turner, John J
e- From: Craig Ringer [mailto:cr...@postnewspapers.com.au] Sent: Saturday, October 16, 2010 9:28 PM To: Rob Sargent Cc: Turner, John J; pgsql-general@postgresql.org Subject: Re: [GENERAL] installing from source in Windows On 10/17/2010 12:25 AM, Rob Sargent wrote: > No at all familiar wi

Re: [GENERAL] installing from source in Windows

2010-10-16 Thread Craig Ringer
On 10/17/2010 12:25 AM, Rob Sargent wrote: No at all familiar with MinGW, but I've done some "./configure"s in my time. ./configure scripts 1) check to see what the local build environment contains and 2) which special feature you wish to toggle. But the pretty much assume a unix-like env. Coul

Re: [GENERAL] installing from source in Windows

2010-10-16 Thread Rob Sargent
No at all familiar with MinGW, but I've done some "./configure"s in my time. ./configure scripts 1) check to see what the local build environment contains and 2) which special feature you wish to toggle. But the pretty much assume a unix-like env. Could you put cygwin on rather than just ming

[GENERAL] installing from source in Windows

2010-10-16 Thread Turner, John J
I have MinGW installed and I've unpacked the pg 9.0 source files which now reside in the following path: * C:\Program Files\postgresql-9.0.0 In Chapter 15.5 of the 9.0 manual, the installation procedure basically begins by instructing me to run ./configure This command does not work. Much a