Ken Williams wrote:

Looks like maybe PERL5LIB isn't set anymore? It always need to be set in order to find stuff in your non-standard location.


Thanks. I think it's still set... Let me start over and show you the exact command sequence:



[localhost:~] fz% echo $PERL5LIB
/Volumes/Unix/usrlocal/lib/perl5
[localhost:~] fz% tar xzf Getopt-ArgvFile-1.06.tgz
[localhost:~] fz% cd Getopt-ArgvFile-1.06
[localhost:~/Getopt-ArgvFile-1.06] fz% perl Makefile.PL `cat ~/.perl_inst_dirs`
Checking if your kit is complete...
Looks good
Writing Makefile for Getopt::ArgvFile
[localhost:~/Getopt-ArgvFile-1.06] fz% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Getopt
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Getopt
mkdir blib/arch/auto/Getopt/ArgvFile
mkdir blib/lib/auto
mkdir blib/lib/auto/Getopt
mkdir blib/lib/auto/Getopt/ArgvFile
mkdir blib/man3
cp ArgvFile.pm blib/lib/Getopt/ArgvFile.pm
Manifying blib/man3/Getopt::ArgvFile.3
[localhost:~/Getopt-ArgvFile-1.06] fz% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/prefix............FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/base.t 5 5 100.00% 1-5
t/prefix.t 2 2 100.00% 1-2
Failed 2/2 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255
[localhost:~/Getopt-ArgvFile-1.06] fz% echo $PERL5LIB
/Volumes/Unix/usrlocal/lib/perl5
[localhost:~/Getopt-ArgvFile-1.06] fz% perl -V


        <snip>
        
        Characteristics of this binary (from libperl):
          Compile-time options: USE_LARGE_FILES
          Built under darwin
          Compiled at Jul 14 2002 04:04:33
          %ENV:
                PERL5LIB="/Volumes/Unix/usrlocal/lib/perl5"
          @INC:
                /Volumes/Unix/usrlocal/lib/perl5/darwin
                /Volumes/Unix/usrlocal/lib/perl5
                /System/Library/Perl/darwin
                /System/Library/Perl
                /Library/Perl/darwin
                /Library/Perl
                /Library/Perl
                /Network/Library/Perl/darwin
                /Network/Library/Perl
                /Network/Library/Perl
                .


On the other hand, in the meantime I had no trouble installing HTML::TextToHTML (which was my target and SAYS it requires Test::More), plus its dependencies ExtUtils::configPL and Filter. The tests ran fine, though again I'm not sure *which* Test::Harness was being used:



[localhost:~/Filter-1.29] fz% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/call..............ok


t/cpp...............ok

t/decrypt...........ok

t/exec..............ok

t/order.............ok

t/sh................ok

t/tee...............ok

All tests successful.
Files=7, Tests=48, 9 wallclock secs ( 4.35 cusr + 2.30 csys = 6.65 CPU)
No tests defined for Filter::Util::Call extension.
No tests defined for Filter::Util::Exec extension.
No tests defined for Filter::decrypt extension.
No tests defined for Filter::tee extension.

[localhost:~/ExtUtils-configPL-1.1] fz% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/def...............ok


t/mode..............ok

t/no................ok

t/opt...............ok

All tests successful.
Files=4, Tests=10, 1 wallclock secs ( 0.17 cusr + 0.05 csys = 0.22 CPU)


[localhost:~/HTML-TextToHTML-1.12] fz% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl
1..11
ok 1
ok 2 - new() returned something
ok 3 - and it's the right class
ok 4 - converted sample.txt
ok 5 - test file matches original example exactly
ok 6 - converted sample string
ok 7 - compare converted string with OK string
ok 8 - converted sample string with list
ok 9 - compare converted list string with OK list string
ok 10 - converted xhtml sample.txt
ok 11 - test file xhtml_sample.html matches original good_xhtml_sample.html exactly







Reply via email to