Matt Wette <[email protected]> writes:

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

I feel like I must be doing something wrong. :)

--8<---------------cut here---------------start------------->8---
$ cd /tmp
$ curl -sSfLO https://ftp.gnu.org/gnu/guile/guile-3.0.11.tar.gz
$ tar -xf guile-3.0.11.tar.gz
$ cd guile-3.0.11
$ guix shell -CDf guix.scm
[..]
[env]$ ./configure --enable-mini-gmp --prefix=$HOME/.local
[..]
[env]$ make -j32
[..]
[env]$ make install
[..]
[env]$ ~/.local/bin/guile -c '(pk %load-path)'

;;; (("/home/u/.local/share/guile/3.0" "/home/u/.local/share/guile/site/3.0" 
"/home/u/.local/share/guile/site" "/home/u/.local/share/guile"))
--8<---------------cut here---------------end--------------->8---

The load path seems correct.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Reply via email to