guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configuring apps for guile


From: Matt Wette
Subject: Re: configuring apps for guile
Date: Sun, 16 Feb 2020 07:43:09 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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

[Prev in Thread] Current Thread [Next in Thread]