From: Ben Pfaff Date: Thu, 16 Apr 2009 05:31:56 +0000 (-0700) Subject: perl-module: Better document "make test" requirements. X-Git-Tag: v0.7.3~106 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0547b7cd533a294a8d4f80463298777403bedc1a;p=pspp-builds.git perl-module: Better document "make test" requirements. --- diff --git a/perl-module/README b/perl-module/README index 74d6220e..c8e94846 100644 --- a/perl-module/README +++ b/perl-module/README @@ -14,9 +14,14 @@ To install this module type the following: perl Makefile.PL make - make test make install + make test +For "make test" to succeed, Perl must be able to find +libpspp-core-$VERSION.so. It can do so if "make install" has been run +(as shown above), or if LD_LIBRARY_PATH points to it (e.g. in +src/.libs). Running "make check" from the top-level build directory +will automatically set LD_LIBRARY_PATH. DEPENDENCIES diff --git a/perl-module/t/Pspp.t b/perl-module/t/Pspp.t index 04b76a57..cdea8646 100644 --- a/perl-module/t/Pspp.t +++ b/perl-module/t/Pspp.t @@ -1,6 +1,8 @@ # -*-perl-*- -# Before `make install' is performed this script should be runnable with -# `make test'. After `make install' it should work as `perl PSPP.t' +# Before `make install' is performed this script should be runnable +# with `make test' as long as libpspp-core-$VERSION.so is in +# LD_LIBRARY_PATH. After `make install' it should work as `perl +# PSPP.t' #########################