[Larceny-users] r6rs and err5rs libraries in custom location (larceny-5896)

Marco Maggi marco.maggi-ipsu at poste.it
Mon Jan 12 14:45:07 EST 2009


"William D Clinger" wrote:
>The actual problem here is that r6rsmode.sch does
>not lie within the /usr/local/lib/larceny/0.98
>directory that was specified using the -path option;
>it lies within /usr/local/lib/larceny/0.98/lib/R6RS,
>which is not part of the require path.

Thanks. For now the following script:

DIR=${0%/*}
LIBDIR=${DIR}/../lib/larceny/0.98
LIBEXECDIR=${DIR}/../libexec/larceny/0.98
export LARCENY_ROOT=${LIBEXECDIR}
export LARCENY_LIBPATH=${LIBDIR}:${LIBDIR}/lib/R6RS:${LARCENY_LIBPATH}

exec "${LARCENY_ROOT}/larceny.bin" \
    -heap "${LARCENY_ROOT}/larceny.heap" \
    "$@"

seems to work with the layout I described. I am
abusing, but I want to try to have a slim
installation so I will make experiments.
-- 
Marco Maggi





More information about the Larceny-users mailing list