summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 74a61e90046d537038bf4e5e925c42d74a521b87 (plain)
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
To build and install rasdaman from a git clone, first initialize the
build system by running

  $ autoreconf -vis .

To build and install rasdaman from a dist tarball (*.tar.*) or after
running the above command:

  $ ./configure
  $ make
  # make install

You may set the installation directory and other parameters by options
to ./configure.  To see them, use:

  $ ./configure --help

Once installed, see the "rasdaman Installation Guide" for the next steps.

It can be found in manuals_and_examples/manuals/pdf/inst-guide.pdf



Tips and tricks:
~~~~~~~~~~~~~~~~

  * If some libraries are installed in special places, you can set
    CPPFLAGS or LDFLAGS when running configure, i.e. e.g.

       $ export CPPFLAGS="-I/usr/include/netpbm" LDFLAGS="-L/usr/lib/hdf"
       $ ./configure --prefix=$PWD/_i --with-hdf4

    to build on a Fedora 14 system.

  * If you are building from a git clone and want to clean ALL files
    like you had just done a fresh "git clone", run

       $ git clean -f -x -d

    CAUTION: This will REMOVE ALL FILES not committed to the git repo!

  * As it is generally recommended to configure rasdaman --with-hdf4,
    you should add that flag when you run "make distcheck" as well:

       $ make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-hdf4"