Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id D39639F9980 for ; Fri, 31 Aug 2007 13:42:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 46407-03 for ; Fri, 31 Aug 2007 13:42:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CEDB29F9DB0 for ; Fri, 31 Aug 2007 13:42:05 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l7VGg4qZ025853; Fri, 31 Aug 2007 12:42:05 -0400 (EDT) To: Doug Knight cc: pgsql-admin@postgresql.org Subject: Re: Forcing a 32 bit build on a 64 bit system In-reply-to: <1188574959.2131.298.camel@arc-dknightlx.wsicorp.com> References: <1188570077.2131.289.camel@arc-dknightlx.wsicorp.com> <24149.1188571609@sss.pgh.pa.us> <1188574959.2131.298.camel@arc-dknightlx.wsicorp.com> Comments: In-reply-to Doug Knight message dated "Fri, 31 Aug 2007 11:42:39 -0400" Date: Fri, 31 Aug 2007 12:42:03 -0400 Message-ID: <25852.1188578523@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/422 X-Sequence-Number: 26753 Doug Knight writes: > In the config.log both build and host now say i686-pc-linux-gnu. > However, under "checking for C compiler version" I see "Target: > x86_64-redhat-linux". Should I be concerned about this wrt building a > pure 32 bit postgreSQL? Also, later in the log, there are references to > Perl archlibexp and embedded Perl referencing the /usr/lib64 location. Hmm ... do you have a 32-bit perl installed? I'm not sure it's really possible to install both at once, actually, since there can be only one /usr/bin/perl. It might be that your best bet is to set up a 32-bit buildroot using mock. I just did that for the first time the other day and it was a lot less painful than I expected ... OTOH, if you don't actually need plperl for your test, it may not be worth troubling with. If you've got a 32-bit executable and it doesn't crash when used, that should be good enough for experimental purposes. regards, tom lane