These instructions are based on the generic GNU installation
instructions, but they have been tailored for PSPP. These instructions
-apply only to people wishing to build and install PSPP from source.
+apply only to people wishing to build and install PSPP from source.
Overview
========
tar -xzf pspp-*.tar.gz
cd pspp-*
./configure
- make
+ make
sudo make install
Obviously, you should replace 'pspp-*' in the above, with the name of
-the tarball you are installing.
+the tarball you are installing.
-In 99% of cases, that is all you have to do - FINISHED!
+In 99% of cases, that is all you have to do - FINISHED!
* Perl (http://www.perl.org/), version 5.005_03 or later. Perl is
required during build but not after installation.
+ * Python (https://python.org/), version 2.7 or later (Python 3 is
+ fine). Some tests require Python; if it is missing, those tests
+ will be skipped. PSPP does not otherwise require Python.
+
* iconv, which should be installed as part of a Unix-like system.
If you don't have a version already, you can install GNU
libiconv (http://www.gnu.org/software/libiconv/).
* zlib (http://www.zlib.net/).
- * libxml2 (http://xmlsoft.org/).
+ * libxml2 (http://xmlsoft.org/).
+
+ * metainfo.its, provided by the appstream package. This is required
+ by xgettext version lower then 0.20 to extract the translation
+ strings from the org.fsf.pspp.metainfo.xml.in file. This is only
+ required for building. It is not a runtime requirement.
The following packages are required to enable PSPP's graphing
features. If you cannot arrange to install them, you must run
0.18 and 0.19 have a bug that will prevent library detection,
but other versions should be fine.
- * GTK+ (http://www.gtk.org/), version 3.14.5 or later.
- It has been reported that versions prior to 3.22.x give problems,
- so a recent version is recommended.
+ * GTK+ (http://www.gtk.org/), version 3.22.0 or later.
- * GtkSourceView (http://projects.gnome.org/gtksourceview/)
+ * GtkSourceView (http://projects.gnome.org/gtksourceview/)
version 3.4.0 or later.
* GNU Spread Sheet Widget (http://www.gnu.org/software/ssw)
later. Installing Texinfo will allow you to build PSPP
documentation in PostScript or PDF format.
- * libpq, from Postgresql (http://postgresql.org). This enables PSPP
+ * libpq, from Postgresql (http://postgresql.org). This enables PSPP
to read Postgresql databases. The tests for the Postgresql
interface, but not the Postgresql interface itself, requires the
Postgresql server to be installed.
PSPP to test the Perl module more thoroughly. It is not needed
to build or use the Perl module.
+ * librsvg enables 300 dpi copy and paste operation. Without librsvg
+ the copy action will only provide images with default resolution
+ which is often 96dpi. This only affects bitmap image formats.
+
Basic Installation
==================
-These are installation instructions specific to PSPP (including PSPPIRE,
+These are installation instructions specific to PSPP (including PSPPIRE,
the graphic user interface). These instructions contain the
information most commonly needed by people wishing to build the
program from source. More detailed information can be found in the
You can cause programs to be installed with an extra prefix or
suffix on their names by giving `configure' the option
-`--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+`--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Cairo and Pango required to build the GUI, so --without-cairo
implies --without-gui.
-`--with-gui-tools'
- Build the gui developer tools. There is no reason to use this
- option unless you're involved with the development of PSPP
-
`--without-lib{xx}'
Optional libraries should normally be detected and the relevant
functionality will be built they exist. However, on some poorly