Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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 ( [id://1100163]=note: print w/replies, xml ) Need Help??


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

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

McA

  • Comment on Re^5: CPAN.pm says module is up-to-date, but running it says XS code is not built.
  • Download Code

Replies are listed 'Best First'.
Re^6: 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 15:01 UTC

    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

        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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100163]
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: (5)
As of 2024-04-19 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found