Pierre Ayres | 15 Jan 11:50 2013
Picon

PSPP Perl Module Installation Issues

Please ignore my previous attempt at an email. (Saw guidelines now)

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.

All I know is Perl.

Thank you in advance.
Pierre
_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Ben Pfaff | 15 Jan 17:49 2013
Picon

Re: PSPP Perl Module Installation Issues

On Tue, Jan 15, 2013 at 12:50:49PM +0200, Pierre Ayres wrote:
> 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.

The usual way to build the Perl module is to run the top-level
"configure" and "make".  This builds the Perl module as a side effect.
John Darrington | 15 Jan 19:00 2013
Picon

Re: PSPP Perl Module Installation Issues

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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 12:37 2013
Picon

Re: PSPP Perl Module Installation Issues

This is what happens now:

$./configure --without-gui --without-cairo --without-libncurses
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
./configure: line 5157: gl_EARLY: command not found
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver <at> FILE support... <at>
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether makeinfo supports <at> clicksequence... no
checking whether gcc accepts -Wdeclaration-after-statement... yes
checking for perl... /usr/bin/perl
./configure: line 13081: syntax error near unexpected token `external,'
./configure: line 13081: `AM_GNU_GETTEXT(external, need-ngettext)'

$ make
make: *** No targets specified and no makefile found.  Stop.



On Tue, Jan 15, 2013 at 8:00 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:
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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD1mT8ACgkQimdxnC3oJ7M3KACfRtr/TESMBBAp77U3/UPSVEZd
nxMAn2F5qz52LcT/hLtp93Y4SE6GNBcN
=X2Q3
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
John Darrington | 17 Jan 13:39 2013
Picon

Re: PSPP Perl Module Installation Issues

On Thu, Jan 17, 2013 at 01:37:34PM +0200, Pierre Ayres wrote:
     This is what happens now:

     $./configure --without-gui --without-cairo --without-libncurses
     checking for a BSD-compatible install... /usr/bin/install -c
     checking whether build environment is sane... yes
     checking for a thread-safe mkdir -p... /bin/mkdir -p
     .
     .
     .
     checking for perl... /usr/bin/perl
     ./configure: line 13081: syntax error near unexpected token `external,'
     ./configure: line 13081: `AM_GNU_GETTEXT(external, need-ngettext)'

This suggests to me that the configure script is broken.  From which tarball did it come?
From where did you download it?

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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 13:47 2013
Picon

Re: PSPP Perl Module Installation Issues

I can't remember, does anyone have a link to a working tar?

Mine is named: pspp_0.7.9+git20120620.orig.tar.gz

Thanks.


On Thu, Jan 17, 2013 at 2:39 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:
On Thu, Jan 17, 2013 at 01:37:34PM +0200, Pierre Ayres wrote:
     This is what happens now:

     $./configure --without-gui --without-cairo --without-libncurses
     checking for a BSD-compatible install... /usr/bin/install -c
     checking whether build environment is sane... yes
     checking for a thread-safe mkdir -p... /bin/mkdir -p
     .
     .
     .
     checking for perl... /usr/bin/perl
     ./configure: line 13081: syntax error near unexpected token `external,'
     ./configure: line 13081: `AM_GNU_GETTEXT(external, need-ngettext)'

This suggests to me that the configure script is broken.  From which tarball did it come?
From where did you download it?

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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD38PoACgkQimdxnC3oJ7N0owCeLJ9+4NDmD3CsI9LcwedGltla
WxkAnjxF4xzqpGGlXG4Rw4YboHPST1Gq
=F2Tw
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
John Darrington | 17 Jan 14:05 2013
Picon

Re: PSPP Perl Module Installation Issues


On Thu, Jan 17, 2013 at 02:47:35PM +0200, Pierre Ayres wrote:
     I can't remember, does anyone have a link to a working tar?

http://alpha.gnu.org/gnu/pspp/pspp-0.7.9.tar.gz 

     Mine is named: pspp_0.7.9+git20120620.orig.tar.gz

If you remember where it came from, please tell them it is broken.

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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 14:37 2013
Picon

Re: PSPP Perl Module Installation Issues

Ahh wow thanks man, so close but I'm not seeing what this could be.
(Its an error in Perl)

Can't load '/usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so' for module PSPP: libpspp-core-0.7.9.so: cannot open shared object file: No such file or directory at /usr/local/lib/perl/5.14.2/XSLoader.pm line 68.
 at /usr/local/lib/perl/5.14.2/PSPP.pm line 26
