in reply to Re^5: CPAN.pm says module is up-to-date, but running it says XS code is not built.
in thread CPAN.pm says module is up-to-date, but running it says XS code is not built.

Ah, nice. just checked, and cpan doesn't have this. It should, though.

Finally, someone has given me an advantage to cpanm.

Replies are listed 'Best First'.
Re^7: CPAN.pm says module is up-to-date, but running it says XS code is not built.
by McA (Priest) on Sep 10, 2014 at 15:53 UTC

    Hi ikegami,

    I'm sure it's because of lack of knowledge on my side. But starting with cpanm in combination with local::lib I do the following very often to test distributions and to get a feeling about the dependency tree resulting from installing these:

    mkdir mylib cpanm -v -L ./mylib Probably::Fat::Dist # yes, yes -v: I also like out +put perl -Mlocal::lib=./mylib -MProbably::Fat::Dist -E'say "Get feet wet w +ith Probably::Fat::Dist"' rm -rf ./mylib

    I'm sure there is a way to do it with cpan, but I never learned it neither used it. Can you show an equivalent? (I'm really interested on systems without cpanm)

    Regards
    McA

      Using local::lib causes problems because of its use of INSTALL_BASE. I never use it.

      That will be missing dependencies that are already installed, right? http://deps.cpantesters.org/ is your friend. Provides min versions too.

        Have you some more informations about this INSTALL_BASE thing? And, thank you for the link to this web page.

        McA