Re: Building 12.3 from source on Mac

2020-07-23 Thread Pavel Borisov
I'd like to add that MacPorts installs everything to /opt/ and /opt/local unless someone configures other path. You can also easily check is something from homebrew installation by running 'brew config' and looking at HOMEBREW_PREFIX entry. Regards, Pavel чт, 23 июл. 2020 г. в 19:05, Paul Förster

Re: Building 12.3 from source on Mac

2020-07-23 Thread Paul Förster
Hi Tom, > On 23. Jul, 2020, at 16:50, Tom Lane wrote: > > You should see what "file" reports these as, but there's a good > bet that these are 32-bit code and won't even run on Catalina. yes, they seem pretty old: paul@meerkat:/usr/local/lib$ file libintl.* libintl.3.4.3.dylib: Mach-

Re: Building 12.3 from source on Mac

2020-07-23 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: > there is not a single symlink in /usr/local/lib: Not only that, but look at the file dates: > -rw-r--r--+ 1 root wheel 253512 Sep 23 2006 libintl.3.4.3.dylib > -rw-r--r--+ 1 root wheel 286284 Sep 23 2006 libintl.a > -rw-r--r--+ 1 root wheel 8

Re: Building 12.3 from source on Mac

2020-07-23 Thread Paul Förster
Hi Tom, > On 23. Jul, 2020, at 16:03, Tom Lane wrote: > > Looks like what you lack is a symlink libintl.dylib -> libintl.3.4.3.dylib > in /usr/local/lib. It's not real clear to me why you'd have .a and .la > files and no versionless symlink, because all of those files would > just be used for l

Re: Building 12.3 from source on Mac

2020-07-23 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: >> On 23. Jul, 2020, at 15:42, Tom Lane wrote: >> 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 config

Re: Building 12.3 from source on Mac

2020-07-23 Thread Paul Förster
Hi Tom, > On 23. Jul, 2020, at 15:42, Tom Lane 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, Appl

Re: Building 12.3 from source on Mac

2020-07-23 Thread Tom Lane
=?utf-8?Q?Paul_F=C3=B6rster?= writes: >> On 23. Jul, 2020, at 12:37, Daniel Gustafsson 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 lib

Re: Building 12.3 from source on Mac

2020-07-23 Thread Paul Förster
Hi Daniel, > On 23. Jul, 2020, at 12:37, Daniel Gustafsson 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. To > verify you can always search your system for the required header file: >

Re: Building 12.3 from source on Mac

2020-07-23 Thread Daniel Gustafsson
> On 23 Jul 2020, at 12:01, Paul Förster wrote: > If I leave out --enable-nls then building works fine and I get everything > without error. But why is there a problem with gettext? gettext is not shipped by default with macOS, you will have to install it separately via your favourite package m

Building 12.3 from source on Mac

2020-07-23 Thread Paul Förster
Hi, I'm not sure this is the right list, but I have a problem concerning building PostgreSQL 12.3 from source on a Mac. I do: ./configure \ --prefix=${pgTargetDir} \ --enable-nls \ --with-perl \ --with-python \ --with-libxml \ --with-tclconfig=/usr/lib64 \ PG_SYSROOT