From 0547b7cd533a294a8d4f80463298777403bedc1a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 15 Apr 2009 22:31:56 -0700 Subject: [PATCH] perl-module: Better document "make test" requirements. --- perl-module/README | 7 ++++++- perl-module/t/Pspp.t | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) 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' ######################### -- 2.30.2