oasis icon indicating copy to clipboard operation
oasis copied to clipboard

Simplify "ocaml setup.ml -configure" ouput

Open gildor478 opened this issue 4 years ago • 0 comments

This feature request has been migrated from artifact #1005 on forge.ocamlcore.org. It was assigned to user102.

user315 posted on 2011-06-29 17:11:07:

When configuring a library, some path informations aren't always useful. For example:

Install architecture-independent files dir: .................. /usr/local Install architecture-dependent files in dir: ................. $prefix User executables: ............................................ $prefix/bin

Not printing those paths -- when they are unused by the installation process -- may simplify the configuration process : by checking the output of "ocaml setup.ml -configure", a user know if he have to tune those paths to its custom installation.

user102 replied on 2011-06-29 17:23:43:

Why not, but it requires quite a bit of work, because you'll have to understand where thos path are used...

I guess, you want that:

  • if an executable section is present -> show User executable + its deps (e.g. if it contains $prefix, show Install architecture-independent files dir)
  • if a data file is present (in exec or lib) -> show its location + depends
  • if a document is present -> show its location + depends

I guess, the same should stands for other variables that are used or not (e.g. architecture, compiler flags).

Please tell me more about how to filter all this.

gildor478 avatar Oct 24 '20 16:10 gildor478