From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.user Subject: inconsistent slib instructions - choice of install dir Date: Fri, 11 Mar 2022 15:16:08 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15765"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 11 21:16:28 2022 Return-path: Envelope-to: guile-user@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 1nSlga-0003wr-Ko for guile-user@m.gmane-mx.org; Fri, 11 Mar 2022 21:16:28 +0100 Original-Received: from localhost ([::1]:40302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSlgZ-00063i-ED for guile-user@m.gmane-mx.org; Fri, 11 Mar 2022 15:16:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSlgL-00063Z-Hg for guile-user@gnu.org; Fri, 11 Mar 2022 15:16:13 -0500 Original-Received: from [2605:2700:0:2:a800:ff:fe4b:be00] (port=64039 helo=s1.lexort.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSlgI-0000u3-IR for guile-user@gnu.org; Fri, 11 Mar 2022 15:16:13 -0500 Original-Received: by s1.lexort.com (Postfix, from userid 10853) id 9A1474107D1; Fri, 11 Mar 2022 15:16:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail; t=1647029768; bh=gIousYnQtE3C/qwMlwECha3igW1Qy+1ZVR1jzY1FpL8=; h=From:To:Cc:Subject:Date; b=c9CXT+zDP/vA/EtPV8WuRTKih4cikU7LfTFV3Ki6Wud0uMFXG4YKNKmVQMQGwfhuc ag5XJzWapMwGZRjPBxrxZRqR+akgmO9rfbXAKVOSVUXi+aYzw6i2dT/dnFXnTScOfe weKeiGaekUz3Ji+aGoBrJIgAgGX2e9X0s5oAeuF8= OpenPGP: id=098ED60E X-Host-Lookup-Failed: Reverse DNS lookup failed for 2605:2700:0:2:a800:ff:fe4b:be00 (failed) Received-SPF: pass client-ip=2605:2700:0:2:a800:ff:fe4b:be00; envelope-from=gdt@lexort.com; helo=s1.lexort.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18196 Archived-At: --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQS7wyAjWilQwVHG9Vsf2nroCY7WDgUCYiuuCAAKCRAf2nroCY7W Dv1LAJ0Wy+xn/sxULBlXocEyJeq7EKDE5wCfZgZpYuYY2JiXafK53mnw7e/4dAk= =VReo -----END PGP SIGNATURE----- --=-=-=--