Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-30 Thread felix . winkelmann
> > So the basic problem is to install multiple sets of files, in separate
> > steps? I think for "scheme-include" components this should be possible,
> > but (as far as I can see) this is not currently possible for "c-include"
> > components (but could be added).
> 
> It's for more than that.  SPOCK for instance installs its Scheme *and*
> JS runtime into PREFIX/lib/chicken/8/spock/.  The latter is neither a
> scheme-include nor a c-include.  Feathers installs itself into
> PREFIX/share/chicken/feathers.tcl.  I'm not sure what I'd categorize
> these as, but I suspect these eggs cannot be ported until you can
> specify a PREFIX-relative destination directory (as opposed to
> specifying the type of file to be installed).

Feathers is part of the core system and ths spock stuff could in theory
simply be treated as data and installed/accessed from a diffent location,
so it is already possible, even if not ideal. But a patch is pending, as you
probably know, so no need to panic.


felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-30 Thread Thomas Chust
On Wed, 29 Aug 2018 17:20:09 -0400 John Cowan  wrote:

> On Wed, Aug 29, 2018 at 4:21 PM  wrote:
> 
> 
> > I don't see the motivation for installing files outside of the chicken
> > installation
> > tree, so it is not clear to me what you want to achieve with this.
> >
> 
> From what I understand (which may be wrong) it's so that chicken-install
> can put a
> file in a place expected by some external library.
> [...]

Hello,

that is precisely the use case I have in mind, yes.

Also, on my machine I consider the entire /opt/chicken prefix to be my "chicken 
installation tree", and I don't want to put anything outside of that, but I do 
want to put things inside in any location that appears right, not just one of 
three fixed paths ;-)

Ciao,
Thomas


-- 
There are only two things wrong with C++: The initial concept and the
implementation.
-- Bertrand Meyer

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-30 Thread Vasilij Schneidermann
> So the basic problem is to install multiple sets of files, in separate
> steps? I think for "scheme-include" components this should be possible,
> but (as far as I can see) this is not currently possible for "c-include"
> components (but could be added).

It's for more than that.  SPOCK for instance installs its Scheme *and*
JS runtime into PREFIX/lib/chicken/8/spock/.  The latter is neither a
scheme-include nor a c-include.  Feathers installs itself into
PREFIX/share/chicken/feathers.tcl.  I'm not sure what I'd categorize
these as, but I suspect these eggs cannot be ported until you can
specify a PREFIX-relative destination directory (as opposed to
specifying the type of file to be installed).

Vasilij

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users