Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Customary Perl setup on Apple Mac OS X?

by wrinkles (Pilgrim)
on Aug 05, 2008 at 05:52 UTC ( #702227=note: print w/ replies, xml ) Need Help??

in reply to Customary Perl setup on Apple Mac OS X?

It's easy to install custom perl and modules, however I've historically had trouble keeping the various configuration settings straight to avoid conflicts. I've never had good luck mixing Fink and/or MacPorts with a cpan installation. I prefer installing cpan to my "/opt" directory and building non-CPAN perl manually with:
./Build install --install_base /opt/local/
my bashrc contains:
export PERL5LIB="/opt/local/lib/perl5:/opt/local/lib/perl5/site_perl:/ +opt/local/lib/perl5/darwin-thread-multi-2level:/opt/local/lib/perl5/a +uto"
FWIW here's my
$CPAN::Config = { 'auto_commit' => q[1], 'build_cache' => q[20], 'build_dir' => q[/Users/my_username/.cpan/build], 'cache_metadata' => q[1], 'commandnumber_in_prompt' => q[1], 'cpan_home' => q[/Users/my_username/.cpan], 'dontload_hash' => { }, 'ftp' => q[/usr/bin/ftp], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[/opt/local/bin/gpg], 'gzip' => q[/usr/bin/gzip], 'histfile' => q[/Users/my_username/.cpan/histfile], 'histsize' => q[500], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/Users/my_username/.cpan/sources], 'lynx' => q[/usr/bin/lynx], 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[], 'make_install_make_command' => q[/usr/bin/make], 'makepl_arg' => q[PREFIX=/opt/local SITELIBEXP=/opt/local/lib/perl5 +LIB=/opt/local/lib/perl5 INSTALLMAN1DIR=/opt/local/man/man1 INSTALLMA +N3DIR=/opt/local/man/man3 INSTALLSITEMAN1DIR=/opt/local/man/man1 INST +ALLSITEMAN3DIR=/opt/local/man/man3 INSTALLBIN=/opt/local/bin INSTALLS +CRIPT=/opt/local/bin], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[--install_base /opt/local --uninst 1], 'mbuild_install_build_command' => q[./Build], 'mbuildpl_arg' => q[--install_base /opt/local --lib /opt/local/lib/p +erl5 --installman1dir /opt/local/man/man1 --installman3dir /opt/local +/man/man3 --installscript /opt/local/bin --installbin /opt/local/bin] +, 'ncftpget' => q[/usr/bin/ncftpget], 'no_proxy' => q[], 'pager' => q[/usr/bin/less], 'prerequisites_policy' => q[ask], 'scan_cache' => q[atstart], 'shell' => q[/bin/bash], 'show_upload_date' => q[0], 'tar' => q[/usr/bin/tar], 'term_is_latin' => q[0], 'term_ornaments' => q[1], 'unzip' => q[/usr/bin/unzip], 'urllist' => [q[], q[], q[], q[ftp://cpan.h], q[], q[ftp://m], q[], q[ +], q[ +AN/], q[], q[ +b/perl/CPAN/], q[], q[http://www.p]], 'use_sqlite' => q[0], 'wget' => q[/usr/bin/wget], }; 1; __END__
I know have too many --install_base arguments, as I get an error message while installing from cpan (although it still installs). Not sure which ones need to go. Critiques welcome
Comment on Re: Customary Perl setup on Apple Mac OS X?
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://702227]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2016-05-31 03:06 GMT
Find Nodes?
    Voting Booth?