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

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

On 6/12/26 6:32 PM, Tomas Volf wrote:
> Matt Wette<[email protected]> writes:
>
>> 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.
> Interesting, it does work for me.
>
>
I built from the guile-3.0.11 distribution tarball.
I notice that there have been a number of updates to the configure
scripts in the guile repo.   Maybe those affect it.

Matt

--------------pteTQJYLTRRP900cqTfEfOUd
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/12/26 6:32 PM, Tomas Volf wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:[email protected]">
      <pre wrap="" class="moz-quote-pre">Matt Wette <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:

</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">On 6/9/26 11:31 AM, Dr. Arne Babenhauserheide wrote:
</pre>
        <blockquote type="cite">
          <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
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>
        <pre wrap="" class="moz-quote-pre">
 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.
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">
Interesting, it does work for me.


</pre>
    </blockquote>
    I built from the guile-3.0.11 distribution tarball.<br>
    I notice that there have been a number of updates to the configure<br>
    scripts in the guile repo.   Maybe those affect it.<br>
    <br>
    Matt<br>
    <br>
  </body>
</html>

--------------pteTQJYLTRRP900cqTfEfOUd--