Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Building zsh/db/gdbm on MacOS Sequoia
- X-seq: zsh-workers 54856
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Building zsh/db/gdbm on MacOS Sequoia
- Date: Wed, 24 Jun 2026 23:29:49 +0200
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+JgPRxO2ogxtk4absSNL2TWqZeHYjjXlqJQlKrryDc8=; fh=1d6JlYxzxtoacsdU7303hcWrxxocGs+o5x6GW4ruZ70=; b=E5dLfx3SOCl9RizfG9w7R3szOOSPlzTDnR+RSesg//nk86BAWUj6jhOhEQuq1spH3z G4yXPu1+XgRHPg+779c9OJ5lEtdvTQMD0Y3Crve/uK2B1UaQ/1nJBfTrWQjJUyw3OLqP CdvRyzm5kH4SBesrJUcg2AlbRJcmpci+H16znUAjmYLodzfOTndQsL7Evx0YhUNtUTbd 0Uq0Qya+386tUOJFGCuzJop75LX15RW7WvPbDexYgx5GEi2yU2CtPHK7WMt6syrv9/B8 pZ/Pe1niaSQa0Wy3pYuc1puBZ68z4GQspvjYtmYFbrHi9z1EYIU3nrfam5TKRDDrqqAj U2uw==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1782336602; cv=none; d=google.com; s=arc-20260327; b=YUrGaWbkR+vESe66O9JcveKwjqT8kovP4mvhOq9v/6OkmVGtfG8G6+iKASxswiBVpQ UvWbZc1yb14a6uYw1pTPUEodJISPmr4Uu2pQhj4u8fbR5lIZdTDDSjnxnUJLYfnfVWq5 BkTQ8VWXxRqTzWAQI6fs2oEPZuDfO89hbESDbYJjvMCfxxkCxSOdROAcmXbQ7RKbwcNi Tih7q9E5H/XrSfV/Jrkmo3sU+0KKFjHwJdKg94GPKlVpNijg0B8mokxwJHdSbLZPGwTI TNeYbSSL8jBP3zTBklB+VPYUfO0zmgb7N/am8SfwcFmXkGBRiqXLzYppLnO/JgtrB3LA b7QA==
- Archived-at: <https://zsh.org/workers/54856>
- In-reply-to: <CAH+w=7a96ZL8T53E0adgfYeTT=PvPJWSY-gkwCJYUHZ77Hwn4Q@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZTZhV96MPY0WMQiysTJvccVL_G3xC++0=CmqDMuPzVMw@mail.gmail.com> <736970262.1236129.1782318610434@mail.virginmedia.com> <CAH+w=7ZtmCnY7FZGMmXX7bBKAtp06ogaj9-T3pFRnU=RydLg8Q@mail.gmail.com> <CAH+w=7ZFUbYMnPr3YbANJoxDjcCcEEaT1dXTwtn_U0Lc_oosPQ@mail.gmail.com> <CAH+w=7Y-QNLt06cRmVOqt1C2qJVNOzG6-W4BD8XzELqmuuWcvQ@mail.gmail.com> <CAH+w=7a96ZL8T53E0adgfYeTT=PvPJWSY-gkwCJYUHZ77Hwn4Q@mail.gmail.com>
On Wed, Jun 24, 2026 at 8:44 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Jun 24, 2026 at 11:01 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > (Sorry about the rapid followups)
>
> One more ...
>
> The only obvious (?) way I've found to track this down would be something like
>
> port contents gdbm | \
> sed -n '/\/lib\//{s,lib/.*,lib,;s/^[ ]*/-L/;p;q;}'
>
> This works for any port-installed package, e.g., replace gdbm with
> pcre2 or whatever.
>
> Is there a better way? The full configure.ac entry would need to test
> for the availability of the "port" command, etc.
If you have dependencies outside $prefix then I believe you are
expected to supply this path manually, eg via
% ./configure --help
Some influential environment variables:
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in
a nonstandard directory <lib dir>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include
dir> if you have headers in a nonstandard directory <include dir>
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author