On 2/16/20 7:28 AM, Matt Wette wrote:
On 2/16/20 6:48 AM, Ludovic Courtès wrote:

   moddir = $(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)
   godir  = $(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache

What if you have a system that gives this (e.g., Ubuntu 18.04):

mwette$ /usr/bin/guile -c "(display (assq-ref %guile-build-info 'prefix)) (newline)"
/usr

mwette$ /usr/bin/guile -c "(display (%site-ccache-dir)) (newline)"
/usr/lib/x86_64-linux-gnu/guile/2.2/site-ccache

I'm not sure that guile will find .go files installed in /usr/lib/guile/2.2/site-ccache.



And for me, things get more bizarre.  If I have another guile installed in my path
under /opt/local I get

  mwette$ /usr/bin/guile -c "(display (%site-ccache-dir)) (newline)"
  /opt/local/lib/guile/2.2/site-ccache


I have no clue how that is happening.  I assume these paths are hardcoded.

Just to be sure:

  mwette$ env | grep GUILE
  GUILE_WARN_DEPRECATED=detailed
  GUILE_LOAD_PATH=/home/mwette/opt/guile



Reply via email to