Re: Building zsh/db/gdbm on MacOS Sequoia
Oliver Kiddle <[email protected]> Mon, 29 Jun 2026 13:22:24 +0200
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <[email protected]_.O1tt> |
Bart Schaefer wrote: > On Fri, Jun 26, 2026 at 7:56 PM Mikael Magnusson <[email protected]> wrote: > > > > Yeah, the asymmetry is that pcre has pcre-config, and gdbm doesn't > > have that nor a pkgconfig file, so there's not really anything we > > could do short of find -name libgdbm.so / Not long ago, I came across a library that used find like that below /usr which had the effect of hanging the build on my system for a very very long time. I don't think using the package manager as in the suggested patch is a great idea either. There are way too many different ones. There can be more than one on particular systems: you might have gdbm from more than one of mac ports, conda, brew, pkgsrc, ravenports, etc Using pkg-config files or specific commands like pcre2-config is well established and it is clearer how to control which is used where there are multiple installations of the same library. The same goes for assigning specific values to variables like LDFLAGS to direct the build to needed libraries. We should be trying to make the configure script simpler. Oliver