Re: PG vs macOS Mojave - Mailing list pgsql-hackers

From Jakob Egger
Subject Re: PG vs macOS Mojave
Date
Msg-id 687EAD19-E8F0-464C-9F2B-BE536B81985E@eggerapps.at
Whole thread Raw
In response to Re: PG vs macOS Mojave  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PG vs macOS Mojave  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Am 17.10.2018 um 16:28 schrieb Tom Lane <tgl@sss.pgh.pa.us>:
>  It's also very odd,
> if the compiler will search the sysroot automatically, why that seemingly
> works for tcl.h but not perl.h.  plperl definitely still fails if you
> lobotomize the PG_SYSROOT logic.

Because pl/tcl ends up using -iwithsysroot to specify the header search path and pl/perl uses -I

See also: https://www.postgresql.org/message-id/153558865647.1483.573481613491501077%40wrigleys.postgresql.org

I would assume that clang sets -isysroot automatically, but I have no idea why that didn't work for you previously.

Jakob



pgsql-hackers by date:

Previous
From: Hubert Zhang
Date:
Subject: Re: Is there any way to request unique lwlock inside a backgroundworker in PG9.4?
Next
From: Andres Freund
Date:
Subject: Re: Is there any way to request unique lwlock inside a backgroundworker in PG9.4?