At 16:53 Uhr +1000 15.04.2002, Ken Williams wrote:
>Hi,
>
>In the package request tracker there's an item for perl 5.6.1, which 
>would be very valuable for a lot of people.  So would perl 5.7.2, 
>and the upcoming perl 5.8.0.  The only problem is what to do with 
>the Apple-installed version at /usr/bin/perl .  There are a few 
>choices, and this really opens debate about what should happen for 
>*any* library/program that Apple installs but that we might want to 
>update via fink - for example, Apache.
>
>In this case, I can see several options:
>
>  a) create a package "perl" which replaces the Apple-installed stuff
>
>This is clearly against the fink packaging guidelines.

Exactly, and hence will never happen.


>  b) use a virtual package "sysperl" to check the version of perl
>     currently installed.  The user can then upgrade by hand.

You mean "system-perl". Uhm, yeah. It would suffer from the same deep 
problems as the "macosx" and "darwin" pseudo packages. I.e. they are 
supported by Fink, and also by dpkg-1.9.20-3, but not yet by apt 
(since I didn't havek that yet).


>This would work, except that it's not very finky, and it may cause 
>problems when Apple releases updates.

Oh, so you mean to have a "static" sysperl with an hardcoded Perl 
version? Now what use would that have? Zero, since I can install it 
in version 5.6.0 even if I have Perl 47.23.4 installed...



>  c) + create a package "perl", which installs binaries and
>       library files in /sw, and
>     + create a virtual package "sysperl" that just checks the version
>       of the Apple-installed stuff
>
>I think this would work well.  It's quite possible to have several 
>versions of perl installed at once, with different library trees 
>(site_perl).  The choice of which one to execute would just depend 
>on the PATH. ("Just", he says glibly.)

Randal already mentioned some of the problems with it. Short, we 
wouldn't get around modifying stuff in /usr even with this, and I am 
talking about replacing (or at least moving out of the way) the 
system perl. Don't see that happening.

Just hope that Apple ships 5.6.1 (or newer in 10.2). If somebody 
really needs a newer Perl versions, they will have to get it not via 
Fink I fear. This isn't so nice, agreed, but not much we can do about 
it... let me repeatthis mantra again: contrary to dpkg, we are not in 
control of the full system, hence there are some things we just can't 
do anything about (like controling the kernel version/binaries).


Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to