p5-getopt-long and perl5.8 - activation error

Daniel J. Luke dluke at geeklair.net
Wed Feb 6 07:40:30 PST 2008

On Feb 5, 2008, at 9:01 PM, Vincent Lefevre wrote:
> On 2008-02-05 10:13:03 -0500, Daniel J. Luke wrote:
>> svk requires newer versions of CORE modules than those that ship with
>> perl5.8
> This is strange because I don't see dependencies on particular
> versions in svk.

Well, if the svk authors used 'use' with version numbers, we wouldn't  
have the problem of loading the wrong module in the first place.

>> The perl community doesn't consider newer released versions of CORE
>> modules as 'development versions'.
>> We really need to do one of a couple of things:
>> - Change the perl port to install a minimum perl along with  
>> individual
>> ports for each of the CORE modules
>> - Change the @INC ordering (thus making our perl act differently from
>> the upstream perl and potentially break any ports that rely on the
>> current behavior of @INC ordering)
> As the user can already change @INC ordering via the PERL5LIB
> environment variable, this won't break anything (or those ports are
> already broken).

The user is also able to set DYLD_LIBRARY_PATH to something that will  
make everything not work, and we don't consider everything broken  
because of that.

>> - Force users to set $PERL5LIB and/or patch everything to use a  
>> custom
>> Since there are serious drawbacks to each approach, and no one  
>> seems to
>> have had time to work out a complete solution, we're stuck with the
>> status-quo
>> I'm sure everyone would be happy if you have an implementation of  
>> one of
>> those solutions (or something else that's better) available for all  
>> of us
>> to use.
> The 3rd approach doesn't need anything on the MacPorts side.

It does if we want things to 'just work' for the end user.

Daniel J. Luke
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080206/13582bfe/PGP.bin

More information about the macports-users mailing list