pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP Perl Module Installation Issues


From: John Darrington
Subject: Re: PSPP Perl Module Installation Issues
Date: Tue, 15 Jan 2013 19:00:31 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Jan 15, 2013 at 12:50:49PM +0200, Pierre Ayres wrote:
     
     I am running Ubuntu 12.04.1, I have Perl 5.14.2 installed, I have also
     installed GCC.
     I have the source files for PSPP 0.7.9.
     
     When running "/usr/bin/perl Makefile.PL" for the Perl module I get the
     following "error".
     
     "Enter the location of the build directory of the configured pspp source:
     []
     Checking if your kit is complete...
     Looks good
     Could not open '/src/libpspp/version.c': No such file or directory at
     /usr/local/share/perl/5.14.2/ExtUtils/MM_Unix.pm line 2637."
     
     I realize I need to give some directory of sorts but a 'locate' does not
     find this file anywhere on my box.
     
     Assuming I need to "compile?" PSPP first then I am stuck again as I have no
     idea how to do this in 'dummies' steps.
     

I did some brief experiments today, and it seems that installing the perl module
without the rest of PSPP is not as easy as it could be.

Basically you are right, you will need to compile PSPP first, but you don't need
to install it.  At a risk of contradicting that sentence, you should follow the 
instructions in the file called INSTALL.  However, to save yourself a bit of
time and from having to install lots of things you won't need, you can pass 
various --without-* flags to configure, thus:

./configure --without-gui --without-cairo --without-libncurses 
make
cd perl-module
make install


Hope this helps.

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]