- Install Xcode - this is required for installing and running darwin ports (a.k.a macports)
This is a disk image with a binary installer which is about 900 MBs in size and takes a few minutes to install, it also requires an apple developer connection membership before you can download it - Install DarwinPorts - this is required for installing yum
Download the disk image and run the binary installer, you have to fill in your name and email address to download
Run this command as root once you finish running the installer:sudo port -d selfupdate
- Install Yum - this is required to install the perl module
Run this command (takes a long long time) to as root to cause darwin ports to install yum:sudo port install yum
- Use yum to install the perl module
yum -y install perl-Frontier-RPC
http://triopter.com/archive/how-to-install-perl-modules-on-mac-os-x-in-4-easy-steps/
For the same module (Frontier) the commands ended up being (after installing Xcode, much like linux):
sudo suThis worked out a lot better for me (though the process took about 15 minutes total). Make sure you run this as root since it will produce lots of fun failures otherwise.
perl -MCPAN -e shell
install Frontier::Client
1 comment:
CPAN all the way. Grabs all the dependencies for you as well.
It's like the Maven of Perl!
Post a Comment