in reply to Re: Re: Perl and OSX
in thread Perl and OSX

Well, if you don't have a /System/Library/Perl directory then you've got big problems. I just checked my installation and I've got one... you may need to do a recompile of Perl from source, as it is extremely unlikely that you'll be able to find a binary anywhere. The good news is that the BSD layer may take Perl without a hitch... the bad news is that you may learn a alot about compiling in the process. :-P

Gary Blackburn
Trained Killer

Replies are listed 'Best First'.
Recompiling from source
by TrinityInfinity (Scribe) on Apr 06, 2001 at 02:44 UTC
    Sadly, this is where my knowledge ends, and the learning shall begin.
    To get the perl source, I've downloaded the file from http://www.perl.com/CPAN/src/stable.tar.gz. Will this be what I need to recompile from? I've been reading the README so far, but I don't want to force a square peg in a round hole by mistake...

    Thanks again for the help so far. Its been an experience, but I'm getting to know my system better by the keystroke =)

      My favorite "alternative" method of building from source code is covered here. Just read the first part about how to run Configure with out having to babysit it.

      The crux of the whole thing is:

      • $ mv -f config.sh config.sh.old
      • $ ./Configure -dsE
      • You can edit config.sh here
      • $ ./Configure -S
      • $ make
      • $ make test
      • Become "root", if you aren't already.
      • # make install
      • Answer "yes" that you want /usr/bin/perl set up.
      Where the "edit config.sh" step is where I change which directories things get installed into. See the original web page for more details but ignore the parts about SVR4. (:

              - tye (but my friends call me "Tye")