On Tue, Nov 11, 2003 at 03:28:23PM +0100, Max Horn wrote: > Well, I get this: > > [arrakis:~/Projekte/fink-cvs/fink] maxhorn% make test > ./Base/initialize...........ok > ./Base/param................ok > ./Base/param_boolean........ok > ./Config/exports............ok > ./Config/load_save..........ok > ./Config/options............ok > ./Config/param..............ok > ./Config/verbosity_level....ok > ./PkgVersion/get_perl.......NOK 3# Failed test > (./PkgVersion/get_perl.t at line 19) > # '' > # doesn't match '(?x-ism:^/ 5 \. \d{1,2} \. \d{1,2} $)'
Here's how you interpret that. The test on line 19 of get_perl.t is: my($perldir, $perlarch) = $pv->get_perl_dir_arch; like( $perldir, qr{^/ 5 \. \d{1,2} \. \d{1,2} $}x ); <--- line 19 Which means that for some reason, get_perl_dir_arch() isn't returning the version number on your system. Its blank. This should be impossible as $perldirectory is always set to "/" . $perlversion so it should be at least "/". This suggests to me that you're not running the latest version. I think the problem is the 'test' make target isn't quite right. Its not set up to find the local perlmod/ directory so you're running the tests against the installed version of Fink rather than the ones sitting in perlmod/ Try this: --- Makefile 7 Nov 2003 21:17:39 -0000 1.1 +++ Makefile 12 Nov 2003 04:15:27 -0000 @@ -5,6 +5,6 @@ ./inject.pl test: - @cd t && find . -name '*.t' | xargs perl -MTest::Harness -e 'runtests(@ARGV)' + @cd t && find . -name '*.t' | xargs perl -I../perlmod -MTest::Harness -e 'runtests(@ARGV)' .PHONY: all test install -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ Though we adore men individually, we agree that as a group they're rather stupid. ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel