Download GODI User`s Manual
Transcript
exists (bin/ocamlfind) exists (bin/safe_camlp4) MD5 (lib/ocaml/pkg-lib/findlib/fl_metatoken.cmi) = 3c5bc46fd1c65ed3f66cd1cb8f6ec04c MD5 (lib/ocaml/pkg-lib/findlib/findlib.cmi) = f924de9dc1d88a648cffd069d90f6b8f MD5 (lib/ocaml/pkg-lib/findlib/toploop.cmi) = edb8b1422c08d147ade7c6c68d9f7381 MD5 (lib/ocaml/pkg-lib/findlib/topdirs.cmi) = 7d6713e935533a6a4cf6c4f72cef5af1 MD5 (lib/ocaml/pkg-lib/findlib/fl_metascanner.cmi) = 3f9f86c0c9884ae5041cb69ef7137d15 MD5 (lib/ocaml/pkg-lib/findlib/fl_package_base.cmi) = f561ffbf2522be8b8c2ff2a5232d2642 MD5 (lib/ocaml/pkg-lib/findlib/topfind.cmi) = 647f308787ef75fd58c2d5cb74c31082 MD5 (lib/ocaml/pkg-lib/num-top/num_top_printers.cmi) = 24dcdde5a8f7adf4ceddd6a65310668b MD5 (lib/ocaml/pkg-lib/num-top/num_top.cmi) = ffdb1f4088b39025ff39fbddace356c2 As you see, this paragraph includes checksums of the sources and of the relevant interface files. These data are considered to describe the compatibility of the binary package: if any of these items changes, the package becomes incompatible. The compatibility is also summarized by a single MD5 checksum called build_version_fingerprint: build_version_fingerprint: MD5:07306f326bf0efab1c5574c2dab1c5574 (also printed by godi_info -long). These fingerprints are also used for dependencies: godi-ocaml-4.00.0@MD5:2dab1c5574cd2ff34d07306f326bf0ef This would mean that the package is dependent on godi-ocaml in exactly this version and build. So, what does this mean operationally? • If a new binary package is installed, it is checked whether the fingerprints in the dependency lists are matched by the currently installed packages. If there is no match, the package cannot be installed. Note that it would not work anyway, because the ocaml compiler also uses hard checksums for checking the compability of modules. This is only taken to the level of packages. • If the binary package is located via a search path, and if there are several builds for a certain package version, GODI will automatically select the right build (if a match exists). 33