Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WujjT-0005Ft-TT for pgsql-admin@arkaria.postgresql.org; Wed, 11 Jun 2014 14:42:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WujjT-0006L2-86 for pgsql-admin@arkaria.postgresql.org; Wed, 11 Jun 2014 14:42:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WujjS-0006Kr-7t for pgsql-admin@postgresql.org; Wed, 11 Jun 2014 14:42:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WujjN-0005yp-PH for pgsql-admin@postgresql.org; Wed, 11 Jun 2014 14:42:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s5BEgNNw020181; Wed, 11 Jun 2014 10:42:23 -0400 From: Tom Lane To: irrusappan cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL 9.2.4 installation issue with RedHat 6.4 In-reply-to: <1402466012804-5806783.post@n5.nabble.com> References: <1402466012804-5806783.post@n5.nabble.com> Comments: In-reply-to irrusappan message dated "Tue, 10 Jun 2014 22:53:32 -0700" Date: Wed, 11 Jun 2014 10:42:23 -0400 Message-ID: <20180.1402497743@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org irrusappan 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