BEGIN failed--compilation aborted at /usr/local/lib/perl/5.14.2/PSPP.pm line 27.
Compilation failed in require.

Thanks again.



On Thu, Jan 17, 2013 at 3:05 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:

On Thu, Jan 17, 2013 at 02:47:35PM +0200, Pierre Ayres wrote:
     I can't remember, does anyone have a link to a working tar?

http://alpha.gnu.org/gnu/pspp/pspp-0.7.9.tar.gz

     Mine is named: pspp_0.7.9+git20120620.orig.tar.gz

If you remember where it came from, please tell them it is broken.

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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD39y0ACgkQimdxnC3oJ7M2EACffJJFo4ko2Oar4sIlNBvGwg0z
NOoAn3ggfBqUz7uqrc6Uij7UWqTMuZlD
=iqyT
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
John Darrington | 17 Jan 15:00 2013
Picon

Re: PSPP Perl Module Installation Issues

At what stage of the proceedings do you see this?  Please show some more context.

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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 15:06 2013
Picon

Re: PSPP Perl Module Installation Issues

"Syntax Error" at the 'use' statement.

$ /usr/bin/perl parse-for-spss.pl

Can't load '/usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so' for module PSPP: libpspp-core-0.7.9.so: cannot open shared object file: No such file or directory at /usr/local/lib/perl/5.14.2/XSLoader.pm line 68.
 at /usr/local/lib/perl/5.14.2/PSPP.pm line 26
BEGIN failed--compilation aborted at /usr/local/lib/perl/5.14.2/PSPP.pm line 27.
Compilation failed in require at parse-for-spss.pl line 10.
BEGIN failed--compilation aborted at parse-for-spss.pl line 10.

Thanks.


On Thu, Jan 17, 2013 at 4:00 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:
At what stage of the proceedings do you see this?  Please show some more context.


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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD4A/MACgkQimdxnC3oJ7PQGACeMouquXcmeEN9pYN/vqxKvyP+
n78AnisHzdtUjojBylfMxl/HwSVRg06C
=qAxh
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
John Darrington | 17 Jan 15:13 2013
Picon

Re: PSPP Perl Module Installation Issues

OK,  So I think you are missing libpspp-core-0.7.9.so
Perhaps you will need to install pspp itself 
(run "make install" in the build directory).
J'
On Thu, Jan 17, 2013 at 04:06:59PM +0200, Pierre Ayres wrote:
     "Syntax Error" at the 'use' statement.

     $ /usr/bin/perl parse-for-spss.pl

     Can't load '/usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so' for module PSPP:
     libpspp-core-0.7.9.so: cannot open shared object file: No such file or
     directory at /usr/local/lib/perl/5.14.2/XSLoader.pm line 68.
      at /usr/local/lib/perl/5.14.2/PSPP.pm line 26
     BEGIN failed--compilation aborted at /usr/local/lib/perl/5.14.2/PSPP.pm
     line 27.
     Compilation failed in require at parse-for-spss.pl line 10.
     BEGIN failed--compilation aborted at parse-for-spss.pl line 10.

     Thanks.

     
     On Thu, Jan 17, 2013 at 4:00 PM, John Darrington <
     john <at> darrington.wattle.id.au> wrote:

     > At what stage of the proceedings do you see this?  Please show some more
     > context.

--

-- 
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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 15:21 2013
Picon

Re: PSPP Perl Module Installation Issues

Sorry, I forgot to mention that I do have the file in question.

$ locate -i pspp.so

/usr/lib/pspp/libpspp.so
/usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so


$ sudo make install

make  install-recursive
make[1]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9'
Making install in gl
make[2]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make  install-recursive
make[3]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make[4]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make[5]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
if test yes = no; then \
 case 'linux-gnu' in \
   darwin[56]*) \
     need_charset_alias=true ;; \
   darwin* | cygwin* | mingw* | pw32* | cegcc*) \
     need_charset_alias=false ;; \
   *) \
     need_charset_alias=true ;; \
 esac ; \
else \
 need_charset_alias=false ; \
fi ; \
if $need_charset_alias; then \
 /bin/bash /home/pierrea/perl/another/pspp-0.7.9/build-aux/install-sh -d /usr/local/lib ; \
