Changeset: b122a45829d1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b122a45829d1
Modified Files:
HowToStart.rst
Branch: default
Log Message:
HowToStart: fix fur current state of affairs
- dropped XQuery/MonetDB4 descriptions
- dropped bootstrap output warnings, we no longer do patching
- replaced CVS with Mercurial
- renamed components
- dropped instructions on PYTHONPATH and the like
- dropped suggestion that there are multiple packages that need to be
configured/installed in order
- and many more small things
diffs (truncated from 358 to 300 lines):
diff --git a/HowToStart.rst b/HowToStart.rst
--- a/HowToStart.rst
+++ b/HowToStart.rst
@@ -8,7 +8,7 @@
This document helps you compile and install the MonetDB suite from
scratch on Unix-like systems (this includes of course Linux, but also
MacOS X and Cygwin). This document is meant to be used when you want
-to compile and install from CVS source. When you use the prepared tar
+to compile and install from Mercurial source. When you use the prepared tar
balls, some of the steps described here should be skipped.
In case you prefer installing a pre-compiled binary distribution,
@@ -26,46 +26,29 @@
The Suite
---------
-The MonetDB software suite consists of the following parts which need
-to be built in the correct order:
+The following are the most important parts of the MonetDB software suite:
buildtools
Tools used only for building the other parts of the suite.
- These tools are only needed when building from CVS. When
+ These tools are only needed when building from Mercurial. When
building from the source distribution (i.e. the tar balls),
you do not need this.
-MonetDB
+common
Fundamental libraries used in the other parts of the suite.
clients
Libraries and programs to communicate with the server(s) that
are part of the suite.
-MonetDB4
- The MIL-based server. This is required if you want to use
- XML/XQuery (pathfinder), and can be used with SQL.
-
-MonetDB5
+monetdb5
The MAL-based server. This can be used with and is
recommended for SQL.
-pathfinder
- The XML/XQuery engine built on top of MonetDB4.
-
sql
The SQL server built on top of (targeted on) either MonetDB4
or MonetDB5.
-MonetDB4 and MonetDB5 are the basic database engines. One or the
-other is required, but you can have both. Pathfinder currently needs
-MonetDB4, sql can run on both MonetDB4 and MonetDB5 (the latter is
-recommended).
-
-The order of compilation and installation is important. It is best to
-use the above order (where pathfinder and sql can be interchanged) and
-to configure-make-make install each package before proceeding with the
-next.
Prerequisites
-------------
@@ -115,33 +98,17 @@
- perl
- php
-buildtools (Mx, mel, autogen, and burg)
- These tools are not needed when you start with the source
- distribution.
-
- Before building any of the other packages from the Mercurial
- sources, you first need to build and install the buildtools.
- You can find them in the directory `buildtools`.
- Follow the instructions in the README file, then proceed
- with MonetDB. Only for this step you need the C++ compiler.
-
libxml2
The XML parsing library `libxml2`__ is only used by
- XML/XQuery (pathfinder). The library is used for:
+ the xml module of monetdb5.
- (a) the XML Schema import feature of the Pathfinder compiler, and
- (b) the XML document loader (runtime/shredder.mx).
-
- If libxml2 is not available on your system, the Pathfinder
- compiler will be compiled without XML Schema support. The XML
- document loader will not be compiled at all in that case.
- Current Linux distributions all come with libxml2.
+ If libxml2 is not available on your system, this module is skipped
+ and it will not be available at runtime.
__ http://dev.monetdb.org/downloads/sources/
__ http://www.gnu.org/software/autoconf/
__ http://www.gnu.org/software/automake/
__ http://www.gnu.org/software/libtool/
-__ http://www.xmlsoft.org
Space Requirements
~~~~~~~~~~~~~~~~~~
@@ -152,29 +119,24 @@
Package Source Build Install
========== ======= ======= =======
buildtools 1.5 MB 8 MB 2.5 MB
-MonetDB 2 MB 21 MB 4 MB
+common 2 MB 21 MB 4 MB
clients 9 MB 25 MB 10 MB
-MonetDB4 35.5 MB 50 MB 14 MB
-MonetDB5 26 MB 46 MB 12 MB
+monetdb5 26 MB 46 MB 12 MB
sql 100 MB 22.5 MB 8 MB
-pathfinder 130 MB 43 MB 12 MB
========== ======= ======= =======
-Some of the source packages are so large because they include lots of
-data for testing purposes.
-
Getting the Software
--------------------
There are two ways to get the source code:
-(1) checking it out from the CVS repository on SourceForge;
+(1) checking it out from the Mercurial repository on dev.monetdb.org;
(2) downloading the pre-packaged source distribution from
`our download page`__.
The following instructions first describe how to check out the source
-code from the CVS repository on SourceForge; in case you downloaded
+code from the Mercurial repository; in case you downloaded
the pre-packaged source distribution, you can skip this section and
proceed to `Bootstrap, Configure and Make`_.
@@ -198,34 +160,17 @@
Bootstrap, Configure and Make
-----------------------------
-Before executing the following steps, make sure that your shell
-environment (especially the variables ``PATH``. ``LD_LIBRARY_PATH``,
-and ``PYTHONPATH``) is set up so that the tools listed above can be
-found. Also, set up PATH to include the *prefix*/bin directory where
-*prefix* is the prefix is where you want everything to be installed,
-and set up PYTHONPATH to include the *prefix*/lib/*python2.X*
-directory where *python2.X* is the version of Python being used. It
-is recommended to use the same *prefix* for all packages. Only the
-*prefix*/lib/*python2.X* directory for buildtools is needed in
-PYTHONPATH.
-
-In case you checked out the CVS version, you have to run ``bootstrap``
-first; in case you downloaded the pre-packaged source distribution,
-you should skip ``bootstrap`` and start with ``configure`` (see
-`Configure`_).
-
-For each of the packages do all the following steps (bootstrap,
-configure, make, make install) *before* proceeding to the next
-package.
+In case you checked out the Mercurial version, you have to run
+``bootstrap`` first; in case you downloaded the pre-packaged source
+distribution, you should skip ``bootstrap`` and start with ``configure``
+(see `Configure`_).
Bootstrap
~~~~~~~~~
-This step is only needed when building from CVS.
+This step is only needed when building from Mercurial.
-In the top-level directory of the package type the command (note that
-this uses ``autogen.py`` which is part of the ``buildtools`` package
---- make sure it can be found in your ``$PATH``)::
+In the top-level directory of the package type the command::
./bootstrap
@@ -275,7 +220,7 @@
--enable-strict, --enable-assert, --enable-debug, --enable-optimize
-When compiling from CVS sources
+When compiling from Mercurial sources
(as mainly done by developers):
::
@@ -298,7 +243,7 @@
``(*)``
IMPORTANT NOTE:
-Since ``--enable-optimize=yes`` is no longer the default for any case except
+Since ``--enable-optimize=yes`` is not the default for any case except
binary packages, it is *strongly recommended* to (re)compile everything from
scratch, *explicitly configured* with
@@ -328,8 +273,8 @@
Testing the Build
~~~~~~~~~~~~~~~~~
-This step is optional and only relevant for the packages clients, MonetDB4,
-MonetDB5, pathfinder, and sql.
+This step is optional and only relevant for the packages clients,
+MonetDB5 and sql.
If ``make`` went successfully, you can try
@@ -359,8 +304,8 @@
Testing the Installation
~~~~~~~~~~~~~~~~~~~~~~~~
-This step is optional and only relevant for the packages clients, MonetDB4,
-MonetDB5, pathfinder, and sql.
+This step is optional and only relevant for the packages clients,
+MonetDB5 and sql.
Make sure that *prefix*/bin is in your ``PATH``. Then
in the package top-level directory issue the command
@@ -369,9 +314,9 @@
Mtest.py -r [--package=<package>]
-where *package* is one of ``clients``, ``MonetDB4``, ``MonetDB5``, ``sql``,
-or ``pathfinder`` (the ``--package=<package>`` option can be omitted when
-using a CVS checkout; see
+where *package* is one of ``clients``, ``MonetDB5`` or ``sql``
+(the ``--package=<package>`` option can be omitted when
+using a Mercurial checkout; see
::
@@ -390,50 +335,20 @@
Usage
-----
-The MonetDB4 and MonetDB5 engines can be used interactively or as a
-server. The XQuery and SQL back-ends can only be used as servers.
-
-To run MonetDB4 interactively, just run::
-
- Mserver
+The MonetDB5 engine can be used interactively or as a
+server. The SQL back-end can only be used as server.
To run MonetDB5 interactively, just run::
mserver5
-The disadvantage of running the systems interactively is that you
-don't get readline support (if available on your system). A more
-pleasant environment can be had by using the system as a server and
-using ``mclient`` to interact with the system.
+A more pleasant environment can be had by using the system as a server
+and using ``mclient`` to interact with the system. In that case it is
+easiest to start ``monetdbd`` and create, start, stop, remove, etc.
+databases using the ``monetdb`` tool.
-When MonetDB5 is started as above, it automatically starts the MAL
-server in addition to the interactive "console". In case the
-MonetDB/SQL package is also installed, MonetDB5 does automatically
-load it and start the SQL server.
-
-In case of MonetDB4, to start only the MIL server use::
-
- Mserver --dbinit 'module(mapi); mil_start();'
-
-In order to use the XQuery back-end, which is only available with
-MonetDB4, start the server as follows::
-
- Mserver --dbinit 'module(pathfinder);'
-
-If you want to have a MIL server in addition to the XQuery server,
-use::
-
- Mserver --dbinit 'module(pathfinder); mil_start();'
-
-Once the server is running, you can use ``mclient`` to interact
-with the server. ``mclient`` needs to be told which language you
-want to use, but it does not need to be told whether you're using
-MonetDB4 or MonetDB5. In another shell window start::
-
- mclient -l<language>
-
-where *language* is one of ``mil``, ``mal``, ``sql``, or ``xquery``.
-If no ``-l`` option is given, ``mil`` is the default.
+When MonetDB5 is started interactively, it automatically starts the MAL
+server in addition to the interactive "console".
With ``mclient``, you get a text-based interface that supports
command-line editing and a command-line history. The latter can even
@@ -444,18 +359,11 @@
mclient --help
-for global details and
-
-::
-
- mclient -l<language> --help
-
-for language-specific details.
+for details.
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list