Re: Building 12.3 from source on Mac

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Building 12.3 from source on Mac
Date: 2020-07-23 13:42:22
Message-ID: 192996.1595511742@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?utf-8?Q?Paul_F=C3=B6rster?= <paul(dot)foerster(at)gmail(dot)com> writes:
>> On 23. Jul, 2020, at 12:37, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>> gettext is not shipped by default with macOS, you will have to install it
>> separately via your favourite package manager or by building from source.

> But I am still wondering: mdfind spits out libintl.h without me installing the gettext library:
> paul(at)meerkat:~$ mdfind -name libintl.h
> /usr/local/include/libintl.h

Kind of looks like you *did* install gettext as Daniel suggested
(macOS proper would never put anything under /usr/local). Maybe
you did not ask for that specifically, but installed some package
that requires it?

However, Apple's toolchain doesn't search /usr/local by default,
I believe. You'll need to add something along the line of

--with-includes=/usr/local/include --with-libs=/usr/local/lib

to your configure command.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Muhammad Usama 2020-07-23 13:50:47 Re: Transactions involving multiple postgres foreign servers, take 2
Previous Message Paul Förster 2020-07-23 13:24:31 Re: Building 12.3 from source on Mac