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: felix winkelmann
Subject: Re: [Chicken-hackers] TinyCLOS 'examples' install path?
Date: Thu, 28 Feb 2008 08:31:28 +0100

On Thu, Feb 28, 2008 at 8:06 AM, Ivan Raikov <address@hidden> wrote:
>
>   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
>

Yes, this looks good. The whole install-dir stuff has grown a bit
out of hands. See also "##sys#repository-path" in eval.scm
(and the different ways of specifying the prefix if it is not
given explicitly).


cheers,
felix




reply via email to

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