unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Guile's DATAROOTDIR and DATADIR
@ 2016-07-15  9:01 Eli Zaretskii
  2016-07-15 17:25 ` Mark H Weaver
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2016-07-15  9:01 UTC (permalink / raw)
  To: guile-devel

"./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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-16 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15  9:01 Guile's DATAROOTDIR and DATADIR Eli Zaretskii
2016-07-15 17:25 ` Mark H Weaver
2016-07-15 17:46   ` Eli Zaretskii
2016-07-16  8:39     ` Mark H Weaver
2016-07-16 10:29       ` Eli Zaretskii
2016-07-16  9:06     ` Andy Wingo
2016-07-16 10:33       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).