pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Doug Knight <dknight@wsi.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Forcing a 32 bit build on a 64 bit system
Date: Fri, 31 Aug 2007 12:42:03 -0400
Message-ID: <25852.1188578523@sss.pgh.pa.us> (raw)
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>

Doug Knight <dknight@wsi.com> 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



view thread (4+ messages)

Message-ID: <25852.1188578523@sss.pgh.pa.us>
Permalink:  ../25852.1188578523@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25852.1188578523@sss.pgh.pa.us

 · 

reply

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, dknight@wsi.com
  Subject: Re: Forcing a 32 bit build on a 64 bit system
  In-Reply-To: <25852.1188578523@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