Adding site and site-ccache in ~/.local to load(-compiled)-path by default?
"Dr. Arne Babenhauserheide" <[email protected]> Tue, 09 Jun 2026 20:31:42 +0200
| Newsgroups | gmane.lisp.guile.devel |
|---|---|
| Message-ID | <[email protected]> |
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
I just set up a guile library for the kids manually, naturally
configuring with
./configure --prefix=3D$HOME/.local
to avoid interfering with other user accounts, and setting up the
correct %load-path and %load-compiled-path was much more of a hurdle
than I expected.
I managed it, but it took several minutes, and I hacked it into ~/.guile
in the end, because setting GUILE_LOAD_PATH in ~/.profile did not work
(and even writing that already took time).
For new learners that=E2=80=99s quite a bad first impression.
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)?
And if there is a reason, could we re-think whether it is still worth
the cost?
It puts up quite a barrier for adoption (much more than I thought).
It would be really nice if
git clone LIBRARY_URL && cd folder/ && \
autoreconf -i && ./configure --prefix=3D$HOME/.local && \
make && make install && guile
or
wget LIBRARY_TARBALL_URL && tar xf TARBALL && cd folder / && \
./configure --prefix=3D$HOME/.local && \
make && make install && guile
would automatically enable importing from the library.
Best wishes,
Arne
=2D-=20
Unpolitisch sein
hei=C3=9Ft politisch sein,
ohne es zu merken.
https://www.draketo.de
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmooXA4QHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD62/AD/4+0lXlMcXcYsr6igCSnETwqtOEg54WNwVy
WsFD3Tg+MGk4BEi9Srrt/mEDXUhBFv/ufMf7gEwZ3rYJgQbFfJ/MHGz7OUvAg+C7
vPpgEANBV2ux6IyAaU04PxA83H8n218qSD7SgMKfTIbvtCM9CJHqfyolw8B/S4mw
ohANXwVbSoW6iAbzHKZsg+Wm4bVBOpJ8uFz5K6WinvN8r5YIA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