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: Pierre Ayres
Subject: Re: PSPP Perl Module Installation Issues
Date: Thu, 17 Jan 2013 16:21:48 +0200

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 <address@hidden> 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 <
     address@hidden> 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-----



reply via email to

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