1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] perl 5.12.3 on its way
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20perl%205.12.3%20on%20its%20way&In-Reply-To=%3C1297901446.20660.143.camel%40akroma.ephaone.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002613.html">
<LINK REL="Next" HREF="002623.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] perl 5.12.3 on its way</H1>
<B>Michael Scherer</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20perl%205.12.3%20on%20its%20way&In-Reply-To=%3C1297901446.20660.143.camel%40akroma.ephaone.org%3E"
TITLE="[Mageia-dev] perl 5.12.3 on its way">misc at zarb.org
</A><BR>
<I>Thu Feb 17 01:10:46 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002613.html">[Mageia-dev] perl 5.12.3 on its way
</A></li>
<LI>Next message: <A HREF="002623.html">[Mageia-dev] perl 5.12.3 on its way
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2615">[ date ]</a>
<a href="thread.html#2615">[ thread ]</a>
<a href="subject.html#2615">[ subject ]</a>
<a href="author.html#2615">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le mercredi 16 février 2011 à 23:54 +0100, Thierry Vignaud a écrit :
><i> On 16 February 2011 22:59, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>> wrote:
</I>><i> >> Do you have ideas for this pb to not happen anymore ?
</I>><i> >
</I>><i> > For this very specific case :
</I>><i> > "do not rely on human to set @INC when we can do it automatically with a
</I>><i> > script"
</I>><i>
</I>><i> You mean at runtime?
</I>><i> B/c I failed to see how we could automagically compile a list of
</I>><i> released/packaged/used
</I>><i> perl versions at build time
</I>
We can just bruteforce the list. Ie decide that for every possible
version from 5.8.0 to 5.12.X, we add them to @INC.
5.8.0, 5.8.1, 5.8.2, etc
then 5.10.0, 5.10.1, etc, to 5.10.5
and then 5.12.0 to 5.12.X
And keep the binary only for the current version.
For now, we have this :
-Dinc_version_list="5.12.5.12.2/%{full_arch} 2 5.12.1
5.12.1/%{full_arch} 5.12.0 5.12.0/%{full_arch} 5.10.1 5.10.0 5.8.8 5.8.7
5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0
That seems something that we could generate with some loops, if we do
not care of adding non existent perl version in the mix.
The only issue I can see is for performance, but since we are still
doing a lookup for perl 5.6.0 who was released 11 years ago, I do not
think a few more bogus directory will matter so much. ( and I think all
our rpm were migrated to 5.10 at least ).
--
Michael Scherer
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002613.html">[Mageia-dev] perl 5.12.3 on its way
</A></li>
<LI>Next message: <A HREF="002623.html">[Mageia-dev] perl 5.12.3 on its way
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2615">[ date ]</a>
<a href="thread.html#2615">[ thread ]</a>
<a href="subject.html#2615">[ subject ]</a>
<a href="author.html#2615">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|