Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: Alexandra Roy *EXTERN* <Alexandra(dot)Roy(at)bull(dot)net>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed
Date: 2009-11-11 14:34:46
Message-ID: 20091111143446.GC4038@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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/include/unistd.h:169: error: previous declaration of 'lseek64'
> > was here
> > In file included from /usr/include/unistd.h:744,
> > from psqlscan.c:2385:
> [...]
> >
> >
> > Does someone have an idea about this ?
> > Why the "-disable-largefile" option is necessary to do a
> > PostgreSQL 8.3.8 32-build ?
> > Why the "OBJECT_MODE" exported to 32 is not sufficient ?
>
> The problem will be fixed in the upcoming 8.5 release.
>
> If you need a 32-bit build of 8.3.8 on AIX, you can (after
> you got the error message) edit src/bin/psql/psqlscan.c and add
> #include "postgres.h"
> as first line.

Actually it's in the 8.3 CVS branch too. A 8.3 snapshot should work
fine.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-11-11 14:42:19 Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed
Previous Message Bill Moran 2009-11-11 13:32:09 Re: Editor for sgml files

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-11-11 14:42:19 Re: PostgreSQL 8.3.8 on AIX5.3 : compilation failed
Previous Message Simon Riggs 2009-11-11 13:23:13 Re: Hot Standby status