Re: Building 12.3 from source on Mac

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:56:27
Message-ID: D0761015-1746-4147-B79C-20F7F785DE99@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

> On 23. Jul, 2020, at 15:42, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> 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.

I tried with your options. Still, same effect. Ok, worth a try.

I found:

paul(at)meerkat:~$ mdfind -name gettext | egrep -vi "/(share|man|bin|system)/"
/usr/local/info/gettext.info
/usr/local/lib/gettext
/Library/i-Installer/Receipts/gettext.ii2receipt
/usr/local/include/gettext-po.h

paul(at)meerkat:~$ mdfind -name libintl | egrep -vi "/(share|man|bin|system)/"
/usr/local/lib/libintl.3.4.3.dylib
/usr/local/lib/libintl.a
/usr/local/lib/libintl.la
/usr/local/include/libintl.h

But I did not *knowingly* install that. I guess it comes as part of Xcode but I really don't know. I'm not a developer, I just want to build PostgreSQL for my Mac.

Cheers,
Paul

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-07-23 14:03:48 Re: Building 12.3 from source on Mac
Previous Message Muhammad Usama 2020-07-23 13:50:47 Re: Transactions involving multiple postgres foreign servers, take 2