Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by ikegami (Patriarch)
on Sep 10, 2014 at 14:45 UTC ( [id://1100158]=note: print w/replies, xml ) Need Help??


in reply to Re^3: 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.

How would it have been different with cpanm?
  • Comment on Re^4: CPAN.pm says module is up-to-date, but running it says XS code is not built.

Replies are listed 'Best First'.
Re^5: 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 14:53 UTC

    I would have used cpanm --reinstall DIST which would force the attempt to reinstall without skipping the tests, isn't it?

    McA

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

      Finally, someone has given me an advantage to cpanm.

      • Has --reinstall
      • Uses less memory, allowing it to be used on some embedded systems I don't use.
      • You have to use curl -L http://cpanmin.us | perl - App::cpanminus instead of press Enter the first time you use it.
      • Less configurable.
      • Hides output, so it appears to be doing nothing for minutes at a time.

        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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-20 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found