pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15306: Use pkg-config for searching libxml2 header 4+ messages / 3 participants [nested] [flat]
* BUG #15306: Use pkg-config for searching libxml2 header @ 2018-07-31 03:39 PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 4+ messages in thread From: PG Bug reporting form @ 2018-07-31 03:39 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: dingxiangfei2009@gmail.com The following bug has been logged on the website: Bug reference: 15306 Logged by: Ding Xiang Fei Email address: dingxiangfei2009@gmail.com PostgreSQL version: 11beta2 Operating system: NixOS Description: This is an improvement suggestion. In the configure script, https://github.com/postgres/postgres/blob/master/configure.in#L896 this part uses `xml2-config` program to find the `libxml2` headers. It would be more appropriate to use pkg-config program to search `libxml2` headers. ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #15306: Use pkg-config for searching libxml2 header @ 2018-07-31 18:33 Tom Lane <tgl@sss.pgh.pa.us> parent: PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 4+ messages in thread From: Tom Lane @ 2018-07-31 18:33 UTC (permalink / raw) To: dingxiangfei2009@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes: > This is an improvement suggestion. In the configure script, > https://github.com/postgres/postgres/blob/master/configure.in#L896 > this part uses `xml2-config` program to find the `libxml2` headers. Right ... > It would be more appropriate to use pkg-config program to search `libxml2` > headers. Why? Under what circumstances would xml2-config not be present (assuming that libxml2 is) or give a less desirable answer than pkg-config? What would you have us do on platforms lacking pkg-config? regards, tom lane ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #15306: Use pkg-config for searching libxml2 header @ 2018-08-01 09:56 Böszörményi Zoltán <zboszor@pr.hu> parent: Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 4+ messages in thread From: Böszörményi Zoltán @ 2018-08-01 09:56 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; dingxiangfei2009@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org 2018-07-31 20:33 keltezéssel, Tom Lane írta: > =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes: >> This is an improvement suggestion. In the configure script, >> https://github.com/postgres/postgres/blob/master/configure.in#L896 >> this part uses `xml2-config` program to find the `libxml2` headers. > > Right ... > >> It would be more appropriate to use pkg-config program to search `libxml2` >> headers. > > Why? Under what circumstances would xml2-config not be present > (assuming that libxml2 is) or give a less desirable answer than > pkg-config? The Yocto cross-compiler framework (since Yocto 2.2 IIRC) does not allow the "binconfig" scripts for XML2 and GD and for some other libraries. The pkg-config scripts are not just preferred but mandatory. > What would you have us do on platforms lacking pkg-config? That should be kept as a fallback in PKG_CHECK_MODULES(). Best regards, Zoltán Böszörményi > > regards, tom lane > > ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #15306: Use pkg-config for searching libxml2 header @ 2018-08-01 13:29 Tom Lane <tgl@sss.pgh.pa.us> parent: Böszörményi Zoltán <zboszor@pr.hu> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2018-08-01 13:29 UTC (permalink / raw) To: Böszörményi Zoltán <zboszor@pr.hu>; +Cc: dingxiangfei2009@gmail.com; pgsql-bugs@lists.postgresql.org =?UTF-8?B?QsO2c3rDtnJtw6lueWkgWm9sdMOhbg==?= <zboszor@pr.hu> writes: > 2018-07-31 20:33 keltezéssel, Tom Lane írta: >> Why? Under what circumstances would xml2-config not be present >> (assuming that libxml2 is) or give a less desirable answer than >> pkg-config? > The Yocto cross-compiler framework (since Yocto 2.2 IIRC) does not > allow the "binconfig" scripts for XML2 and GD and for some other > libraries. Then that's a bug to fix in Yocto. They can't imagine that their shortcomings are grounds to force changes in every other software on the planet. regards, tom lane ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-08-01 13:29 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-07-31 03:39 BUG #15306: Use pkg-config for searching libxml2 header PG Bug reporting form <noreply@postgresql.org> 2018-07-31 18:33 ` Tom Lane <tgl@sss.pgh.pa.us> 2018-08-01 09:56 ` Böszörményi Zoltán <zboszor@pr.hu> 2018-08-01 13:29 ` 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