[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] CPAN for MacPerl, anyone?



-----BEGIN PGP SIGNED MESSAGE-----

Pick up the files at:

    http://pudge.net/files/macperl/CPAN/

Patches are there for the two changed files, ExtUtils/MM_MacOS.pm and
CPAN.pm, and full versions of both files, and the other CPAN.pm files,
are there, including a CPAN/Config.pm that should (with minor
modifications to the paths) work for everyone.


NOTES:

1.  You should have environment variables set for:
    EDITOR (four-char creator ID, like R*ch or ttxt; if not present,
        will try R*ch, ALFA, and ttxt in succession)
    HOME (I set mine as my prefs folder; this is where the cpan files
        wll be kept)

2.  You need all the modules specified in the untarzipme post:
    Archive::Tar, Compress::Zlib, Mac::Conversions, Mac::BinHex, and
    probably the updated AutoLoader and Exporter from Paul's site.

3.  This requires File::Spec; if File::Spec is present, it should work
    fine on all platforms it currently works on, but it needs to be
    tested.  Been tested on Solaris 2.5.1 with perl5.004_04, seems to
    work fine there.

4.  You need Mac::AppleEvents::Simple, for the C<readme> command.
    Maybe this should be done as an AppleScript is Mac::AppleEvents::Simple
    cannot be found?

5.  You need plenty of RAM.  I have 20MB for mine, less is probably
    OK, I dunno.

6.  You should get the real CPAN distribution of CPAN for CPAN.pm's
    docs.

7.  You probably should use my CPAN::Config, and set your prefs by hand.
    Note that for build_dir, cpan_home, and keep_source_where, these
    should match your value of $ENV{HOME}.  Other than those three
    settings, the only others you might want to change will be urllist
    and wait_list, probably.

    Actually, though, if you set $ENV{HOME}, feel free to try letting
    CPAN.pm do the configuration for you.  Put in dummy values for
    tar, gzip, etc.  They shouldn't matter, but you might bomb if they
    are left undef.

8.  clean and test do nothing.  Well, test marks something as already
    tested.  Wheeee!

9.  CPAN::WAIT seems to work, so you should get that, too.

10. I kinda "broke" something in ExtUtils::MM_MacOS; that is, running a
    Makefile.PL won't die if not under the MacPerl source directory
    anymore.  This will later be changed, probably, so the check is
    deferred until later.

11. Have fun testing, and let me know how it goes!  If all goes well,
    I will submit the changes to Andreas Koenig for inclusion in
    CPAN.pm.  The ExtUtils changes might go elsewhere, in whole or in
    part, depending on what Matthias wants to do.

- --
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0 for non-commercial use <http://www.pgp.com>
Charset: noconv

iQCVAwUBNpolAChcZja3bnKtAQFQHQP/S8TTyTujauByIhyCuMhfSHJAHf0PscQ3
u9pu6B1Cem9q/wytYAI9vs1PGtmXh3suRT53hK9A7ZpRrF0im9QosBWu58hsmAKe
uROZPauT6IlYZCBW0K9QqEyRadJnQ5BZmz5h0Ym3am87EiED6a4j27mZdAd9YAOu
Wa6Zj51jYZM=
=jtNz
-----END PGP SIGNATURE-----

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch