From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile extensions path (includes PATCH) Date: Wed, 29 Jul 2020 11:07:11 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000690fed05ab986dd0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20789"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Jul 29 20:07:38 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0qUL-0005IT-TW for guile-devel@m.gmane-mx.org; Wed, 29 Jul 2020 20:07:38 +0200 Original-Received: from localhost ([::1]:42236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0qUK-0006zk-TS for guile-devel@m.gmane-mx.org; Wed, 29 Jul 2020 14:07:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0qUB-0006zL-3S for guile-devel@gnu.org; Wed, 29 Jul 2020 14:07:27 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:37271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0qU8-0001ae-HN for guile-devel@gnu.org; Wed, 29 Jul 2020 14:07:26 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id s9so13558746lfs.4 for ; Wed, 29 Jul 2020 11:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eh2zFUETXwpcw7euO5nMKvPra/80mFrIAObIyFYgiHo=; b=Kquq4zpdLEL0WCYfuoXq3oarZzOkLVQw71HZlZqoxdf4QuoPabpyR0I1qstzhwZNoV bq7bOpgXNXT7bhk0OuWbcpKv0mFuxtxNuxjDJQTv1cw12czRCbwsgWwvOuAu0DU1bAZC Se+R9aN0pyrXD4WGx8QzFMtrXHxlDlxHphGQ93a5m6ycf0ZomMKdKX0VCmW9y4vqtZqa pHkSrkoetZ9JiX0LGHFLKWpkvxn61zMcZN5N9B9Yme3FlJthkg54+zPbTFPvMGfceati 3iWYjPixOwHnircc0+9kQsvWa0VlcuiR533lA0VSBhysn9Ls/I18Qbxe54PP8PC9S4dW Cx3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eh2zFUETXwpcw7euO5nMKvPra/80mFrIAObIyFYgiHo=; b=dS1hgIrca05JVBUSTS+ZjcbV9yLOEMQkObpmkcjxTAX0HynKDmsqkbDZndK/sKjD3R SDclau+6y6olHaLjO9kapb32rHFQXgLG/ivSkR4s7DoE7cphs+puZonTNiHA56yYsd0r 9OYU+FZczAZoCQWqePmYWTnJdu1KgqyqSucqy+kOOgrpfb3iy2Z8W5IZzlbgDhr8nSar /5Xyn+F+ZvBFp+COt6xx144sf/4GXc9JWm9dMdNX46r/G/nslBYHY+AVHXQHvqkChzQS tL1QsyOQ6AkoObq/MwPvBsOUKyFVLci6VZu0PAjeP52uFQZQIVcKeNi2l9mIrPwl3sBV 94Jg== X-Gm-Message-State: AOAM532ALRUWijGYPCwShegA+c7VVFg4XeufTfJtqFVXHiEywIVLe7tB IJkfyLxwWIrGAfU75G4WrSND2IBYsfnEQxKvn4Sd7GXh X-Google-Smtp-Source: ABdhPJzus/KGoYFhysuoOZEdF9PuWELeaTaENszs9E/pdo9+JPVm1BRWKt58iDcuy+yVWrU27jbybhBlrSJY7v0UXAo= X-Received: by 2002:ac2:5624:: with SMTP id b4mr10767226lff.131.1596046042532; Wed, 29 Jul 2020 11:07:22 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=aconchillo@gmail.com; helo=mail-lf1-x133.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20560 Archived-At: --000000000000690fed05ab986dd0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Any thoughts on this one? Thanks, Aleix On Mon, Jun 29, 2020 at 7:54 PM Aleix Conchillo Flaqu=C3=A9 wrote: > Hi, > > I was adding guile-ncurses to homebrew-guile and realized there might be > an issue in the documentation. > > According to this: > > > https://www.gnu.org/software/guile/manual/html_node/Modules-and-Extension= s.html > > 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: > > http://git.savannah.gnu.org/cgit/guile.git/tree/libguile/Makefile.am#n772 > > 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. > > Best, > > Aleix > > --000000000000690fed05ab986dd0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Any thoughts on this one?

Thanks,=

Aleix

On Mon, Jun 29, 2020 at 7:54 PM Aleix Conc= hillo Flaqu=C3=A9 <aconchillo@gm= ail.com> wrote:
Hi,

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

According to this:


the extensio= ns directory is=C2=A0/usr/lib/guile/3.0/ (or /usr/local/lib/= guile/3.0/m depending on your libdir).=C2=A0This is the directory where guile-ncurses in= stalls libguile-ncurses library.=C2=A0

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

Then, I looked at guile and found = this:


which indicates the e= xtensions=C2=A0path is really /usr/lib/guile/3.0/extension= s.

I patched guile-ncurses with this and it w= orks fine now on macOS.

In case this is correct, I&#= 39;m including a patch to fix the manual.

Best,<= /div>

Aleix

--000000000000690fed05ab986dd0--