Package Details: pspp 1.4.1-3

Git Clone URL: (read-only, click to copy)
Package Base: pspp
Description: Statistical analysis program. Free replacement for SPSS.
Upstream URL:
Licenses: GPL3
Submitter: escondida
Maintainer: migrev
Last Packager: migrev
Votes: 75
Popularity: 0.79
First Submitted: 2008-10-14 00:20 (UTC)
Last Updated: 2022-01-29 09:35 (UTC)

Latest Comments

migrev commented on 2022-01-29 09:35 (UTC)

@fen823: Bumped release to force a recompile. Thanks for the report.

feng823 commented on 2022-01-29 04:13 (UTC)

The latest gsl is 2.7.1-1 now, leaving pspp exit with the following error message.

pspp: error while loading shared libraries: cannot open shared object file: No such file or directory

brunomontezano commented on 2020-07-17 17:39 (UTC)

Hi @rafaelff and @migrev. I reinstalled glibc and compiled libiconv myself from the GNU website, and now the problem on config.log that @rafaelff had seen is gone. It "am_cv_func_iconv_works=yes", but the problem that occurs in the make phase is the following: (I've tried some stuff already, like put /usr/local/lib and /usr/local/include on ld config and then "sudo ldconfig")

/usr/bin/ld: src/ui/gui/src_ui_gui_psppire-widgets.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/widgets.c:174: multiple definition of `align_enum_type'; src/ui/gui/src_ui_gui_psppire-psppire-dict.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/psppire-dict.c:45: first defined here
/usr/bin/ld: src/ui/gui/src_ui_gui_psppire-widgets.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/widgets.c:175: multiple definition of `measure_enum_type'; src/ui/gui/src_ui_gui_psppire-psppire-dict.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/psppire-dict.c:46: first defined here
/usr/bin/ld: src/ui/gui/src_ui_gui_psppire-widgets.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/widgets.c:176: multiple definition of `role_enum_type'; src/ui/gui/src_ui_gui_psppire-psppire-dict.o:/home/pepper/tmp/pspp-1.2.0/src/ui/gui/psppire-dict.c:47: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:7237: src/ui/gui/psppire] Error 1
make[2]: Leaving directory '/home/pepper/tmp/pspp-1.2.0'

make[1]: *** [Makefile:12049: all-recursive] Error 1
make[1]: Leaving directory '/home/pepper/tmp/pspp-1.2.0'

make: *** [Makefile:5744: all] Error 2

brunomontezano commented on 2020-06-24 20:14 (UTC)

@rafaelff: Thanks for the new command, always learning. But the output was local/glibc 2.31-5. Looks like it's up to date.

rafaelff commented on 2020-06-24 20:11 (UTC)

@brunomontezano: Use pacman -Qs glibc for the installed version, as -Ss searches what is in database. The result could be different.

brunomontezano commented on 2020-06-24 20:06 (UTC)

@rafaelff: That's interesting. I did a pacman -Ss glibc and it showed me that core/glibc 2.31-5 is installed.

Every time I try to install pspp, I unninstall gsl, spread-sheet-widget, and gtksourceview3, and I delete their cache files. So I don't know what it could be.

rafaelff commented on 2020-06-24 20:00 (UTC)

@brunomontezano: Comparing my config.log with yours, I noticed that your config.log mentions that iconv was found (Ctrl+F for "am_cv_func_iconv=yes") but does not work for pspp (right below, "am_cv_func_iconv_works=no").

I think "iconv" is from the package core/glibc 2.31-5. Can you please double check you have this version of glibc installed?

Also consider uninstalling and force-rebuilding the AUR packages 'spread-sheet-widget', just in case your local build is not correctly linked to glibc (I could be wrong, but who knows...)

brunomontezano commented on 2020-06-24 19:37 (UTC)

Yes! @rafaelff

Here is the link for the config.log generated:

Unfortunately I don't know how to pipe the entire command of yay into the pastebin client, because then I can't opt on the diff options and stuff. So I got some of the last lines and put on a file and then put on the link below, it's not the entire build, but what I could do:

If you know how I could output the entire thing and be able to opt on yay, I'd be glad to learn. Thanks for your help.

rafaelff commented on 2020-06-24 18:56 (UTC)


Can you please provide in a pastebin client the generated "config.log" and the rest of the previous part of the build output?

Also, consider running LC_ALL=C yay -S pspp, so that the locale information is ignored and the output is completely in English.

brunomontezano commented on 2020-06-24 17:42 (UTC)

Of course @migrev! I have the language of my system for Brazilian Portuguese, but I'm gonna try to translate it the best way possible for you. Down here, I'm leaving the part of the error that I get when trying to install via "yay -S pspp".

/usr/bin/ld: src/.libs/ undefined reference to `libiconv_open'
/usr/bin/ld: src/.libs/ undefined reference to `libiconv_close'
/usr/bin/ld: src/.libs/ undefined reference to `libiconv'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:7251: src/ui/terminal/pspp] Erro 1
make[2]: Saindo do diretório '/home/pepper/.cache/yay/pspp/src/pspp-1.2.0'

make[1]: *** [Makefile:12049: all-recursive] Erro 1
make[1]: Saindo do diretório '/home/pepper/.cache/yay/pspp/src/pspp-1.2.0'

make: *** [Makefile:5744: all] Erro 2
==> ERRO: Uma falha ocorreu em build().
erro ao construir: %!s(func() string=0x55ffb6200ed0)

"Saindo do diretório means "Leaving directory". "Uma falha ocorreu em build()" means "A failure occured in build()". "erro ao construir" means "error when building".

If you need any more log or data, I can try to get. Sorry if that's not what you need. You're awesome!

migrev commented on 2020-06-24 17:31 (UTC)

Could you post your compile log or, at least, the part with the error? Thx!

brunomontezano commented on 2020-06-24 16:36 (UTC)

Hey migrev. I appreciate your work and good will of keeping this package working. But I still can't make it work. It gives an error at the build() part.

migrev commented on 2020-06-17 09:01 (UTC)

@brunomontezano: The compile problem was caused by behaviour change in gcc 10. It builds now.

brunomontezano commented on 2020-06-16 22:09 (UTC)

I tried compiling PSPP myself and it did not work, and then I tried to install via this AUR package, and it gave the same error in the "make" part of the installation, the "./configure" part goes as expected. Hope it can be fixed soon. I tried compiling the same day on a Ubuntu VM and it worked fine.

stef204 commented on 2019-09-16 08:44 (UTC)

fixed, builds in clean chroot now. thanks.

migrev commented on 2019-09-16 08:10 (UTC)

Updated to 1.2.0-2: added python to makedepends, removed .install file. It build for me without problems. @stef204: Please post your build log if it still fails, as I can't reproduce your problem.

stef204 commented on 2019-09-15 12:52 (UTC)

i tried building this both locally and in a clean chroot--fails, don't see an significant error messages or logs. system is up to date. does it build for you?

Joel commented on 2019-06-30 04:15 (UTC) (edited on 2019-06-30 04:15 (UTC) by Joel)

You need to rebuild again to honor readline new version library

pfm commented on 2019-05-09 15:07 (UTC)

ACK. Adding python is enough, just tested.

rafaelff commented on 2019-05-09 11:47 (UTC)

@pfm: Do you refer to the error:

glib-genmarshal --body --prefix=psppire_marshal src/ui/gui/marshaller-list >> src/ui/gui/psppire-marshal.c
/usr/bin/env: ‘python3’: No such file or directory
make: *** [Makefile:12848: src/ui/gui/psppire-marshal.c] Error 127
make: *** Waiting for unfinished jobs....

Actually, adding python to makedepends seems to be enough.

pfm commented on 2019-05-09 09:34 (UTC)

I had to add python-virtualenv to makedepends in order to compile in a virtual environment. Reason: glib-genmarshal and other python scripts with env python3.

rafaelff commented on 2018-12-18 00:43 (UTC)

@alice4ever: Your definition is not totally correct. The depends array are for dependencies for both build AND run the binary, while makedepends is a dependency for ONLY building the binary. Therefore if the package is listed in depends array, one does not need to list in makedepends. Since 'spread-sheet-widget' is already in depends, no need for putting in makedepends.

See: and #makedepends section a little bit further.

alive4ever commented on 2018-12-18 00:06 (UTC)

@rafaelff: no, depends and makedepends are different.

makedepends are required to build the package.

depends are required to run the binary.

rafaelff commented on 2018-12-17 00:24 (UTC)

@alice4ever: 'spread-sheet-widget' is already in depends array, so it already satisfy makedepends. Adding it to makepdepends array changes anything..

alive4ever commented on 2018-12-17 00:07 (UTC) (edited on 2018-12-17 00:08 (UTC) by alive4ever)

Unable to build pspp, missing build dependencies: spread-sheet-widget.

Solution: spread-sheet widget has to be added as build dependency.

diff --git a/PKGBUILD b/PKGBUILD
index 384f018..157f906 100644
@@ -2,12 +2,13 @@
 # Contributor: joyfulgirl <joyfulgirl (at)>
 pkgdesc="Statistical analysis program. Free replacement for SPSS."
 arch=('i686' 'x86_64')
 depends=('gsl' 'gtksourceview3' 'postgresql-libs' 'desktop-file-utils' 'spread-sheet-widget')
 optdepends=('zlib: GNUmeric support'
             'libxml2: GNUMERIC support')
 options=('!libtool' '!emptydirs')

rafaelff commented on 2018-11-08 13:36 (UTC)

Hey, two suggestions about this package:

  • 'desktop-file-utils' can be omitted in the 'depends' array as 'gtksourceview3' already depends in it.
  • the .install file can be removed as pacman hooks already run those commands, see and check /usr/share/libalpm/hooks/

jonathon commented on 2018-09-01 11:48 (UTC)

Please consider a change to:


migrev commented on 2018-08-31 09:51 (UTC)

@mkamilturan: Compile bug found and exterminated :) Enjoy