fi ; \
if test -f /usr/local/lib/charset.alias; then \
 sed -f ref-add.sed /usr/local/lib/charset.alias > /usr/local/lib/charset.tmp ; \
 /usr/bin/install -c -m 644 /usr/local/lib/charset.tmp /usr/local/lib/charset.alias ; \
 rm -f /usr/local/lib/charset.tmp ; \
else \
 if $need_charset_alias; then \
   sed -f ref-add.sed charset.alias > /usr/local/lib/charset.tmp ; \
   /usr/bin/install -c -m 644 /usr/local/lib/charset.tmp /usr/local/lib/charset.alias ; \
   rm -f /usr/local/lib/charset.tmp ; \
 fi ; \
fi
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make[4]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make[3]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
make[2]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/gl'
Making install in po
make[2]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/po'
make[2]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/po'
make[2]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9'
make  LD_RUN_PATH=/usr/local/lib/pspp module-make perl-module/PSPP-Perl-0.7.9.tar.gz
make[3]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9'
cd perl-module && make  LD_RUN_PATH=/usr/local/lib/pspp
make[4]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9/perl-module'
make[4]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9/perl-module'
make[3]: `perl-module/PSPP-Perl-0.7.9.tar.gz' is up to date.
make[3]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9'
make[3]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/bash ./libtool   --mode=install /usr/bin/install -c src/ui/terminal/pspp utilities/pspp-dump-sav '/usr/local/bin'
libtool: install: warning: `src/libpspp.la' has not been installed in `/usr/local/lib/pspp'
libtool: install: warning: `src/libpspp-core.la' has not been installed in `/usr/local/lib/pspp'
libtool: install: /usr/bin/install -c src/ui/terminal/.libs/pspp /usr/local/bin/pspp
libtool: install: /usr/bin/install -c utilities/pspp-dump-sav /usr/local/bin/pspp-dump-sav
test -z "/usr/local/lib/pspp" || /bin/mkdir -p "/usr/local/lib/pspp"
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libpspp-core.la src/libpspp.la '/usr/local/lib/pspp'
libtool: install: /usr/bin/install -c src/.libs/libpspp-core-0.7.9.so /usr/local/lib/pspp/libpspp-core-0.7.9.so
libtool: install: (cd /usr/local/lib/pspp && { ln -s -f libpspp-core-0.7.9.so libpspp-core.so || { rm -f libpspp-core.so && ln -s libpspp-core-0.7.9.so libpspp-core.so; }; })
libtool: install: /usr/bin/install -c src/.libs/libpspp-core.lai /usr/local/lib/pspp/libpspp-core.la
libtool: install: /usr/bin/install -c src/.libs/libpspp-0.7.9.so /usr/local/lib/pspp/libpspp-0.7.9.so
libtool: install: (cd /usr/local/lib/pspp && { ln -s -f libpspp-0.7.9.so libpspp.so || { rm -f libpspp.so && ln -s libpspp-0.7.9.so libpspp.so; }; })
libtool: install: /usr/bin/install -c src/.libs/libpspp.lai /usr/local/lib/pspp/libpspp.la
libtool: install: /usr/bin/install -c src/.libs/libpspp-core.a /usr/local/lib/pspp/libpspp-core.a
libtool: install: chmod 644 /usr/local/lib/pspp/libpspp-core.a
libtool: install: ranlib /usr/local/lib/pspp/libpspp-core.a
libtool: install: /usr/bin/install -c src/.libs/libpspp.a /usr/local/lib/pspp/libpspp.a
libtool: install: chmod 644 /usr/local/lib/pspp/libpspp.a
libtool: install: ranlib /usr/local/lib/pspp/libpspp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/pspp
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/pspp

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "" || /bin/mkdir -p ""
test -z "" || /bin/mkdir -p ""
test -z "/usr/local/share/doc/pspp" || /bin/mkdir -p "/usr/local/share/doc/pspp"
 /usr/bin/install -c -m 644 doc/pspp.xml '/usr/local/share/doc/pspp'
test -z "" || /bin/mkdir -p ""
test -z "" || /bin/mkdir -p ""
test -z "" || /bin/mkdir -p ""
test -z "/usr/local/share/pspp/examples" || /bin/mkdir -p "/usr/local/share/pspp/examples"
 /usr/bin/install -c -m 644 examples/descript.stat examples/hotel.sav examples/physiology.sav examples/repairs.sav examples/regress.stat examples/regress_categorical.stat '/usr/local/share/pspp/examples'
