Perl 5.8.8 already present on Leopard; can I make a "dummy" Portfile?

nicerobot com.nabble at nicerobot.org
Sun Dec 28 22:45:40 PST 2008


I fully understand the design decision. My point is that the decision is
flawed because it's too inflexible. Macports should be more versatile with
respect to perl because perl modules aren't generally treated the same as
binary libraries (i.e. the FAQ link you referenced isn't completely
applicable to perl modules). It's completely acceptable and understandable
for macports to provide it's own version(s) of perl and even to require a
set of modules. There's just absolutely no reason whatsoever that macport's
version of perl can't, for those that decide to do so, share/combine the
@INC with the OS's perl's @INC, especially when the two builds of perl are
identical versions.

To deny this request essentially forces users that have a significant
investment in the OS's perl to either spend the time getting macports into
the same state and switching to macports' perl or having to decide which
perl to use for certain situations and not be able to just rely on the
$PATH. Either way, it's not a user-friendly approach. Maybe i'm wrong but i
thought macports was about providing solution, not creating hurdles.



Daniel J. Luke wrote:
> 
> On Dec 28, 2008, at 4:28 PM, nicerobot wrote:
>> There's one fairly significant oversight
> 
> nope, it's a considered design decision.
> 
>> with respect to doing this with
>> perl. Modules. Having multiple instances of the same version of  
>> perl5 that
>> are built with different @INC is a complete mess. At the very least,  
>> port
>> should configure itself to (or ask if it should) use the same  
>> configuration
>> as the existing perl installation.
> 
> 
> This would probably be a bad idea.
> 
> See also:
> 
> http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesratherthanitsown
> --
> 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.          |
> +========================================================+
> 
> 
> 
> 
>  
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Perl-5.8.8-already-present-on-Leopard--can-I-make-a-%22dummy%22-Portfile--tp14919531p21199592.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.



More information about the macports-users mailing list