Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

passing additional options to cpan utility

by syphilis (Archbishop)
on Nov 30, 2017 at 14:16 UTC ( [id://1204592]=perlquestion: print w/replies, xml ) Need Help??

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

Hi,

Let's say I want to install a certain module (namely, Math::MPFR) using the cpan utility, but I need the perl Makefile.PL step to be run as:
perl Makefile.PL D64=1 F128=1
Does the cpan utility accommodate that need to provide additional command line arguments ?
(I couldn't spot anything in the documentation that indicates it does.)

What about cpanminus and cpanplus ? Do either of them provide what I'm seeking ?

Cheers,
Rob

Replies are listed 'Best First'.
Re: passing additional options to cpan utility
by 1nickt (Canon) on Nov 30, 2017 at 14:26 UTC
      Yes, --configure-args does the trick.
      Thanks, 1nickt.

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-29 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found