File: INSTALL

package info (click to toggle)
mlpost 0.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,776 kB
  • sloc: ml: 17,440; makefile: 469
file content (70 lines) | stat: -rw-r--r-- 1,911 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Dependencies:
* You need Objective Caml 3.08.0 or higher to compile Mlpost.
* You need Objective Caml 3.10.2 or higher to compile Mlpost with cairo
  support; You also need the libraries bitstring, lablgtk2 and cairo.
  check the output of ./configure to see if cairo has been selected.
* To use Mlpost, you need metapost and metafun (packages texlive-metapost and
  context in debian)
* For the html version of the examples, you need caml2html, version 1.3.0 or
  higher.
* One example needs the tex chess fonts to work (package tex-chess in debian)
* For external images, you need imagemagick
* For the contrib package Mlpost_dot you need Objective Caml 3.10.2 or higher 
  and dot (graphviz) at runtime

1. Configure with 

	./configure

If you want to specify the directory where libraries (cmi, cma, ...) will be
installed:

        ./configure LIBDIR=/your/libdir

If you want to specify the directory where the binary (mlpost) will be installed:

        ./configure --bindir=/your/bindir

2. Compile with 

	make

3. Install (as root) with

	make install

It installs the library in Ocaml's standard library and the tool "mlpost"
in /usr/local/bin (or any other directory specified with ./configure --bindir).

4 (optional)
  Compile the contrib librairies
          
        make contrib

5 (optional)
  Install the contrib librairies
          
        make install-contrib

6 (optional)
  copy the files from the latex subdirectory at a place where latex can find
  it (see the README in that directory)

7 (optional). Create the documentation in doc/ with
        
        make doc

  and the examples in examples/ with

        make -C examples

  and (optional) the contrib examples after installing the contrib librairies
        
        make -C examples contrib

  To create html versions of the examples, you need caml2html version 1.3.0;
  you can then issue

        make -C examples html