1 |
On 03/15/2011 08:05 AM, Philipp Kraus wrote: |
2 |
> On 2011-03-15 15:50:44 +0100, walt said: |
3 |
> |
4 |
>> On 03/15/2011 03:14 AM, Kraus Philipp wrote: |
5 |
>>> Hello, |
6 |
>>> |
7 |
>>> I've try to emerge my world target new, but the dev-lang/perl-5.12.3 failes. I've found on the gentoo pages the hint to sync the portage tree again, but that does not solve the problem. |
8 |
>>> |
9 |
>>> The messages during emerge are: |
10 |
>>> |
11 |
>>> IO.xs: In function 'XS_IO__File_new_tmpfile': |
12 |
>>> IO.xs:229: warning: value computed is not used |
13 |
>>> IO.xs: In function 'XS_IO__Poll__poll': |
14 |
>>> IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' |
15 |
>>> IO.xs:253: error: invalid use of undefined type 'struct pollfd' |
16 |
>>> IO.xs:253: error: dereferencing pointer to incomplete type |
17 |
>>> IO.xs:255: error: invalid use of undefined type 'struct pollfd' |
18 |
>>> IO.xs:255: error: dereferencing pointer to incomplete type |
19 |
>>> IO.xs:257: error: invalid use of undefined type 'struct pollfd' |
20 |
>>> IO.xs:257: error: dereferencing pointer to incomplete type |
21 |
>>> IO.xs:259: warning: implicit declaration of function 'poll' |
22 |
>>> IO.xs:261: error: invalid use of undefined type 'struct pollfd' |
23 |
>>> IO.xs:261: error: dereferencing pointer to incomplete type |
24 |
>>> IO.xs:262: error: invalid use of undefined type 'struct pollfd' |
25 |
>>> IO.xs:262: error: dereferencing pointer to incomplete type |
26 |
>>> make[1]: *** [IO.o] Error 1 |
27 |
>>> make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO' |
28 |
>>> Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449. |
29 |
>>> make: *** [lib/auto/IO/IO.so] Error 25 |
30 |
>>> |
31 |
>>> I've try to mask the 5.12.3 package to a previous version, but the same problemes are shown. Now I've have a "hanging" portage. Perl is needed for my eg. LDAP... Does anyone have any idea to solve the error? |
32 |
>> |
33 |
>> You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in |
34 |
>> case your existing perl environment is broken. |
35 |
> |
36 |
> perl-cleaner shows: |
37 |
> NO PERL INSTALLED! (at least not in your path) |
38 |
|
39 |
I assumed you're trying to upgrade perl from an older version, but you |
40 |
are not, I guess. (I've never known anyone who didn't have perl already ;) |
41 |
|
42 |
I just finished re-installing perl-5.12.3 on two machines with no trouble, |
43 |
so there is something broken on your machine, but what? |
44 |
|
45 |
I'm wondering if the real error occurs somewhere before the errors you |
46 |
showed us, maybe dozens or even hundreds of lines earlier. |
47 |
|
48 |
Do you have sys-libs/libperl-5.10.1? Maybe try reemerging that package |
49 |
first. |