pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zdenek Kotala <Zdenek.Kotala@Sun.COM>
To: haeb@pc60.demon.co.uk
Cc: pgsql-ports@postgresql.org, Bjorn Munch <Bjorn.Munch@Sun.COM>
Subject: Re: Postgres 8.3.1 configure fails on Solaris 10 using gcc 3.4.3 and building for 64 bit
Date: Mon, 24 Mar 2008 20:19:28 +0100
Message-ID: <47E7FEC0.9020603@sun.com> (raw)
In-Reply-To: <tknfu3153g469b27mtfbibul5pncafg47s@4ax.com>
References: <tknfu3153g469b27mtfbibul5pncafg47s@4ax.com>

You can download 8.3.1 64bit version for Solaris from community web site 
http://www.postgresql.org/ftp/binary/v8.3.1/solaris/i386/

Or is there something missing what you need? I also put Bjorn on CC. He builded 
this packages, but we use Sun Studio compiler.

You can also look how 8.2 is builded in opensolaris:

http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/postgres/postgresql-8.2/
	
	Zdenek



Harry Broomhall napsal(a):
>    I've been using Postgres for years on FreeBSD boxen with very
> little problems.
> 
>    My company have now given me a big Sun box with 4 AMD64 processors
> to told me to port my system to it.  The problem is that I am not
> fluent in Solaris!
> 
>    I am adding CFLAGS='-m64' to the configure line, but gcc and ld
> seem strangely reluctant to use 64bit components, with the configure
> script failing to run the test compile with the error:
> 
> wrong ELF class: ELFCLASS32
> 
>   I've used 'crle' to set the paths, but it appears that only controls
> the loading, not the linking.
> 
>    So I would like to know just what parameters to hand to configure
> to make this work.
> 
>    I had a look on the 'buildfarm' page, and saw that emperor_moth was
> nominaly the same type of build.  But I can't see there where a 64 bit
> build is being requested.
> 
>    I'm probably missing somethig simple!
> 
>    Regards,
>           Harry.



view thread (5+ messages)  latest in thread

Message-ID: <47E7FEC0.9020603@sun.com>
Permalink:  ../47E7FEC0.9020603@sun.com/
Also on:    postgresql.org/message-id/47E7FEC0.9020603@sun.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: Zdenek.Kotala@Sun.COM, haeb@pc60.demon.co.uk, Bjorn.Munch@Sun.COM
  Subject: Re: Postgres 8.3.1 configure fails on Solaris 10 using gcc 3.4.3 and building for 64 bit
  In-Reply-To: <47E7FEC0.9020603@sun.com>
  References: <tknfu3153g469b27mtfbibul5pncafg47s@4ax.com> <47E7FEC0.9020603@sun.com>

* 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