Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Date
Msg-id 8935.1170962580@sss.pgh.pa.us
Whole thread Raw
In response to FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Responses Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
"Andrew Hammond" <andrew.george.hammond@gmail.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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Next
From: Alvaro Herrera
Date:
Subject: Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball