From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.devel Subject: Guile's DATAROOTDIR and DATADIR Date: Fri, 15 Jul 2016 12:01:12 +0300 Message-ID: <83furb6zs7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468573305 3311 80.91.229.3 (15 Jul 2016 09:01:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 09:01:45 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 15 11:01:44 2016 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bNz04-0007Tv-Lk for guile-devel@m.gmane.org; Fri, 15 Jul 2016 11:01:36 +0200 Original-Received: from localhost ([::1]:59285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNz03-00030t-LF for guile-devel@m.gmane.org; Fri, 15 Jul 2016 05:01:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNyzu-0002tj-TX for guile-devel@gnu.org; Fri, 15 Jul 2016 05:01:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNyzq-0004do-RF for guile-devel@gnu.org; Fri, 15 Jul 2016 05:01:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNyzq-0004dk-Of for guile-devel@gnu.org; Fri, 15 Jul 2016 05:01:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3245 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNyzq-00007N-4E for guile-devel@gnu.org; Fri, 15 Jul 2016 05:01:22 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:18501 Archived-At: "./configure --help" says: Fine tuning of the installation directories: [...] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] AFAIU, this means PREFIX/share/guile/2.0/ is where the *.scm files will be installed. That is, installing Guile 2.0.12 will overwrite the Scheme files that were installed there by previous Guile 2.0.x versions. If the above is true, then the question that bothers me is whether replacing these files might cause any trouble for programs that were compiled against previous Guile 2.0.x versions (like GDB and Make, for example). If there are potential incompatibilities visible on the Scheme level, then I think a versioned directory under PREFIX/share/guile/2.0/ would be in order, so that several versions of Guile could live on the same system. The same issue arises with the cache directory, where the *.go files are installed (I have those in LIBDIR/guile/2.0/ccache/). Is there a potential problem here? TIA