[M3devel] proposal for next release: moving some config file content into cm3

Olaf Wagner wagner at elegosoft.com
Mon Aug 10 14:13:54 CEST 2009


Quoting Jay K <jay.krell at cornell.edu>:

> Furthermore, the following should all be "correctly default"
> and therefore moved out of config files:
>   INSTALL_ROOT (based on cm3's location)
>   BIN_INSTALL
>   LIB_INSTALL
>   MAN_INSTALL
>   PKG_INSTALL
>   USE_ROOT
>   LIB_USE
>   PKG_USE
>
> etc. (so much for a precise spec. :) )
>
> The config file shall still be able to override this.
> As well as the command line.  I think.

If these cannot be overriden by the config files, system specific
installations not adhering to the standard layout won't be possible.

> There is some order ambiguity.
> Normally LIB_USE defaults to LIB_INSTALL, etc.
> If the command line overrides LIB_INSTALL, should
> that also change LIB_USE?
>
> Perhaps these are not changable on the command line.
> Does anyone really ever vary them?
> Sure, people install to  custom place, but
> do they all not follow directly from cm3.exe location?
>
> Well, I sometimes run unshipped cm3.
> That is something to consider.
> cm3 should perhaps even move to an archictecture-specific directory.
>    /cm3/bin/I386_LINUX/cm3
>
> However, aside, I've given up on that idea.

Why? Too complex? Is there some strong argument against it?
(I don't remember offhand.)

> While the pkg store has all these nice target-specific directories already,
> instead of solving the problem for bin and lib, and then having
> savings due to not duplicating "man", I've just been
> going with separate entire roots.
>
> On a Mac for example, I'd have
>   /cm3.x86
>   /cm3.amd64
>   /cm3.ppc
>   /cm3.ppc64 (hypothetical)
>
> or on Windows:
>   /cm3 ("native")
>   /cm3.cygwin
>   /cm3.interix
>
> The "man" directory would be wastefully duplicated.
>
> For the rare user of unshipped cm3 to have to say
>   -DINSTALL_ROOT=/usr/local/bin/cm3
>
> doesn't seem terrible.
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list