Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Hi Monks, App::cpanminus installs ExtUtils::MakeMaker again and again on FreeBSD:
$ uname -a FreeBSD (host) 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15 UT +C 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC +i386 $ perl -v This is perl 5, version 12, subversion 4 (v5.12.4) built for i386-free +bsd-64int $ su # cpan App::cpanminus # cpanm Moose ... ==> Found dependencies: ExtUtils::MakeMaker ... Building and testing ExtUtils-MakeMaker-6.62 ... OK .. # cpanm Moo ... ==> Found dependencies: ExtUtils::MakeMaker ... Building and testing ExtUtils-MakeMaker-6.62 ... OK ...
I reported what happened to the CPAN author and the ports maintainer of devel/p5-App-cpanminus months ago. I wonder cpanm doesn't know which module is installed. And so I think the above problem depends on the platform, not cpanm itself. On the other hand, the cpan command works well. Why does cpanm install ExtUtils::MakeMaker again and again? Should I use 'cpan' instead of 'cpanm' on FreeBSD?

Update: added version of cpanm (Thanks to Anonymous Monk)

# cpanm -v cpanm (App::cpanminus) 1.5007 on perl 5.012004 built for i386-freebsd- +64int Work directory is /root/.cpanm/work/1329665008.1924 ( <- Should I hide + this number here? ) You have make /usr/bin/make You have LWP 6.03 You have /usr/bin/tar: bsdtar 2.8.4 - libarchive 2.8.4 You have /usr/bin/unzip

Update: The following works well: (Thanks to one of my followings on Twitter)

# cpanm --uninst-shadows ExtUtils::MakeMaker # cpanm Mojolicious

In reply to cpanm installs ExtUtils::MakeMaker again and again on FreeBSD by anazawa

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (11)
    As of 2015-07-29 13:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (263 votes), past polls