"Andrew Hammond" <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to