Two things to remember when using CPAN to install or upgrade a Perl module on a Mac OS X system:
1. Set FTP to use Passive Mode
Otherwise it will just spin its wheels trying to find a cpan repository that it can download from.
In your bash shell, or your ~/.bash_login file add this line:
export FTP_PASSIVE=1
2. Run the CPAN interface under sudo
You need root privileges to install the modules after they have compiled.
sudo perl -MCPAN -e "shell"
The CPAN may recommend updating your Bundle::CPAN module. While this is a good thing to do, it does take a long time to install/update all the supporting modules (10-15 minutes), so bear that in mind.
A collection of computer systems and programming tips that you may find useful.
Brought to you by Craic Computing LLC, a bioinformatics consulting company.
Thursday, April 5, 2007
Subscribe to:
Post Comments (Atom)
About Me
Archive of Tips
-
▼
2009
(31)
-
►
June
(9)
- Sending Email from a Linux machine
- Erasing Disks on Linux Machines
- Removing a Linux machine from LDAP
- Finding the Address of your DHCP Server
- Migrating a MySQL 3.23 database to 5.0
- Simple Example of using the YUI Tooltip Widget for...
- Combing PDF pages using Preview in Mac OS X
- Resizing Browser windows to a Fixed Size
- Sending Email from Rails via Gmail
-
►
June
(9)

0 comments:
Post a Comment