Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Hammond" <andrew(dot)george(dot)hammond(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Date: 2007-02-08 19:23:00
Message-ID: 8935.1170962580@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Andrew Hammond" <andrew(dot)george(dot)hammond(at)gmail(dot)com> writes:
> I'm trying to build PostgreSQL 8.2.2 outside the ports system on a
> FreeBSD 6.2 amd64 box.

Note you *definitely* want 8.2.3 not 8.2.2.

> configure:2209: checking for C compiler default output file name
> configure:2212: gcc -O3 -funroll-loops -m64 conftest.c /usr/local/lib >&5
> /usr/local/lib: file not recognized: File format not recognized

That's really strange. For reference, I get this:

configure:2209: checking for C compiler default output file name
configure:2212: gcc conftest.c >&5
configure:2215: $? = 0
configure:2261: result: a.out

I thought it might be coming from your --with-libs switch somehow,
but when I add that to my configure command it does not change this
output at all. Is it possible you've got environment variables
(like CFLAGS) that configure might be picking up?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-02-08 19:28:44 Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Previous Message Alvaro Herrera 2007-02-08 19:19:39 Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball