How to build Plasma with GODI There are three ways: 1. Use the plasma_install.sh script 2. Use the GODI package for plasma 3. Use GODI only as starting point, and build Plasma on top of it The first way is the easiest, but it works only with certain distributions (see below). The second option has the advantage that it is relatively easy to do, but it also installs ocamlnet-3.0test3 which may be incompatible with other GODI packages. ---------------------------------------------------------------- 1. Use the plasma_install.sh script ---------------------------------------------------------------- This script is also available in the download area: http://download.camlcity.org/download/plasma_install.sh It should work well for users of Debian, Ubuntu, Fedora, and Opensuse. Because it includes distribution-specific knowledge it can do more than just starting the build. It checks whether all required system packages are installed, and adds missing packages. It checks whether PostgreSQL is properly configured, and if necessary applies changes. Please do not run the script blindly. Read the comments at the beginning of the script. ---------------------------------------------------------------- 2. Use the GODI package for plasma ---------------------------------------------------------------- - Bootstrap a recent GODI (follow the instructions on http://godi.camlcity.org/godi/index.html, but ensure it installs Ocaml 3.12, i.e. give --section 3.12) - We also suggest to add this line: GODI_OCAMLGRAPH_VIEWER=no This prevents that the graphics part of ocamlgraph is built. It is not required, but it would grab a lot more packages. - Now enter these commands: $ godi_console update $ godi_console perform -build godi-ocamlnet $ godi_console perform -build godi-plasma ---------------------------------------------------------------- 3. Use GODI only as starting point ---------------------------------------------------------------- - Bootstrap a recent GODI (follow the instructions on http://godi.camlcity.org/godi/index.html, but ensure it installs Ocaml 3.12, i.e. give --section 3.12) - Install the packages: omake, ocamlgraph - Create a directory where you want to install packages, <pkgdir> - Also create <pkgdir>/stublibs - Add <pkgdir>/stublibs to ld.conf (in <prefix>/etc) - Create a directory for new binaries, <bindir> - Create a directory for other files, <sharedir> - Download ocamlnet-3.4.1.tar.gz from download.camlcity.org - Unpack and configure as: ./configure -bindir <bindir> -datadir <sharedir>/ocamlnet - Build ocamlnet: make all opt - Install ocamlnet with OCAMLFIND_DESTDIR=<pkgdir> make install - Include <bindir> into $PATH: export PATH=<bindir>:$PATH - Download plasma-0.5.tar.gz from download.camlcity.org - Unpack and configure as: OCAMLPATH=<pkgdir> ./configure -bindir <bindir> -sharedir <sharedir>/plasma - Build with: OCAMLPATH=<pkgdir> omake - Install with OCAMLPATH=<pkgdir> OCAMLFIND_DESTDIR=<pkgdir> omake install You will have to set OCAMLPATH when building map/reduce programs.