Hi Tom, Thanks for your guidance.
Yes, with “—with-ldap”, I got the same warnings with make. > On Oct 9, 2025, at 12:20, Tom Lane <[email protected]> wrote: > > I wrote: >> Chao Li <[email protected]> writes: >>> The other problem I encountered is that, when unicode map files are >>> regenerated, “make” won’t auto rebuild corresponding .o and lib files, but >>> ninja does. That means “Makefile” has something to fix. But given ninja >>> works, should “Makefile” still be fixed? > >> Probably. > > BTW, did you use --enable-depend with configure? If that fixes > the problem then there is no bug. This is another philosophical > difference: autoconf lets you say whether to spend the overhead > to track build dependencies, meson/ninja does it always. It might > be that --enable-depend isn't enough to capture this dependency, > in which case that's a bug worth fixing. > For the issue I encountered, I just tried “—enable-depend”, the option doesn’t resolve the issue: ``` chaol@ChaodeMacBook-Air mb % touch Unicode/euc_cn_to_utf8.map chaol@ChaodeMacBook-Air mb % make /Library/Developer/CommandLineTools/usr/bin/make -C ../../../../src/backend generated-headers /Library/Developer/CommandLineTools/usr/bin/make -C ../include/catalog generated-headers make[2]: Nothing to be done for `generated-headers'. /Library/Developer/CommandLineTools/usr/bin/make -C nodes generated-header-symlinks make[2]: Nothing to be done for `generated-header-symlinks'. /Library/Developer/CommandLineTools/usr/bin/make -C utils generated-header-symlinks /Library/Developer/CommandLineTools/usr/bin/make -C adt jsonpath_gram.h make[3]: `jsonpath_gram.h' is up to date. ``` As you can see, I touched a map file and nothing got rebuilt. But with meson, if I touch the same map file, the corresponding lib will be rebuilt. I am trying to fix this issue with https://commitfest.postgresql.org/patch/5953/. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/
