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.bugs Subject: bug#33305: Guile's Autoconf macros play not well with make distcheck Date: Sat, 10 Nov 2018 18:20:47 -0200 Message-ID: <20181110182047.5bb110d5@capac> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_//tp3Rl1I9u491QruAyc0BVJ"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1541881851 2077 195.159.176.226 (10 Nov 2018 20:30:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2018 20:30:51 +0000 (UTC) Cc: 33305@debbugs.gnu.org To: Marc =?UTF-8?Q?Nieper-Wi=C3=9Fkirchen?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Nov 10 21:30:47 2018 Return-path: Envelope-to: guile-bugs@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 1gLZu1-0000P9-HG for guile-bugs@m.gmane.org; Sat, 10 Nov 2018 21:30:45 +0100 Original-Received: from localhost ([::1]:39853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLZw7-0005Km-HI for guile-bugs@m.gmane.org; Sat, 10 Nov 2018 15:32:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLZvw-0004Sk-3a for bug-guile@gnu.org; Sat, 10 Nov 2018 15:32:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLZkc-0002ru-P5 for bug-guile@gnu.org; Sat, 10 Nov 2018 15:21:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLZkc-0002r1-CM for bug-guile@gnu.org; Sat, 10 Nov 2018 15:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLZkc-0002WT-7B for bug-guile@gnu.org; Sat, 10 Nov 2018 15:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Pirotte Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 10 Nov 2018 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33305 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 33305-submit@debbugs.gnu.org id=B33305.15418812609677 (code B ref 33305); Sat, 10 Nov 2018 20:21:02 +0000 Original-Received: (at 33305) by debbugs.gnu.org; 10 Nov 2018 20:21:00 +0000 Original-Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLZkY-0002Vz-Tu for submit@debbugs.gnu.org; Sat, 10 Nov 2018 15:20:59 -0500 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:52342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gLZkW-0002Vq-5M for 33305@debbugs.gnu.org; Sat, 10 Nov 2018 15:20:56 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 5A2B71BE00F2; Sat, 10 Nov 2018 21:20:55 +0100 (CET) Original-Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E3bATnqHuLVy; Sat, 10 Nov 2018 21:20:55 +0100 (CET) Original-Received: from capac (unknown [179.210.17.68]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 909071BE00EF; Sat, 10 Nov 2018 21:20:54 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9262 Archived-At: --Sig_//tp3Rl1I9u491QruAyc0BVJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Mark, disclaimer: I'm not a Guile maintainer, just giving you my personal opinion here > Consider an Autotools project that eventually wants to install some Guile > modules in the system. The canonical way to do this seems to add > GUILE_SITE_DIR to ... > However, this doesn't honor --prefix settings; in particular, make > distcheck fails for non-root users; see here for a general discussion: The guile.m4 macros are not meant to (and shouldn't) honor variables such as --prefix, that is the responsibility of the (autotool based) project author= . The guile.m4 macros and variables that it defines provide (and meant to only pr= ovide) information about 'the Guile' that is 'visible' to your project (at configu= re and make time ...). There are solution though, here is an example of what I do [1]. > P.S.: There is one more issue with guile.m4: When it finds the program > guile-2.2, it only searches for guild-2.2, but not for guild. However, at > least on Ubuntu systems, there is only guild, but no guild-2.2. That is expected, because 'guild' could point to 'another Guile' ... either= it is an Ubuntu problem, either guild was not properly post-fixed as requested, not = sure, one would have to check ... HTH, David 1] http://git.savannah.nongnu.org/cgit/guile-lib.git/tree/ [ see the configure.ac, Makefile.am and am/guile.mk ... [ I suggest you clone and try it (you'll need to run ./autogen.sh first) [ try with no option, then only using --prefix, then using both --prefix [ and --with-guile-site=3Dyes=20 --Sig_//tp3Rl1I9u491QruAyc0BVJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlvnPZ8ACgkQ83T9k6MF etexLAgAzR+o8b6OsC5MLn7TR7jtjJruxy63EF3ff4NH1Ri3WH5dVc4IwYfOgslD +tUFO49drfmbgqp6lglhAKp2QenZ5qazek1+0+CTnKWjG+zLM7z5FlHR0AYlfIvZ XiPm2xRe9iJETLGjKhUU+60hnFbM95/iJTPpl2VZS2QHoVwgkhPKuAgTIqtv4s9w cErUMojM4lHkxehAb1jrQOxWMgRkoP83RLkIeg6zIvH49P+geSDYl/sXuewiEU3d TFSn2R0bB40MLp6rKOKZTybPL4z9M94rqd8Qf/Xw2LF8MHy7VmjwI4/Nnhl+4uzR DokcHccoYbXuRvYDF6o7N3LLGtzMyg== =0kqG -----END PGP SIGNATURE----- --Sig_//tp3Rl1I9u491QruAyc0BVJ--