Friday, June 6, 2008

Installing BerkeleyDB perl module from CPAN

I was getting an error executing:

cpan -i BerkeleyDB

This seemed to be because I did not have Berkeley installed on my mac.  Well no problem, just execute

port install db46

from Macports.  After that finishes, just set up a link in /usr/local e.g.

ln -s  /usr/local/BerkeleyDB.4.6/ /usr/local/BerkeleyDB

and then 

cpan -i BerkeleyDB

should work.

Install perl module off cpan

it's easy

cpan -i [module]

Tuesday, June 3, 2008

Enable sending email on Mac OS X

It wasn't completely obvious to me, but here is what you need to execute in order to be able to send email from your Mac.

in a terminal:
postfix start