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

Update
Turns out the basic OSX install is actually incomplete... its only with the addition of the developer cd that extra binaries are added (autoconf, make, about 100+), and the extra perl headers, libraries and extra whatnot are added in. Its fixed ALL my problems, so if anyone else has problems w/OSX.. just install the developer's kit!
Thanks to everyone who offered advice, I appreciate it =)


The status of things so far...

Running it as root gives the same error message. However, I did actually take the time to go check the /System/Library/Perl/darwin/CORE/perl.h path... and there is no Perl directory under the /System/Library directory.

In between checking responses here, I'm combing through Apple's help forums to see if there's any info about the Perl installation there. I went to perl.com, but looking for any files there took me to that same ports page on CPAN telling me that OSX has the latest perl on it.

So all I've got so far is its not a module issue (I learned all about modules when I first signed up to this site....), nor a permissions situation, but something with the perl files itself. Bah, humbug! =)

Replies are listed 'Best First'.
Re: Re: Re: Perl and OSX
by Trimbach (Curate) on Apr 06, 2001 at 02:10 UTC
    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

      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")