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

cpan Compiling 32bit by default

by DanEllison (Scribe)
on Jul 09, 2014 at 14:53 UTC ( [id://1092926]=perlquestion: print w/replies, xml ) Need Help??

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

Earlier I found /usr/bin/perl linked to the 32bit version on a 64bit machine. I got that changed so perl is now running 64bit. However, when I try to install modules using 'cpan', it apparently wants to still compile 32bit.

If I go into the build directory and execute the "perl Makefile.PL" and "make" myself, it compiles correctly in 64bit. Why does cpan want to compile 32bit?

Replies are listed 'Best First'.
Re: cpan Compiling 32bit by default
by MidLifeXis (Monsignor) on Jul 09, 2014 at 16:50 UTC

    Which version of perl is cpan running with? Look for the shebang line in `which cpan`. My guess is that the cpan script is running with the system version of perl (via the shebang line, likely 32-bit), but you have the 64-bit version of perl earlier in your path, so perl Makefile.PL finds that one.

    --MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-23 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found