1.4.5 Mercurial (HG) Sources

Read-only access to Mercurial (HG) is available via http://dev.monetdb.org/hg/MonetDB/. If you want to become a developer, you can apply for a developer account there.

Please read the instructions under http://homepages.cwi.nl/~sjoerd/downloads/monetdb/MonetDB-Mercurial.html on how to use the MonetDB Mercurial (HG) repository.

MonetDB/XQuery consists of the following directories in the MonetDB Mercurial (HG) repository:

  • buildtools
  • MonetDB
  • clients
  • MonetDB4
  • pathfinder

These modules roughly correspond to the released components, but "XQuery" is called "pathfinder", and there is also the "buildtools" module, necessary for compilation. The listed order is also the order of compilation and installation.

Compilation starts with bootstrapping (which invokes our buildtools), then configure (i.e. GNU autogen and automake), then "make install".

Note that MonetDB/XQuery requires certain prerequisite packages. The exact details of these and the compilation procedure on Unix-like systems are described in the HowToStart file

../MonetDB/HowToStart.rst

Windows compilation of Pathfinder does not work with the Microsoft Visual C++ compiler, due to its lack of support for the C-99 standards. The recommended compilation option (used in the distribution) is the Intel C++ Compiler. Specific Windows compilation information is found here:

../buildtools/doc/windowsbuild.rst

It is technically also possible on Windows to use the cygwin Unix emulation library, and even possible to build a native (non-cygwin-dependent) MonetDB/XQuery using the so-called mingw version of the cygwin gcc compiler.

We have, however abandoned the cygwin approach to Windows compilation, so this compilation path is not well-tested anymore. We abandoned it because:

  • 64-bits compilation is not supported in cygwin.
  • cygwin compilation is very slow.
  • the reliability and speed of the Intel Compiler built version is better.