Re: Can't compile postgresql 11 on FreeBSD 11.1

From: Olivier Gautherot <olivier(at)gautherot(dot)net>
To: Christoph Moench-Tegeder <cmt(at)burggraben(dot)net>, pgsql-general(at)postgresql(dot)org, Márcio Antônio Sepp <marcio(at)zyontecnologia(dot)com(dot)br>
Subject: Re: Can't compile postgresql 11 on FreeBSD 11.1
Date: 2018-07-17 21:19:39
Message-ID: CAJ7S9TUxOyA-FuBngyeN1Go6a4wNr4qxO87AsOqmX2SP+SSfvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 17, 2018 at 4:30 PM, Christoph Moench-Tegeder <
cmt(at)burggraben(dot)net> wrote:

> ## Olivier Gautherot (olivier(at)gautherot(dot)net):
>
> > To: Christoph Moench-Tegeder <cmt(at)burggraben(dot)net>
>
> I think you meant to hit List-Reply...
>

Ooops, my bad...

> > I just pulled the .tar.bz2 archive and compiled it with no issue.
>
> In that case I suspect you have CFLAGS, CPPFLAGS and/or LDFLAGS
> set in your environment, or you are using a compiler with non-
> standard include/library paths. Default cc (clang) does not
> search in /usr/local by default (at least on 11.2, but that did
> not change with the update).
> Basically, the port's CONFIGURE_ARGS are there for a reason...
>

I compiled the standard archive and noticed that it used GCC 6.4.0 - and I
think it does include /usr/local/include in the standard header files path.
I checked the environment and there are no custom CFLAGS/CPPFLAGS/LDFLAGS.
My default shell is csh (I doubt it makes any difference).

My test machine was a FreeBSD 11.2, if that matters.

Márcio, do you have GCC installed?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aaron Gray 2018-07-17 21:50:27 control over database files
Previous Message Tom Lane 2018-07-17 20:25:21 Re: Can't compile postgresql 11 on FreeBSD 11.1