On Jun 30, 2006, at 2:54 PM, John Peacock wrote:

I was trying to test one of my modules[1] on an earlier version of Perl (5.6.2 to be exact) and so I had to go through the pain of installing all of the prerequisites that it has (and its parent, and its grandparents, etc). There was some problems with Test::Builder[2], so I abandoned that for the moment. Now, I cannot get my tests to run using my current Perl (5.8.7) and I get errors like this:

Can't locate SVN/Notify.pm in @INC (@INC contains:
/home/jpeacock/devel/SVN-Notify-Mirror/blib/lib
/home/jpeacock/devel/SVN-Notify-Mirror/blib/arch
/home/jpeacock/devel/SVN-Notify-Mirror/_build/lib
/usr/local/lib/perl5/5.6.2/i686-linux /usr/local/lib/perl5/5.6.2
/usr/local/lib/perl5/site_perl/5.6.2/i686-linux
/usr/local/lib/perl5/site_perl/5.6.2
/usr/local/lib/perl5/site_perl/5.005/i686-linux
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl
.) at /usr/local

NOTE that is running the default perl (which claims to be 5.8.7)!!!

What on Earth have I done to my machine???  I've done

        $ ./Build distclean


Probably you need to do './Build realclean' and then run 'perl Build.PL' again. If you run 'perl5.6.foo Build.PL', thereafter whenever you run ./Build it will use perl5.6.foo.

 -Ken

Reply via email to