mkamilturan commented on 2018-08-31 04:35 (UTC)

System: 15.7 deepin desktop, I don't build. I have an error message. Message is:

make[4]: [Makefile:2547: fseterr.lo] Error 1 make[4]: Leaving directory '/tmp/yaourt-tmp-mkturan/aur-pspp/src/pspp-1.0.1/gl' make[3]: [Makefile:2575: all-recursive] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-mkturan/aur-pspp/src/pspp-1.0.1/gl' make[2]: [Makefile:2063: all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-mkturan/aur-pspp/src/pspp-1.0.1/gl' make[1]: [Makefile:12155: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-mkturan/aur-pspp/src/pspp-1.0.1' make: *** [Makefile:5776: all] Error 2

daniel_shub commented on 2018-01-07 23:23 (UTC)

I wasn't able to build this in a clean chroot without adding python (maybe python2 would work) as a dependency. I cannot find anything about python in the documentation, so I am not sure what is going on.

stueja commented on 2017-10-01 09:23 (UTC)

Installation worked as a breeze. Thank you.

migrev commented on 2017-07-07 13:25 (UTC)

@ahinrichs: Thanks for the info and the fixes. Bumped to -2 with your patches and working again. Great pleasure to maintain a package for such an amazing community!

ahinrichs commented on 2017-07-07 12:48 (UTC)

Didn't compile because auf an error and changed perl @INC. This two patches worked for me Found the xmalloc-patch here:

ulke commented on 2016-02-26 14:04 (UTC)

Since the update of postgresql-libs to 9.5 "save outfile" commands in pspp often fail silently. No file gets written. I have downgraded postgresql-libs to 9.4.5-1 and it works again. Maybe the package should depend only on the older postgresql versions (9.3 and/or lts)?

commented on 2016-01-21 09:07 (UTC)

@xF0E: I just ran into the same problem. In my case, it was apparently caused by a user-local Perl library. `unset PERL5LIB PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT` did the trick.

xF0E commented on 2016-01-18 11:36 (UTC)

@migrev: thanks! I cheked the perl istallation(in fact have reinstalled it), perl seems to be fine. ls /usr/share/perl5/core_perl/ExtUtils/Constant* /usr/share/perl5/core_perl/ExtUtils/ /usr/share/perl5/core_perl/ExtUtils/Constant: I'm able to compile the package if i pass --without-perl-module to ./configure. But still can't compile with perl module enabled.

migrev commented on 2016-01-15 15:41 (UTC)

@xF0E: Please check if you have perl correctly installed, especially if /usr/share/perl5/core_perl/ExtUtils/Constant* are present in your filesystem. Please post your results here to modify the PKGBUILD if needed. Thanks.

xF0E commented on 2016-01-14 19:22 (UTC)

The build process is failing with: Checking if your kit is complete... Warning: the following files are missing in your kit: Please inform the author. Only one of PREFIX or INSTALL_BASE can be given. Not both. Makefile:12471: recipe for target 'perl-module/Makefile' failed make[3]: *** [perl-module/Makefile] Error 25 make[3]: Leaving directory '/tmp/builddir/pspp/src/pspp-0.8.5' Makefile:12479: recipe for target 'perl_module_tarball' failed make[2]: *** [perl_module_tarball] Error 2 What can i do about it?

intelfx commented on 2015-09-11 13:37 (UTC)

The build process apparently fails when linking final executables due to unresolved symbols from libxml2 (there is no libxml2 in the linker command line). I've patched the makefile:

orschiro commented on 2015-01-06 11:58 (UTC)

Someone having the same issue with integrity check failing? ==> Missing dependencies: -> postgresql-libs ==> Checking buildtime dependencies... ==> ERROR: Could not resolve all dependencies. :: failed to verify pspp integrity

commented on 2014-10-23 15:45 (UTC)

This program isn't found when you search like this: packer -Ss spss Instead, you only find pspp-git. Could you add "free replacement for SPSS" to the package description? Thanks

anderraso commented on 2014-02-21 17:38 (UTC)

It works great! Thanks!

msx commented on 2013-11-10 04:22 (UTC)

Thank you very much for this package to everyone involved.

escondida commented on 2013-08-08 15:49 (UTC)

Disowned: I no longer use pspp. Sorry for the delay between the new release and the disown.

escondida commented on 2012-12-13 06:51 (UTC)

The current stable version does not; I believe that one is available in the developer snapshot and therefore, of course, in the git as well. 'Til the next stable version is released, if you need a .desktop file you can either write your own (easy enough to do) or download the official one from the project's git.

graysky commented on 2012-12-12 19:35 (UTC)

Ah... psppire is the gui. Do they not ship with .desktop files?

graysky commented on 2012-12-12 19:32 (UTC)

CLI only? I thought pspp ships with a GUI?

commented on 2011-09-20 16:19 (UTC)

looks like the ftp mirror went down changing to fixed the problem for me.

escondida commented on 2010-11-10 04:28 (UTC)

(Thanks to Alex for the patch)

escondida commented on 2010-11-07 00:12 (UTC)

The latest PKGBUILD & patch should fix the compilation issues. Also cleaned up the PKGBUILD a bit

commented on 2010-10-12 19:42 (UTC)

It doesn't compile on my system: Linux corfu 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64 AMD Phenom(tm) II X4 945 Processor AuthenticAMD GNU/Linux. These are the last lines of the output: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./gl -I./gl -I./src/language/stats -I./src/language/expressions -I./src/language/expressions -I./src -I./lib -DPKGDATADIR=\"/usr/share/pspp\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -Wall -march=x86-64 -mtune=generic -O2 -pipe -Wdeclaration-after-statement -MT lib/gtksheet/lib_gtksheet_libgtksheet_a-gtkitementry.o -MD -MP -MF lib/gtksheet/.deps/lib_gtksheet_libgtksheet_a-gtkitementry.Tpo -c -o lib/gtksheet/lib_gtksheet_libgtksheet_a-gtkitementry.o `test -f 'lib/gtksheet/gtkitementry.c' || echo './'`lib/gtksheet/gtkitementry.c lib/gtksheet/gtkitementry.c:148:21: error: declaración static de ‘gtk_entry_reset_im_context’ después de una declaración que no es static /usr/include/gtk-2.0/gtk/gtkentry.h:311:13: nota: la declaración previa de ‘gtk_entry_reset_im_context’ estaba aquí lib/gtksheet/gtkitementry.c:2196:1: aviso: se define ‘gtk_entry_update_primary_selection’ pero no se usa make[2]: *** [lib/gtksheet/lib_gtksheet_libgtksheet_a-gtkitementry.o] Error 1 make[2]: se sale del directorio `/home/pepe/config/builds/pspp/src/pspp-0.6.2' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/pepe/config/builds/pspp/src/pspp-0.6.2' make: *** [all] Error 2

td123 commented on 2010-07-17 20:58 (UTC)

Just a few things to take into account, perl, texinfo, pkgconfig are already provided by base/base-devel so you don't need to have the makedepends line. Also, you don't need the " || return 1"s anymore in the PKGBUILD Cheers!

escondida commented on 2010-07-03 04:01 (UTC)

pkgrel bump to -3. The PKGBUILD now takes advantage of the new package() function.