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

[MacPerl-Modules] Fwd: More on binary builds and ports



I see Paul already got a copy of this.  No one responded to it (at least,
they did not copy me on it if they did).  :/

> Date: Tue, 23 Feb 1999 14:49:51 -0500
> To: modules@perl.org
> From: Chris Nandor <pudge@pobox.com>
> Subject: More on binary builds and ports
> Cc: schinder@pobox.com
> Bcc:
> X-Attachments:
>
> I was giving more thought to support for installing binaries and ports
> with CPAN.pm.
>
> I was thinking of a couple of things.  First, I like what was mentioned
> before about having something like:
>
>   Binary::GD::MacOS
>   Binary-GD-MacOS-1-1.18.tar.gz
>
> (The first digit is the build number.)
>
> Then I can do:
>
>   cpan> install GD
>
> If $CPAN::Config::binary_install is true, CPAN.pm would do a search for
> "Binary::${name}::$^O".  If found, CPAN.pm would ask:
>
>   A binary build of GD 1.18 for MacOS is available.  Do you want to get
> that
>   instead of the main distribution for GD 1.18? [n]
>
>
> Similarly, I was wondering about ports.  For example, MacPerl does not
> fully support LWP, and there is a port.  So how about:
>
>   Port::LWP::MacOS
>   Port-LWP-MacOS-1-5.41.tar.gz
>
>   cpan> install LWP
>
>   A port of LWP 5.41 for MacOS is available.  Do you want to get that
>   instead of the main distribution for LWP 5.42? [n]
>
> Of course, there is also the question of Bundles.  I imagine that it
> could work so that trying to install Bundle::LWP would, when
> encountering "LWP" in the Bundle file, would then fetch the port if the
> user responds affirmatively.
>
> Maybe there could be other configuration variables to set so that it
> installs without asking, too.  Or maybe not.
>
> The only thing left that I can think of offhand is that PAUSE would have
> to _not_ index the GD file in Binary-GD-MacOS, but only index
> Binary::GD::MacOS.
>
> Any problems, better solutions, things I didn't think of, etc.?  I'll
> think about starting work on this in the next few weeks if the consensus
> thinks it worthy.
>
> --
> Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
> %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org