PSPP

I want to install and run some tests (I use to use SPSS at uni) using PSPP but I’m having trouble finding it for suse. Has anyone here had any experience with it or knows of any places I can obtain a suse rmp?

Do I need to download the source code and compile it myself? I’ve played with R but it lacks a GUI and from the looks of it, PSPP is similar to what I’m looking for.

I did a search on Software.openSUSE.org and a pre-built rpm is not available for opensuse. It is actually on the whishlist: Wishlist Science - openSUSE

Also on RPM Pbone Search there are no pre-built rpms for opensuse but there are src.rpm’s for fedora core 9 which I think you can re-build for opensuse with something like:

#rpm --rebuild pspp-0.6.0-5.fc9.src.rpm
(note: I am not sure if actually the right command is rpmbuild --rebuild since I did not rebuild a package for a long time now)

If this will work the rebuilt package should be in /usr/src/packages/RPMS/your_architecture/ and you can install it.

I had a quick look at the INSTALL file and I think you can get all necessary packages to install it from source if you would like to give it a try too.

Cheers and good luck.

Hi
Just tried to compile the latest stable release but dies during the
make, I would say it may be the gcc4.3 issue.

So tried the latest development version 0.7.0 and that that works fine,
you just need to install git, then create a build directory as you also
need to download the gnulib via git.

Note the ./configure switches are all one line before the make

command


mkdir pspp_build
cd pspp_build
git clone git://git.savannah.gnu.org/pspp.git
git clone git://git.savannah.gnu.org/gnulib.git
cd pspp
make -f Smake
../configure --prefix=/usr --sysconfdir=/etc --bindir=/bin
--with-gui-tools
make
make check
sudo make install

I did get one error during the check related to the postgres database
as I don’t have one installed.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 4:53, 2 users, load average: 1.15, 1.07, 0.69
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Thanks guys. I’m still in bed (watching Scrapheap Challenge - one of life’s pleasures) but I’ll give it a go a bit later. I’ll post back my results. Thanks guys!

Hmmmm, it all went well until I got to make -f Smake. I just get ‘bash: Make: command not found’.

Grumble grumble… I am now stuck on:

../configure --prefix=/usr --sysconfdir=/etc --bindir=/bin--with-gui-tools

What dependencies do I need to have for this step? I had to install make and some other things to get past the make -f Smake part. I’m soooooo close!

Hi
Mumble mumble :slight_smile: Have a look in the files called INSTALL, I also had to
install gsl, libgladeui and the devel files as well as plotutils.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 0:20, 1 user, load average: 0.02, 0.08, 0.16
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

I’m getting close!

configure: error: The following required prerequisites are not installed.
You must install them before PSPP can be built:
	libglade 2.0 v2.6.0 or later (or use --without-gui)
	libgslcblas
	libgsl (version 1.4 or later)

I have installed gsl, libgladeui and the devel files as well as plotutils, libglade, libgslcblas and libgsl. I must be missing something silly or be just off the right track. I’ll keep playing and see what I find. I feel like I’ve installed a dozen different things now!

Ok, even closer! Now all I need is the libglade 2.0 v2.6.0 or later. I’m installing more libglade related things so lets see if that works. Why can’t it be a simple process? grumble grumble! :slight_smile:

Hi
Is it 32bit or 64bit system? You may need to specify
–libdir=/usr/lib64 if it is 64bit.

libgsl and libgslcblas are part of gsl


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 1:04, 1 user, load average: 0.52, 0.81, 0.42
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Ok, I’ve got:

PSPP configured successfully

The ‘make’ command gives me this at the end:

make[2]: *** [src/ui/terminal/pspp] Error 1
make[2]: Leaving directory `/home/rich/pspp-0.6.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rich/pspp-0.6.0'
make: *** [all] Error 2

Any ideas / suggestions on what to do next? Should I continue?

Hi
Ahhh, your in the wrong directory, should be in one called pspp not
pspp-0.6.0.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 1:43, 2 users, load average: 0.00, 0.02, 0.07
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

There is a pspp directory? I can only see pspp_build and pspp-0.6.0 at my home directory.

Hi
I’m guessing if you cd to the pspp_build directory it should be there
if you followed the commands I posted previously :slight_smile:

I had the same type of error with the 0.6.0 build…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 2:24, 2 users, load average: 0.12, 0.14, 0.05
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Yep, followed them to the letter! lol I’m going to retrace my steps and see if anything has gone wrong.

Also, where is the 0.7.0 version? I couldn’t find the link. I’m going to remove the whole lot and start again. Grumble grumble…

Hi
Mumble mumble… the git version is the 0.7.0 one :slight_smile: It will download
when you run the commands git clone …


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 3:06, 1 user, load average: 0.01, 0.08, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

I’m going to remove it all and start again. I just don’t understand. I followed everything word for word.

Hi
Welcome to the Twilight Zone :slight_smile:

Just make sure you cd to pspp_build directory, run the two git commands
then do a ls command. You should then see two directories, gnulib and
pspp, cd to pspp and run the commands :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 4:06, 1 user, load average: 0.11, 0.07, 0.03
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

I’ve started again and done everything word for word. Now then I have to enter this:

../configure --prefix=/usr --sysconfdir=/etc --bindir=/bin--with-gui-tools

I just get

“bash: …/configure: No such file or directory”

I’m currently in: Obsidian:/home/rich/pspp_build/pspp #

When in the pspp dir, doing an ls gives me this:

Obsidian:/home/rich/pspp_build/pspp # ls
acinclude.m4    configure.ac         glade           NEWS           Smake
AUTHORS         COPYING              INSTALL         OChangeLog     src
ChangeLog       doc                  install-reloc   ONEWS          tests
config          examples             lib             po             THANKS
config.guess    .git                 link-warning.h  pspp-mode.el   TODO
config.libpath  .gitignore           ltmain.sh       README
config.rpath    gitlog-to-changelog  m4              README.CVS
config.sub      gl                   Makefile.am     reloc-ldflags

when I run that command. I’m confused!? I’m going to bed. :\