pivot table procedure conceptually works
[pspp] / README.Git
1 Prerequisites for Building PSPP from Git
2 ----------------------------------------
3
4 To build this project from the sources direct from the Git archive,
5 you must install the prerequisites listed in README, plus the
6 following:
7
8         * Autoconf 2.60 (or later).
9
10         * Automake 1.10 (or later).
11
12         * Gettext 0.17 (or later).
13
14         * GNU M4 1.4.9 (or later).
15
16         * pkg-config 0.21 (or later).
17
18         * gperf 3.0.1 (or later).
19
20         * Gnulib (see below for details).
21
22         * libtool 1.5.22 (or later).
23
24         * Texinfo 4.7 or later, to build the documentation.
25
26         * Gimp --  2.8.2 is known to work
27
28 After you install PSPP's prerequisites, you must obtain a copy of
29 Gnulib, then bootstrap the tree, as described in the sections below.
30 After that, you may follow the procedure described in INSTALL.
31
32 Obtaining Gnulib
33 ----------------
34
35 This version of PSPP should work with the Gnulib commit shown below.
36 Gnulib does not maintain a stable API or ABI, so it is possible that
37 PSPP will not work with older or newer versions of Gnulib.
38
39         commit 5191133e01659a051c21ea16765d9233b6a9fe47
40         Author: Paul Eggert <eggert@cs.ucla.edu>
41         Date:   Tue Apr 30 23:14:19 2013 -0700
42
43             utimensat-tests, etc.: try to fix some races
44
45
46 To clone Gnulib into a directory named "gnulib" using Git, and then
47 check out this particular commit, run these commands:
48         git clone git://git.savannah.gnu.org/gnulib.git gnulib
49         cd gnulib
50         git checkout $COMMIT
51 where $COMMIT should be replaced by the commit number listed above
52 (usually it is sufficient to just type the first 6 or so digits).
53
54 If you do not have Git installed, then you may alternately download
55 http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=$COMMIT;sf=tgz
56 where $COMMIT is, again, at least the first few digits of the commit
57 number listed above.  This download will yield a tar.gz file that you
58 may extract with "gunzip" and "tar" to yield identical results.
59
60 Bootstrapping
61 -------------
62
63 Once you have Gnulib installed, PSPP must be "bootstrapped" using the
64 following command:
65         make -f Smake
66 If you checked Gnulib out in a directory named `gnulib' at the same
67 level as PSPP, then this is sufficient.  Otherwise, provide the
68 location of GNULIB on the `make' command line:
69         make -f Smake GNULIB=/gnulib/base/directory/name
70
71 After executing Smake, follow the procedure described in INSTALL to
72 build and install PSPP.  On some systems this may be as simple as:
73         ./configure
74         make
75
76 Once PSPP is built, you may run its self-tests with:
77         make check
78 or for a more thorough test:
79         make distcheck