in reply to Re: editing paths in INC
in thread editing paths in INC

No, symlink does not fixed it. I got this error during make test phase:
Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/li +b/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use Test::H +arness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/md5...............Can't locate Digest/MD5.pm in @INC (@INC contains: + blib/arch blib/lib /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/ +lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1/i686-linux /usr +/local/lib/perl5/5.6.1 /usr/local/bin/lib/perl5/5.6.1/i686-linux /usr +/local/bin/lib/perl5/5.6.1/i686-linux /usr/local/bin/lib/perl5/5.6.1 +/usr/local/bin/lib/perl5/site_perl/5.6.1/i686-linux /usr/local/bin/li +b/perl5/site_perl/5.6.1/i686-linux /usr/local/bin/lib/perl5/site_perl +/5.6.1 /usr/local/bin/lib/perl5/site_perl/5.6.1/i686-linux /usr/local +/bin/lib/perl5/site_perl/5.6.1 /usr/local/bin/lib/perl5/site_perl . / +usr/local/bin/lib/perl5/5.6.1/i686-linux /usr/local/bin/lib/perl5/5.6 +.1 /usr/local/bin/lib/perl5/site_perl/5.6.1/i686-linux /usr/local/bin +/lib/perl5/site_perl/5.6.1 /usr/local/bin/lib/perl5/site_perl .) at b +lib/lib/MD5.pm line 8. Compilation failed in require at t/md5.t line 8. BEGIN failed--compilation aborted at t/md5.t line 8. t/md5...............dubious + Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-14 Failed 14/14 tests, 0.00% okay Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +---------- t/md5.t 2 512 14 14 100.00% 1-14 Failed 1/1 test scripts, 0.00% okay. 14/14 subtests failed, 0.00% okay +. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK cpan>

Any idea?

Replies are listed 'Best First'.
Re: Re: Re: editing paths in INC
by ysth (Canon) on Nov 10, 2003 at 06:16 UTC
    Hm. The MD5 module doc says it is deprecated and now just a wrapper around Digest::MD5, which is properly listed as a prerequisite. Did CPAN offer to install Digest::MD5? Did *that* install fail because of your INC problem? From the above, it looks as if Digest::MD5 should have been found if it installed under either /usr/local/bin/lib or /usr/local/lib. ??
Re: Re: Re: editing paths in INC
by Anonymous Monk on Nov 10, 2003 at 07:21 UTC
    That is not enough information. You need to provide everything from `perl Makefile.PL' up until (and including) `make test', while also including the output of `perl -V'.
      Please read the thread before posting. Perl -v is posted in my original post and make test is included.
        Please read the thread before posting.
        You should follow your own advice! He said:
        You need to provide everything from `perl Makefile.PL' up until (and including) `make test',
        Where's the part between the Makefile.PL and the testing. Namely, the building? You've not included that yet, and I noticed because I was curious about that too. How could a "make all" not put the module in place that you are now testing?

        -- Randal L. Schwartz, Perl hacker
        Be sure to read my standard disclaimer if this is a reply.

        I would still very much like to know your MakeMaker version (output from perl -MExtUtils::MakeMaker=999) and some details about your perl configuration. Can you give the output from perl -V:'(site|config_args|prefix).*'? For example:
        $ perl -V:'(site|config_args|prefix).*' prefix='/usr' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimi +ze=-O3 -Dman3ext=3pm' prefixexp='/usr' sitearch='/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int' sitearchexp='/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int' sitebin='/usr/bin' sitebinexp='/usr/bin' sitelib='/usr/lib/perl5/site_perl/5.8.0' sitelib_stem='/usr/lib/perl5/site_perl' sitelibexp='/usr/lib/perl5/site_perl/5.8.0' siteman1='/usr/share/man/man1' siteman3='/usr/share/man/man3' siteprefix='/usr' siteprefixexp='/usr'
        What I understand you to have reported (MakeMaker putting a module into somewhere not in @INC), shouldn't be happening. I'd like to find out what's up. (You might consider updating MakeMaker; I hesitate to recommend that not knowing how you have things set up--for all I know it might be having gotten a newer MakeMaker that broke things for you.)