Hallo,
chicken-install seems to honour CHICKEN_INSTALL_PREFIX only
during installation phase, i.e.
chicken-install wants to install in
$CHICKEN_INSTALL_PREFIX/$CHICKEN_REPOSITORY/
but compiles loading required extensions from $CHICKEN_REPOSITORY
this leads to the following incongruency:
$ mkdir -p $HOME/chicken/lib/4 && cp $CHICKEN_PREFIX/lib/4/*
$HOME/chicken/lib/4/
$ CHICKEN_INSTALL_PREFIX=/home/fc/chicken CHICKEN_REPOSITORY=lib/4 \
chicken-install $package
Error: (require) cannot load extension: setup-download
$ CHICKEN_INSTALL_PREFIX=/home/fc/chicken \
CHICKEN_REPOSITORY=/home/fc/chicken/lib/4 chicken-install $package
.........compile compile.....
Error: (create-directory) cannot create directory - No such file or directory:
"/home/fc/chicken/home/fc/chicken"
$ CHICKEN_REPOSITORY=/home/fc/chicken/lib/4 chicken-install $package
is fine for packages installing libraries but fails otherwise trying
to install executables and doc in $CHICKEN_PREFIX/
Is there a reason why CHICKEN_REPOSITORY is not a search path, i.e.
(user-repository system-repository etc-repository)?
Fulvio
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users