chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] TinyCLOS 'examples' install path?


From: Ivan Raikov
Subject: Re: [Chicken-hackers] TinyCLOS 'examples' install path?
Date: Thu, 28 Feb 2008 16:06:05 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

  I was wrong about that, the value of CHICKEN_REPOSITORY is accessed
through the parameter repository-path, and the -R option works as
expected. But if -destdir is specified, then the repository becomes
{destdir}/lib/chicken. -destdir always overrides the repository path,
hence the confusion. I propose eliminating -destdir, and introducing
option -install-prefix, which is prepended to the repository path and
any data files being installed with copy-file. Something along the
lines of this:

$ chicken-setup -R
/var/lib/chicken/3

$ chicken-setup tinyclos => 
files installed in /var/lib/chicken/3

$ chicken-setup -R /usr/lib/chicken tinyclos => 
files installed in /usr/lib/chicken/3. 

$ chicken-setup -install-prefix $HOME/gentoo/tinyclos => 
files installed in $HOME/gentoo/tinyclos/var/lib/chicken/3

$ chicken-setup -R /usr/lib/chicken \
  -install-prefix $HOME/gentoo/tinyclos => 
files installed in $HOME/gentoo/tinyclos/usr/lib/chicken/3



>   Right now, CHICKEN_REPOSITORY is not checked in chicken-setup,
> although the man page claims otherwise. I am going to put this back,
> so we are consistent with the documentation.




reply via email to

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