Re: [Fink-devel] bootstrap change
Am Montag, 09.06.03 um 14:20 Uhr schrieb David R. Morrison: Max, I can almost fix the bootstrap with the following sort of modification: We ask the user "Do you still have the apple-supplied perl or has it been replaced with perl 5.8.0?" Why even ask? Why not check for which perl version is being used? That's trivial to do. Then we remove either storable-pm560 or system-perl580 from the set of files in the 10.2 directory, and the correct one will automatically be installed. Why would you have to remove one of them? Just add the right one to the list of packages to be installed. See Bootstrap.pm, line 54: my @addlist = ("apt", "apt-shlibs", "storable-pm"); Instead of storable-pm, you would (conditionally) put storable-pm560 or storable-pm580 in that list. Voila, that should be all. Maybe I miss something fundamental here, as I haven't personally dabbled with perl 5.8 at all yet. Again, please point out what if I miss something here, and I'll try to think of a fix for it :-) Max --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] bootstrap change
Max, I can almost fix the bootstrap with the following sort of modification: We ask the user "Do you still have the apple-supplied perl or has it been replaced with perl 5.8.0?" Then we remove either storable-pm560 or system-perl580 from the set of files in the 10.2 directory, and the correct one will automatically be installed. Unfortunately, this will still require one response from the user in the middle of the bootstrap: a question of "the following additional package will be installed, OK?". I can't specify in Bootstrap.pm which of the packages is being installed, because I don't know until the user answers the question. Hmmm... maybe I can replicate the behavior of the "--yes" flag in Fink, so that the user doesn't have to answer... In any case, the change here will be a 10.2-only change, and we'll have to make different cases for 10.2 and 10.3 bootstraps, most likely. -- Dave --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] bootstrap change
Am Freitag, 06.06.03 um 18:22 Uhr schrieb David R. Morrison: Hi Max. Actually, I think it's important to release a version of the bootstrap with this choice to be made, to be used by folks who have replaced their Apple-supplied /usr/bin/perl by perl 5.8.0. [...] I didn't argue that; however, i do argue that the need always justify the means. We should deal with it of course, but with a good solution, not with a bad solution (and asking in the middle of the bootstrap an additional question like this *is* a bad solution in my eyes). There are various ways we could modify the bootstrap procedure to cope with this and eleminate the "choice in the middle", but I suggest we wait until the first seed of 10.3 (on June 23) before deciding how to modify our bootstrap procedure. I would agree if we then also waited with that 5.8.0 changes. But AFAIU, you already made them. This is bad. Why should we wait for 10.3 to fix the current bad situation in CVS? I don't see the logic in that. No, IMHO it should be done right, and *now*. We definitely shouldn't make a new package manager release with the current behavior, which I plainly consider as broken. Max --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] bootstrap change
Dear fink developers, There has been a small change to the bootstrap, related to my recent project to make Fink compatibile with newer versions of perl. There are two additional packages present in the bootstrap now: storable-pm560 and system-perl580. Only one of these will actually be built when bootstrapping fink, and the user will have to choose which one (in the middle of the bootstrap, unfortunately). However, I have tested this, and fink can now be bootstrapped when /usr/bin/perl is either version 5.6.0 or version 5.8.0. (This is all partly based on a guess that the developer preview for 10.3 will have perl 5.8.0: i'm tyring to get ready for that in advance.) If anyone else tests this, please let me know how it goes. -- Dave --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] bootstrap change
Hi Max. Actually, I think it's important to release a version of the bootstrap with this choice to be made, to be used by folks who have replaced their Apple-supplied /usr/bin/perl by perl 5.8.0. If my guess is correct that 10.3 will include perl 5.8.0 instead of perl 5.6.0, this will also be useful during a transition period this summer in which a number of fink users who are also ADC members may get developer seeds of 10.3 and may try to use fink with this. The issue here is that we include storable-pm in the bootstrap, but storable-pm is not appropriate if you have perl 5.8.0 (because it is in fact included in perl 5.8.0). So we now have a storable-pm package which is a bundle that allows for a choice of storable-pm560 or system-perl580. The way fink is set up, you normally don't get to make that choice until the packages are about to be installed. There are various ways we could modify the bootstrap procedure to cope with this and eleminate the "choice in the middle", but I suggest we wait until the first seed of 10.3 (on June 23) before deciding how to modify our bootstrap procedure. -- Dave --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] bootstrap change
Am Freitag, 06.06.03 um 01:57 Uhr schrieb David R. Morrison: Dear fink developers, There has been a small change to the bootstrap, related to my recent project to make Fink compatibile with newer versions of perl. There are two additional packages present in the bootstrap now: storable-pm560 and system-perl580. Only one of these will actually be built when bootstrapping fink, and the user will have to choose which one (in the middle of the bootstrap, unfortunately). However, I have tested this, and fink can now be bootstrapped when /usr/bin/perl is either version 5.6.0 or version 5.8.0. (This is all partly based on a guess that the developer preview for 10.3 will have perl 5.8.0: i'm tyring to get ready for that in advance.) If anyone else tests this, please let me know how it goes. I haven't test this yet, but clearly it can only be a temporary solution and not something we would want to release. Why does it only ask the user in the middle of the bootstrap? This should be at the very least asked right at the start, though I wonder, why does the user have to be asked at all? Max --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel