Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-12 Thread Alexandra Roy
Hi Tom, Laurenz and all, Adding #include "postgres.h" in src/bin/psql/psqlscan.c fixes the problem ! I tested the fix with PostgreSQL 8.3.8 and I would check the 8.3.9 as soon as possible. Thank you so much for your help and your rapidity to solve this question / problem !!! Have a nice day

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-11 Thread Tom Lane
"Albe Laurenz" writes: > Alexandra Roy wrote: >> Why the "-disable-largefile" option is necessary to do a >> PostgreSQL 8.3.8 32-build ? > The problem will be fixed in the upcoming 8.5 release. ... and the next minor releases, eg 8.3.9. regards, tom lane -- Sent via

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-11 Thread Alvaro Herrera
Albe Laurenz wrote: > Alexandra Roy wrote: > > Without the "-disable-largefile" option, the compilation is > > still failing with this error: > > > > > > In file included from psqlscan.c:2385: > >/usr/include/unistd.h:171: error: conflicting types for 'lseek64' > >/usr/incl

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-11 Thread Albe Laurenz
Alexandra Roy wrote: > Without the "-disable-largefile" option, the compilation is > still failing with this error: > > > In file included from psqlscan.c:2385: > /usr/include/unistd.h:171: error: conflicting types for 'lseek64' > /usr/include/unistd.h:169: error: previ

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-10 Thread Albe Laurenz
I CC: this to the hackers list as it seems to be an old problem that was never fixed. See at the bottom. Alexandra Roy wrote: > This is a summary of what I have noticed concerning > PostgreSQL 8.3.8 compilation on AIX 5.3 TL9. > > 1. To do a successful 64-bit build, specify and execute: > > >

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-10 Thread Alexandra Roy
Hi Laurenz, hi all, This is a summary of what I have noticed concerning PostgreSQL 8.3.8 compilation on AIX 5.3 TL9. 1. To do a successful 64-bit build, specify and execute: # export OBJECT_MODE="64" # export CFLAGS="-maix64"       # export LDFLAGS="-maix64 -Wl,-bbigtoc" # ./co

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-10 Thread Albe Laurenz
Alexandra Roy wrote: > I have always run "gmake distclean" before relaunching a build. > > Maybe the32-bit build failed because I have not set and exported the > "OBJECT_MODE" environment variable. > I will try to build PostgreSQL once again with "export > OBJECT_MODE=32". I will look at the 32

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Laurenz, I have juste finished to build PostgreSQL 8.3.8 with OBJECT_MODE set to 32 and I have exactly the same error as the beginning : # export OBJECT_MODE=32 # cd /home/PostgreSQL_8.3.8/sources/postgresql-8.3.8 # ./configure => OK # gmake 2>&1 | tee gmake_PGS_8.3.8_v4.log In file included

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Hi Laurenz, hi Daniel, I have always run "gmake distclean" before relaunching a build. Maybe the32-bit build failed because I have not set and exported the "OBJECT_MODE" environment variable. I will try to build PostgreSQL once again with "export OBJECT_MODE=32". I continued to test a 64-bit

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Albe Laurenz
Alexandra Roy wrote: > It was a 32-bit build as I didn't have set the "OBJECT_MODE" to 64. > I call configure and make using as root user: > > # ./configure > # gmake > > The releases of "make" and "gcc" are : > make-3.80-1 > gcc-4.2.0-3 Hmmm, I dont get the error if I set OBJECT_MODE to

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Hi Laurenz, It was a 32-bit build as I didn't have set the "OBJECT_MODE" to 64. I call configure and make using as root user: # ./configure # gmake The releases of "make" and "gcc" are : make-3.80-1 gcc-4.2.0-3 Please find below the result of that you ask me: 1. # grep -i large confi

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Albe Laurenz
> I am trying to compile PostgreSQL 8.3.8 on AIX 5.3 TL9 (64 bits). > The ".configure" has been executed with success without any > error but the compilation of PostgreSQL with "gmake" fails. > > Please find below the errors I get : > > > In file included from psqlscan.c:2385: > /