test -z "/usr/local/share/info" || /bin/mkdir -p "/usr/local/share/info"
 /usr/bin/install -c -m 644 ./doc/pspp.info ./doc/pspp.info-1 ./doc/pspp.info-2 ./doc/pspp-dev.info '/usr/local/share/info'
 install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/pspp.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
 install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/pspp-dev.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
 /usr/bin/install -c -m 644 utilities/pspp-dump-sav.1 '/usr/local/share/man/man1'
test -z "" || /bin/mkdir -p ""
make  install-data-hook
make[4]: Entering directory `/home/pierrea/perl/another/pspp-0.7.9'
for f in po/ca.gmo po/de.gmo po/en_GB.gmo po/es.gmo po/fr.gmo po/lt.gmo po/nl.gmo po/pt_BR.gmo; do \
 lang=`echo $f | sed -e 's%po/\(.*\)\.gmo%\1%' ` ; \
 /bin/mkdir -p /usr/local/share/locale/$lang/LC_MESSAGES; \
 /usr/bin/install -c -m 644 $f /usr/local/share/locale/$lang/LC_MESSAGES/pspp.mo ; \
done
make[4]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9'
make[3]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9'
make[2]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9'
make[1]: Leaving directory `/home/pierrea/perl/another/pspp-0.7.9'


On Thu, Jan 17, 2013 at 4:13 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:
OK,  So I think you are missing libpspp-core-0.7.9.so
Perhaps you will need to install pspp itself
(run "make install" in the build directory).
J'
On Thu, Jan 17, 2013 at 04:06:59PM +0200, Pierre Ayres wrote:
     "Syntax Error" at the 'use' statement.

     $ /usr/bin/perl parse-for-spss.pl

     Can't load '/usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so' for module PSPP:
     libpspp-core-0.7.9.so: cannot open shared object file: No such file or
     directory at /usr/local/lib/perl/5.14.2/XSLoader.pm line 68.
      at /usr/local/lib/perl/5.14.2/PSPP.pm line 26
     BEGIN failed--compilation aborted at /usr/local/lib/perl/5.14.2/PSPP.pm
     line 27.
     Compilation failed in require at parse-for-spss.pl line 10.
     BEGIN failed--compilation aborted at parse-for-spss.pl line 10.

     Thanks.


     On Thu, Jan 17, 2013 at 4:00 PM, John Darrington <
     john <at> darrington.wattle.id.au> wrote:

     > At what stage of the proceedings do you see this?  Please show some more
     > context.

--
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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD4BxQACgkQimdxnC3oJ7OBogCffuCqNeF+sAZc5JNvNYDa/g5Z
fXAAn1ehStbilrSjO6VcG4HGjui5roTN
=ih6V
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
John Darrington | 17 Jan 15:30 2013
Picon

Re: PSPP Perl Module Installation Issues


On Thu, Jan 17, 2013 at 04:21:48PM +0200, Pierre Ayres wrote:
     Sorry, I forgot to mention that I do have the file in question.

     $ locate -i pspp.so

     /usr/lib/pspp/libpspp.so
     /usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so

libpspp-core-0.7.9.so and libpspp-0.7.9.so are the ones you need.
If you have them installed, but you still get that error, then I 
presume you need to set your PERL5LIB variable (or use some other
perlmongery) so that they can be found by perl.

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.

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Pierre Ayres | 17 Jan 16:14 2013
Picon

Re: PSPP Perl Module Installation Issues

Thanks for all the help, I'll try find a Perl guru.


On Thu, Jan 17, 2013 at 4:30 PM, John Darrington <john <at> darrington.wattle.id.au> wrote:

On Thu, Jan 17, 2013 at 04:21:48PM +0200, Pierre Ayres wrote:
     Sorry, I forgot to mention that I do have the file in question.

     $ locate -i pspp.so

     /usr/lib/pspp/libpspp.so
     /usr/local/lib/perl/5.14.2/auto/PSPP/PSPP.so


libpspp-core-0.7.9.so and libpspp-0.7.9.so are the ones you need.
If you have them installed, but you still get that error, then I
presume you need to set your PERL5LIB variable (or use some other
perlmongery) so that they can be found by perl.

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.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlD4CxYACgkQimdxnC3oJ7OrpwCeMzOYfJHmKGsnRfBZHeb2Mdi4
vUIAoIE10squmDhmlvAXUNzAerLXcpo0
=NSlj
-----END PGP SIGNATURE-----


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Gmane