unofficial mirror of 
 help / color / mirror / Atom feed
From: "Aleix Conchillo Flaqué" <>
To: guile-user <>, guile-devel <>
Subject: Guile extensions path (includes PATCH)
Date: Mon, 29 Jun 2020 19:54:35 -0700	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1.1: Type: text/plain, Size: 962 bytes --]


I was adding guile-ncurses to homebrew-guile and realized there might be an
issue in the documentation.

According to this:

the extensions directory is /usr/lib/guile/3.0/ (or
/usr/local/lib/guile/3.0/m depending on your libdir). This is the directory
where guile-ncurses installs libguile-ncurses library.

However, I then saw that guile-readline was installed in
/usr/local/lib/guile/3.0/extensions. I initially thought this was a
Homebrew specific location. I looked at the Formula but there's nothing
specific to Homebrew there.

Then, I looked at guile and found this:

which indicates the extensions path is really /usr/lib/guile/3.0/extensions.

I patched guile-ncurses with this and it works fine now on macOS.

In case this is correct, I'm including a patch to fix the manual.



[-- Attachment #1.2: Type: text/html, Size: 3546 bytes --]

[-- Attachment #2: 0001-doc-update-guile-extensions-path.patch --]
[-- Type: application/octet-stream, Size: 1139 bytes --]

From 4c0ecac85bb3c1af9b66f00963d34e96096c3889 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= <>
Date: Mon, 29 Jun 2020 19:51:30 -0700
Subject: [PATCH] doc: update guile extensions path

* doc/ref/api-foreign.texi: append "extensions" to extensiondir.
 doc/ref/api-foreign.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi
index b0d6c249b..b0306fadf 100644
--- a/doc/ref/api-foreign.texi
+++ b/doc/ref/api-foreign.texi
@@ -373,7 +373,7 @@ When loaded with @code{(use-modules (foo bar))}, the
 object file in Guile's @code{extensiondir}, which is usually a
 subdirectory of the @code{libdir}. For example, if your libdir is
 @file{/usr/lib}, the @code{extensiondir} for the Guile @value{EFFECTIVE-VERSION}.@var{x}
-series will be @file{/usr/lib/guile/@value{EFFECTIVE-VERSION}/}.
+series will be @file{/usr/lib/guile/@value{EFFECTIVE-VERSION}/extensions}.
 The extension path includes the major and minor version of Guile (the
 ``effective version''), because Guile guarantees compatibility within a

             reply	other threads:[~2020-06-30  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30  2:54 Aleix Conchillo Flaqué [this message]
2020-07-29 18:07 ` Aleix Conchillo Flaqué

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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: Guile extensions path (includes PATCH)' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guile-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-devel guile-devel/ \
	public-inbox-index guile-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git