1 |
On Fri, 2005-03-11 at 17:44 -0500, Michael Cummings wrote: |
2 |
> One of the first things in this particular module is to |
3 |
> check that the kernel and platform hardcoded in it at perl build time |
4 |
> match what was used during the original install of your current perl |
5 |
> according to Config.pm. No problem - unless you've changed kernel |
6 |
> versions. Because during the make process the file is sourced by perl, |
7 |
> and during that sourcing (ok, not the right word, but I'm talking to |
8 |
> you, the masses) it attempted to require, or pull in, the Errno.pm, and |
9 |
> failing to find a new one in the unpacked source, it pulled the one on |
10 |
> the main system. And therein began the mess. Two values that would |
11 |
> normally never appear to perl to be out of sync were suddenly horribly |
12 |
> wrong on any box that had had a kernel upgrade since the last perl |
13 |
> install. |
14 |
> |
15 |
|
16 |
Just hax0r the stupid beast not to use the kernel version, but only |
17 |
<arch>-<os> - cant see what the kernel version has to do with it, except |
18 |
maybe if it calculate it from /usr/include/linux/*, but running kernel |
19 |
is just silly. |
20 |
|
21 |
|
22 |
-- |
23 |
Martin Schlemmer |
24 |
Gentoo Linux Developer, Desktop/System Team Developer |
25 |
Cape Town, South Africa |