Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Force Install without Running Tests

by Anonymous Monk
on Sep 08, 2010 at 20:17 UTC ( [id://859409]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I running this command:
sudo perl -MCPAN -e 'force install Math::Bigint'
But this part of the installation is taking too long (almost 1 hour already).
Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-dh.t t/00-compile.t .. Math::BigInt: couldn't load specified math lib(s), f +allback to Math::BigInt::Calc at /home/xxx/.cpan/build/Crypt-DH-0.06/ +blib/lib/Crypt/DH.pm line 6 t/00-compile.t .. ok t/01-dh.t ....... Math::BigInt: couldn't load specified math lib(s), f +allback to Math::BigInt::Calc at /home/xxx/.cpan/build/Crypt-DH-0.06/ +blib/lib/Crypt/DH.pm line 6 t/01-dh.t ....... 16/21
I was wondering if there is a way to bypass the tests since I am already doing a force install?

Replies are listed 'Best First'.
Re: Force Install without Running Tests
by bingos (Vicar) on Sep 08, 2010 at 22:48 UTC
Re: Force Install without Running Tests
by Your Mother (Archbishop) on Sep 08, 2010 at 21:41 UTC

      I know that I'm years behind on this. But, just in case someone else goes looking for this information, try...

      Using CPAN/MCPAN Shell:
      perl -MCPAN -e "CPAN::Shell->notest('install', 'Math::Bigint')"

      Using CPANM (CPAN::Minus):
      cpanm Math::Bigint -n

      Hope I'm able to help.

        Hi mrmattipants, and welcome!

        I think that should be Math::BigInt (note the upper-case 'I' in Int).

        A normal cpanm Math::BigInt succeeds for me on 5.24.0 (on Linux Mint).

        method 1 (shell->notest) worked for HTML::HTMLDoc. Thank you!!
      This does not work.
Re: Force Install without Running Tests
by JavaFan (Canon) on Sep 08, 2010 at 21:11 UTC
    Go to the build directory (it should be build by now), type in 'make install'.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-16 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found