2 @appendix Installing @pspp{}
4 @cindex @pspp{}, installing
8 @cindex compiler, recommended
10 @pspp{} is written in ISO C and primarily targeted at UNIX-like
11 environments. To install @pspp{} under a UNIX-like operating system,
12 follow the steps below.
16 @code{cd} to the directory containing the @pspp{} source.
18 @cindex configure, GNU
21 Type @samp{./configure} to configure for your particular operating
22 system and compiler. Running @code{configure} takes a while. While
23 running, it displays some messages telling which features it is checking
26 You can optionally supply some options to @code{configure} to
27 give it hints about how to do its job. Type @code{./configure --help}
28 to see a list of options.
32 Type @samp{make} to compile the package. If there are any errors during
33 compilation, try to fix them. If modifications are necessary to compile
34 correctly under your configuration, contact the author.
35 @xref{Bugs,,Submitting Bug Reports}, for details.
37 @cindex self-tests, running
39 Type @samp{make check} to run self-tests on the compiled @pspp{} package.
42 @cindex @pspp{}, installing
43 @cindex @file{/usr/local/share/pspp/}
44 @cindex @file{/usr/local/bin/}
45 @cindex @file{/usr/local/info/}
46 @cindex documentation, installing
48 Become the superuser and type @samp{make install} to install the
49 @pspp{} binaries, by default in @file{/usr/local/bin/}. The
50 directory @file{/usr/local/share/pspp/} is created and populated with
51 files needed by @pspp{} at runtime. This step will also cause the
52 @pspp{} documentation to be installed in @file{/usr/local/info/},
53 but only if that directory already exists.
56 (optional) Type @samp{make clean} to delete the @pspp{} binaries