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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Дата
Msg-id 8935.1170962580@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Ответы Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: FreeBSD 6.2 ./configure plays oddly when building 8.2.2 from tarball