From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Guile extensions path (includes PATCH) Date: Mon, 29 Jun 2020 19:54:35 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000051f82c05a9444c7a" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69514"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user , guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jun 30 04:55:06 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 1jq6QL-000I2s-Mx for guile-devel@m.gmane-mx.org; Tue, 30 Jun 2020 04:55:05 +0200 Original-Received: from localhost ([::1]:36098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jq6QK-0004nF-6D for guile-devel@m.gmane-mx.org; Mon, 29 Jun 2020 22:55:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jq6Q8-0004mf-2r; Mon, 29 Jun 2020 22:54:52 -0400 Original-Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:35152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jq6Q6-0002zo-Co; Mon, 29 Jun 2020 22:54:51 -0400 Original-Received: by mail-lj1-x242.google.com with SMTP id f8so8430769ljc.2; Mon, 29 Jun 2020 19:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ylS0AzrcbLGTuBLm7CgGITZ7FjB84qsIDeXaORoOZl4=; b=RFUrsLsOTJ/W6+LF+aox8HvpNqUCVKIOXNTKWaZGiBYa8uRzFgzuIRlYl1Yxh1aaTp FnAT3jzB3Rr2ol6PYGJ3arz9bshIetHLb6sgoVOWqVD4f2Bxy3eoOhMT0EdP0/0KX+bB WFBqVmELk56krPaddEVX04Kg4XW4z14NnOQa8pso+uS1dbI9nnyY9KOnRLAbi1h0A+gR lagwkKuIijgn/UIDJr4r7bxBxBwaALpMFy02cN0NdZ1NgpUYe9ysSe2o1Jue5qBXuLch PWZnutPI7aUcpYPb3TdSDk6lHabqRV8BUkAe/MoDf6+09mne+DvoRPdXYjBTLb6nkRfq AuCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ylS0AzrcbLGTuBLm7CgGITZ7FjB84qsIDeXaORoOZl4=; b=Tdnjhk8OCpJeTRrROsGh5fAOaqLEEeUQB0SGFhNb6KQuCOpT8rQf/hIZpwDcW3PDUM cpslgLDWXMPSNxfJ9BpRdOFWlLfTlzYqJxXmUfFc4Kuez+DddmKdn9Kfar2jcfixtY7j ulVPSXl+IOUbly/ALcgyqJFNAVBBwntpkksuYWiC9/gJS7cXgIgL97fuNXhN16eSlj/Z Nq4DciPrcfIH6dojpDSSbVP1uyvxnNL681Vnav9yR2EfVqMP3gOK/AEFbsDBeGptQxsO +s2rpfUHhLcE2R/4LzORZu0jhCwkhmdzBaYfz1ug20A+jX8QswAH1ZFZ57RLAeYYSJVQ rLLQ== X-Gm-Message-State: AOAM530ZtxNwz1MVmP9YwR4oRevVkIhaUK3a3XW/3L7tSCkSu9hSPgqm 0K44AMKCGgJXTTFZWR3vGCXqSwgCi5GT3MNcUSbP05xsK8s= X-Google-Smtp-Source: ABdhPJwH4u1RQmdMjjVv05vEuZx+OccMxHHWwo1ki36goqTNINarKrIxZZXWl5pSCNafMtQJfGQ6c5ZFonAfSrE8NI0= X-Received: by 2002:a05:651c:156:: with SMTP id c22mr546848ljd.453.1593485686816; Mon, 29 Jun 2020 19:54:46 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::242; envelope-from=aconchillo@gmail.com; helo=mail-lj1-x242.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=_AUTOLEARN 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:20553 gmane.lisp.guile.user:16618 Archived-At: --00000000000051f82c05a9444c7a Content-Type: multipart/alternative; boundary="00000000000051f82a05a9444c78" --00000000000051f82a05a9444c78 Content-Type: text/plain; charset="UTF-8" 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-Extensions.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 --00000000000051f82a05a9444c78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

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

According to this:


the extensions 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 installs libguile-ncurses = library.=C2=A0

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

Then, I looked at guile and found this:

<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ">
which indicates the extensions=C2=A0path is really /usr/lib/guile/3.0/extensions.

I patc= hed guile-ncurses with this and it works fine now on macOS.

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

Best,

Aleix
--00000000000051f82a05a9444c78-- --00000000000051f82c05a9444c7a Content-Type: application/octet-stream; name="0001-doc-update-guile-extensions-path.patch" Content-Disposition: attachment; filename="0001-doc-update-guile-extensions-path.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kc1c7qa50 RnJvbSA0YzBlY2FjODViYjNjMWFmOWI2NmYwMDk2M2QzNGU5NjA5NmMzODg5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/QWxlaXg9MjBDb25jaGlsbG89MjBGbGFxdT1D Mz1BOT89IDxhY29uY2hpbGxvQGdtYWlsLmNvbT4KRGF0ZTogTW9uLCAyOSBKdW4gMjAyMCAxOTo1 MTozMCAtMDcwMApTdWJqZWN0OiBbUEFUQ0hdIGRvYzogdXBkYXRlIGd1aWxlIGV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