Re: Adding site and site-ccache in ~/.local to load(-compiled)-path by default?

Matt Wette <[email protected]> Tue, 9 Jun 2026 13:09:28 -0700
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------04pM7jmOzQ6KQGUKp0hSEkqr
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 6/9/26 11:31 AM, Dr. Arne Babenhauserheide wrote:
> Hi,
>
> I just set up a guile library for the kids manually, naturally
> configuring with
>
>      ./configure --prefix=$HOME/.local
> Is there a good reason why we do not include the site dir and the
> site-ccache dir in $HOME/.local in the %load-path and
> %load-compiled-path by default (if they exist)?
>

  I didn't believe it at first but you are right.
So, I tried, and %load-path ended up under /usr/share/guile.
This seems messed up, IMO.

Note that I usually build with --prefix=/opt/local and with that prefix
the %load-path gets set correctly to /opt/local/share/guile.

Matt
--------------04pM7jmOzQ6KQGUKp0hSEkqr
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 6/9/26 11:31 AM, Dr. Arne
      Babenhauserheide wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">Hi,

I just set up a guile library for the kids manually, naturally
configuring with

    ./configure --prefix=$HOME/.local
</pre>
    </blockquote>
    <span style="white-space: pre-wrap">
</span>
    <blockquote type="cite" cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">Is there a good reason why we do not include the site dir and the
site-ccache dir in $HOME/.local in the %load-path and
%load-compiled-path by default (if they exist)?

</pre>
    </blockquote>
    <br>
     I didn't believe it at first but you are right.  <br>
    So, I tried, and %load-path ended up under /usr/share/guile.<br>
    This seems messed up, IMO.<br>
    <br>
    Note that I usually build with --prefix=/opt/local and with that
    prefix<br>
    the %load-path gets set correctly to /opt/local/share/guile.<br>
    <br>
    Matt
  </body>
</html>

--------------04pM7jmOzQ6KQGUKp0hSEkqr--