unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* inconsistent slib instructions - choice of install dir
@ 2022-03-11 20:16 Greg Troxel
  0 siblings, 0 replies; only message in thread
From: Greg Troxel @ 2022-03-11 20:16 UTC (permalink / raw)
  To: guile-user

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-11 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 20:16 inconsistent slib instructions - choice of install dir Greg Troxel

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).