Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

I have to confess to complete bafflement when it comes to using modules locally on my Mac.

The ones that are installed work just fine, and I've never needed to install a new one yet.

Now I'd like to experiment with PerlTidy.

The documentation says, at http://perltidy.sourceforge.net/INSTALL.html#mac%20installation%20notes -- "The normal installation process (just dropping the .tgz file on a distribution-provided "installme" script) should work."

I have no idea what this means, frankly.

I've got as far as downloading a version of PerlTidy, changing the linebreaks, and running Makefile.PL.

I get the following output:

Checking if your kit is complete... Looks good # On MacOS, we need to build under the Perl source directory or have t +he MacPerl SDK installed in the MacPerl folder.

Which leaves me baffled.

Any help gratefully received.
--

($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;

Replies are listed 'Best First'.
Re: Installing PerlTidy for Mac OS 9 Help please?
by ChemBoy (Priest) on Jun 01, 2002 at 01:00 UTC

    Installing modules on MacPerl is somewhat of a mixed-bag experience at times--most things are easy, and some things are just impossible, unless you have a compiler and a certain amount of free time. Fortunately, what you're trying to do is easy--go to MacPerl Module Porters and look down at the bottom of the page for the paragraph on installation. Short answer is that you need the cpan-mac distribution, from Chris Nandor (includes a Mac version of CPAN.pm and the aforementioned installme applet). I'd elaborate, but it seems silly--the docs are all there, and they're an easy read.

    While you're there, look at the rest of the page--a fair number of very handy modules requiring compilation are linked from it.



    If God had meant us to fly, he would *never* have given us the railroads.
        --Michael Flanders

      Sorry to leave this thread languishing over the weekend. World Cup Fever is to blame. I've got hashes of arrays of matches and arrays of hashes of results and all kinds of lovely soccer data formats to play with.

      For the record:

      No, I didn't drag the files to the installme, because I didn't have the installme.

      In my defense, when it says "in the distribution-included 'Installme' file", it doesn't say which distribution.

      I have since downloaded Chris Nandor's cpan stuff which totally kicked ass and solved my problems, (after assigning a lot more memory to MacPerl!).

      If we can draw any useful lesson from my rather pathetic post and the responses, it's "keep up to date with your version of Perl and the documentation will make more sense..."
      --

      ($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
Re: Installing PerlTidy for Mac OS 9 Help please?
by BUU (Prior) on May 31, 2002 at 04:13 UTC
    have you tried dropping the file.tgz onto the installme script?