Hi,
I realized in the discussion with Ian Hulin that a number of my projects
are installing their .go files in the wrong place -- to the datadir
instead of to the libdir. That's silly, because the datadir isn't in
the load-compiled-path.
Consider the default load paths on this Guile installed to /opt/guile:
scheme@(guile-user)> %load-compiled-path
$1 = ("/opt/guile/lib/guile/2.0/ccache")
scheme@(guile-user)> %load-path
$2 = ("/opt/guile/share/guile/2.0" "/opt/guile/share/guile/site/2.0"
"/opt/guile/share/guile/site" "/opt/guile/share/guile")
I'm installing my Scheme files to site/ or site/2.0/. We probably need
a corresponding site dir for compiled files. So if there are no
objections I will add $libdir/guile/site/2.0/ccache to the load-compiled
path. (We don't need the site/ versus site/2.0/ distinction, as
compilation is naturally version-specific.)
Regards,
Andy
--
http://wingolog.org/