From: Tom Lane <tgl@sss.pgh.pa.us>
To: irrusappan <irrusappan.p@tcs.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL 9.2.4 installation issue with RedHat 6.4
Date: Wed, 11 Jun 2014 10:42:23 -0400
Message-ID: <20180.1402497743@sss.pgh.pa.us> (raw)
In-Reply-To: <1402466012804-5806783.post@n5.nabble.com>
References: <1402466012804-5806783.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
irrusappan <irrusappan.p@tcs.com> writes:
> I'm trying to install PostgreSQL 9.2.4 (32 bit) source in Redhat6.4
> platform.
> I have no issue in ./configure, however it failed in making source using
> gmake.Is there any compatibility issue b/w Postgresql 9.2.4 and Redhat 6.4
> or can you please gimme any suggestion to resolve the issue.
The most reasonable guess from this bit:
> heaptuple.c:195: error: duplicate case value
> heaptuple.c:195: error: previously used here
is that sizeof(Datum) == sizeof(int32), as expected in a 32-bit build,
but yet tupmacs.h saw SIZEOF_DATUM == 8 and so we're trying to compile
the 64-bit version of store_att_byval(). All those warnings look like
there's something wrong about the Datum-size configuration, too.
What that suggests is that you're wrong about having "no issue in
./configure". Maybe you previously configured for a 64-bit build
and forgot to reconfigure for 32-bit? Or, if you're trying to do
a 32-bit build on a machine that's natively 64-bit, you did not
give the right compiler flags to configure so that it made its
decisions based on testing 64-bit behavior.
Redo the configure and make sure it reports 32-bit-appropriate values
for sizeof(long) and related tests. *Don't* insert flags like -m32
post-configure: that has to be in the CFLAGS that configure sees.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, irrusappan.p@tcs.com
Subject: Re: PostgreSQL 9.2.4 installation issue with RedHat 6.4
In-Reply-To: <20180.1402497743@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox