pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Still further rethinking of build changes for macOS Mojave. 7+ messages / 1 participants [nested] [flat]
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e74dd00f53cd6dc1887f76b9672e5f6dcf0fd8a2 Modified Files -------------- configure | 18 +++++++----------- configure.in | 18 +++++++----------- contrib/hstore_plperl/Makefile | 7 ++----- contrib/jsonb_plperl/Makefile | 7 ++----- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 7 files changed, 24 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d1e869d1ef1c7a7665721fadf0140dad49151ca9 Modified Files -------------- configure | 18 +++++++----------- configure.in | 18 +++++++----------- contrib/hstore_plperl/Makefile | 7 ++----- contrib/jsonb_plperl/Makefile | 7 ++----- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 7 files changed, 24 insertions(+), 38 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/34f9944c207f9f710eb7f65d22805f42d46e479e Modified Files -------------- configure | 18 +++++++----------- configure.in | 18 +++++++----------- contrib/hstore_plperl/Makefile | 7 ++----- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 6 files changed, 22 insertions(+), 33 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1b92ca9e2c22fac54e4f77c80b6bbe8469ed472d Modified Files -------------- configure | 18 +++++++----------- configure.in | 18 +++++++----------- contrib/hstore_plperl/Makefile | 7 ++----- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 6 files changed, 22 insertions(+), 33 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/021b355cd1668c667f34b76c56fe6b3f8dbaefe3 Modified Files -------------- configure | 18 +++++++----------- configure.in | 18 +++++++----------- contrib/hstore_plperl/Makefile | 7 ++----- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 6 files changed, 22 insertions(+), 33 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0749acca50d3962c4a6a721c41347f15fd59db31 Modified Files -------------- configure | 20 ++++++++------------ configure.in | 18 +++++++----------- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 5 files changed, 21 insertions(+), 29 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Still further rethinking of build changes for macOS Mojave. @ 2018-10-18 18:55 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2018-10-18 18:55 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Still further rethinking of build changes for macOS Mojave. To avoid the sorts of problems complained of by Jakob Egger, it'd be best if configure didn't emit any references to the sysroot path at all. In the case of PL/Tcl, we can do that just by keeping our hands off the TCL_INCLUDE_SPEC string altogether. In the case of PL/Perl, we need to substitute -iwithsysroot for -I in the compile commands, which is easily handled if we change to using a configure output variable that includes the switch not only the directory name. Since PL/Tcl and PL/Python already do it like that, this seems like good consistency cleanup anyway. Hence, this replaces the advice given to Perl-related extensions in commit 5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should just write "$(perl_includespec)". (The old way continues to work, but not on recent macOS.) It's still the case that configure needs to be aware of the sysroot path internally, but that's cleaner than what we had before. As before, back-patch to all supported versions. Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/015fd381fe4ec333c093e7d4364580dd0c125ee7 Modified Files -------------- configure | 20 ++++++++------------ configure.in | 18 +++++++----------- src/Makefile.global.in | 2 +- src/pl/plperl/GNUmakefile | 5 +++-- src/template/darwin | 5 ++--- 5 files changed, 21 insertions(+), 29 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2018-10-18 18:55 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us> 2018-10-18 18:55 pgsql: Still further rethinking of build changes for macOS Mojave. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox