From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.devel Subject: source and compiled file installtion locations Date: Thu, 3 May 2018 02:15:34 -0300 Message-ID: <20180503021534.0abd1de5@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/6Y7H9blUu0brnI_HWtCGKaR"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1525324442 29268 195.159.176.226 (3 May 2018 05:14:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 05:14:02 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu May 03 07:13:58 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE6Z2-0007W3-E0 for guile-devel@m.gmane.org; Thu, 03 May 2018 07:13:56 +0200 Original-Received: from localhost ([::1]:53982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE6b9-0004FD-8R for guile-devel@m.gmane.org; Thu, 03 May 2018 01:16:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE6az-0004Ex-9T for guile-devel@gnu.org; Thu, 03 May 2018 01:15:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE6at-0006GP-SZ for guile-devel@gnu.org; Thu, 03 May 2018 01:15:57 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:48758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fE6at-0006FN-Lp for guile-devel@gnu.org; Thu, 03 May 2018 01:15:51 -0400 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 48687A04C040 for ; Thu, 3 May 2018 07:15:49 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id KgQlX4g+doKW for ; Thu, 3 May 2018 07:15:44 +0200 (CEST) Original-Received: from capac (189-48-191-85.user.veloxzone.com.br [189.48.191.85]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 44431A04C00E for ; Thu, 3 May 2018 07:15:44 +0200 (CEST) X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 79.99.200.102 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19516 Archived-At: --Sig_/6Y7H9blUu0brnI_HWtCGKaR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Guilers, I'm still in doubt wrt guile-lib (as a matter of fact, could be any project= ) source and compiled file location, and would like to hear what people think. Most of us (if not all, copying each other I guess) install our project fil= es either in: GUILE_SITE [ source files GUILE_SITE_CCACHE [ compiled files or $(datarootdir)/guile/site/GUILE_EFFECTIVE_VERSION [ source $(libdir)/guile/GUILE_EFFECTIVE_VERSION/site-ccache [ compiled [ for those of us who have a proper implementation and follow a --prefix [ given by the user ... [ other files (doc, libs if C coe...) follow GNU standards and honor [ --prefix if given ... In my opinion, unless the project defines a user option, --use-guile-site [= 1], all these locations are incorrect (except 'other files..], let me explain: 1- no --use-guile-site in this case, imo, locations should be $(datarootdir)/ [ source $(libdir)//guile-GUILE_EFFECTIVE_VERSION/site-ccache [ compiled 2- --use-guile-site in this case, imo, location should be GUILE_GLOBAL_SITE [2] [ source files GUILE_SITE_CCACHE [ compiled files Wrt the former, it is because I think, unless the s/w source is not 2.0 and= 2.2 compatible, there is no reason it should land in a GUILE_EFFECTIVE_VERSION subdir. If indeed the s/w is guile version dependent, then the former would= be GUILE_SITE ... WDYT? Thanks, David [1] I see some uses --with-guilesitedir I have two remarks (quiz) wrt this: (a) in the doc (autoconf), you see that --with-foo, defined using AC_ARG_WITH is related to enable the 'foo' extern= al lbrary, which is not our case; (b) --with-guilesitedir refers to GUILE_SITE= _DIR, which actually is the name of the m4 macro, the variable this macro defines= is GUILE_SITE, so I opted for --use-guile-site [2] see %global-site-dir in the manual I defined a few guile-ext.m4 ('extensions '), here http://git.savannah.gnu.org/cgit/guile-cv.git/tree/m4/guile-ext.m4 --Sig_/6Y7H9blUu0brnI_HWtCGKaR Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlrqmvYACgkQ83T9k6MF etdgEgf/QwiB2VNjaLRQmjqaa12435DTmeeELTxh2hN0n5v1mwcxCdiWmqhUyT6D PdzaSQ+peeiUR9+zWPsHSHhiHqpkRKxvyOmW5TZSq4w/eOGguRN1F8yj23uP3lXv CpTTKbnTmtXFaJKxA6RvJLCC7oR6BmhAd74A4klWXbyOK5OAoq5gt+JclW85jFln Vl3KIPtzM0OYEK1QqRnMTMoyXd13/t2AYkZt0RBvFGXDLdhdmKzl8yVr0jfDgwEk LsvinE3IeCJ3yhmpx+Sam8Oky8gy0ji/nw06hS2jRQRJl2TR+opdUFcl05psxTWK f2cG/EMh3szxTn1hcyNHLCyhAvYMrw== =5c8G -----END PGP SIGNATURE----- --Sig_/6Y7H9blUu0brnI_HWtCGKaR--