1 |
Remind users to run perl-cleaner after installing a new perl version. |
2 |
|
3 |
This will be committed before the arch teams stabilize dev-lang/perl-5.12.2-r1. |
4 |
|
5 |
|
6 |
,---- 2010-10-16-perl-5.12-upgrade-procedure.en.txt ---- |
7 |
Title: Perl 5.12 upgrade procedure |
8 |
Author: perl-team <perl@g.o> |
9 |
Content-Type: text/plain |
10 |
Posted: 2010-10-16 |
11 |
Revision: 1 |
12 |
News-Item-Format: 1.0 |
13 |
Display-If-Installed: <dev-lang/perl-5.12 |
14 |
|
15 |
Run `perl-cleaner --all` after upgrading to a new Perl version! |
16 |
|
17 |
"Perl 5.12 is not binary compatible with prior releases of Perl. If |
18 |
you have built extensions (i.e. modules that include C code) using an |
19 |
earlier version of Perl, you will need to rebuild and reinstall those |
20 |
extensions." [1] |
21 |
|
22 |
In fact, in Gentoo you currently have to rebuild all Perl modules and |
23 |
all binaries linking libperl to get into a consistent state again. |
24 |
|
25 |
perl-cleaner generates a list of broken packages and passes it to your |
26 |
package manager to reinstall them. After reinstalling the packages, |
27 |
perl-cleaner outputs a list of files the script could not deal with |
28 |
(like modules installed not via the package manager). |
29 |
|
30 |
See `man perl-cleaner` for its options. |
31 |
|
32 |
[1] http://search.cpan.org/dist/perl-5.12.2/INSTALL#Changes_and_Incompatibilities |
33 |
`---- |