[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
inconsistent slib instructions - choice of install dir
From: |
Greg Troxel |
Subject: |
inconsistent slib instructions - choice of install dir |
Date: |
Fri, 11 Mar 2022 15:16:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) |
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
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- inconsistent slib instructions - choice of install dir,
Greg Troxel <=