1 @c PSPP - a program for statistical analysis.
2 @c Copyright (C) 2017 Free Software Foundation, Inc.
3 @c Permission is granted to copy, distribute and/or modify this document
4 @c under the terms of the GNU Free Documentation License, Version 1.3
5 @c or any later version published by the Free Software Foundation;
6 @c with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
7 @c A copy of the license is included in the section entitled "GNU
8 @c Free Documentation License".
11 @appendix Installing @pspp{}
13 @cindex @pspp{}, installing
15 @cindex GNU C compiler
17 @cindex compiler, recommended
19 @pspp{} is written in ISO C and primarily targeted at UNIX-like
20 environments. To install @pspp{} under a UNIX-like operating system,
21 follow the steps below.
25 @code{cd} to the directory containing the @pspp{} source.
27 @cindex configure, GNU
30 Type @samp{./configure} to configure for your particular operating
31 system and compiler. Running @code{configure} takes a while. While
32 running, it displays some messages telling which features it is checking
35 You can optionally supply some options to @code{configure} to
36 give it hints about how to do its job. Type @code{./configure --help}
37 to see a list of options.
41 Type @samp{make} to compile the package. If there are any errors during
42 compilation, try to fix them. If modifications are necessary to compile
43 correctly under your configuration, contact the author.
44 @xref{Bugs,,Submitting Bug Reports}, for details.
46 @cindex self-tests, running
48 Type @samp{make check} to run self-tests on the compiled @pspp{} package.
51 @cindex @pspp{}, installing
52 @cindex @file{/usr/local/share/pspp/}
53 @cindex @file{/usr/local/bin/}
54 @cindex @file{/usr/local/info/}
55 @cindex documentation, installing
57 Become the superuser and type @samp{make install} to install the
58 @pspp{} binaries, by default in @file{/usr/local/bin/}. The
59 directory @file{/usr/local/share/pspp/} is created and populated with
60 files needed by @pspp{} at runtime. This step will also cause the
61 @pspp{} documentation to be installed in @file{/usr/local/info/},
62 but only if that directory already exists.
65 (optional) Type @samp{make clean} to delete the @pspp{} binaries