From: Greg Troxel <gdt@lexort.com>
To: guile-user@gnu.org
Subject: inconsistent slib instructions - choice of install dir
Date: Fri, 11 Mar 2022 15:16:08 -0500 [thread overview]
Message-ID: <rmih784gs8n.fsf@s1.lexort.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
The guile manual:
https://www.gnu.org/software/guile/docs/docs-2.2/guile-ref/SLIB-installation.html
https://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html
says
ln -s /usr/local/lib/slib /usr/local/share/guile/2.2/slib
ln -s /usr/local/lib/slib /usr/local/share/guile/3.0/slib
but the code in slib/guile-2.scm tends to put it in %site-dir which is
share/guile/site/2.2
slib's code matches
https://www.gnu.org/software/guile/manual/html_node/Installing-Site-Packages.html
(I see that the non-version-suffixed site and guile paths are included
in %load-path.)
I'm only asking because I had a hard time untangling all the paths,
brought on mostly by needing to override GUILE_IMPLEMENTATION_PATH to
get slib to write slibcat in a destdir for packaging, and I found this
confusing.
I think the fix is to change the manual to suggest the site directory.
I think it doesn't matter if slib and slibcat are in the same place as
long as each is in %load-path, but it seems awkward to have them
different.
But perhaps I'm missing something.
Greg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
reply other threads:[~2022-03-11 20:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rmih784gs8n.fsf@s1.lexort.com \
--to=gdt@lexort.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).