chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] chicken-install: prefix problem


From: fulvio ciriaco
Subject: [Chicken-users] chicken-install: prefix problem
Date: Wed, 08 Apr 2009 18:06:01 +0200 (CEST)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]