On 2006-10-02, Jim Gibson <> wrote:
> If for some reason your Perl distribution is incomplete or you want to
> have the absolute latest (Mac OS X currently comes with 5.8.6, whereas
> 5.8.8 and 5.9.4 are out), go to <http::www.cpan.org> and download the
> latest source distribution. If you have installed the Mac OS X
> optional developer tools (XCode) that came with your OS distribution
> (or downloaded the latest from <http://www.apple.com/developer>), then
> you should be able to build and install a complete Perl distribution.
> The developer tools include a version of gcc for the Mac. There is a
> README.macosx file in the Perl distribution with some information
> about Mac-flavored Perl.
There is one LARGE caveat about that on OS X. Do NOT install your perl
over the one that comes with OS X. Apple tends to assume that the perl
the system came with is the one it's using for various things, and
changing that can cause subtle (and not so subtle) problems that can be
very annoying.
Fortunately, IIRC, the default for a perl built from source is to
install it into /usr/local/bin, rather than /usr/bin where Apple puts
theirs. Just make sure you're using /usr/local as your prefix and you
should be fine.
dha
--
David H. Adler - <> -
http://www.panix.com/~dha/
"Last year in Oregon, Summer fell on a *tuesday*. That was it. One
day. Big shiny thing in the sky. Some people thought it was a UFO."
- Randal Schwartz in comp.lang.perl.misc