On 03/15/2011 08:05 AM, Philipp Kraus wrote:
On 2011-03-15 15:50:44 +0100, walt said:

On 03/15/2011 03:14 AM, Kraus Philipp wrote:
Hello,

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.

The messages during emerge are:

IO.xs: In function 'XS_IO__File_new_tmpfile':
IO.xs:229: warning: value computed is not used
IO.xs: In function 'XS_IO__Poll__poll':
IO.xs:249: error: invalid application of 'sizeof' to incomplete type 'struct 
pollfd'
IO.xs:253: error: invalid use of undefined type 'struct pollfd'
IO.xs:253: error: dereferencing pointer to incomplete type
IO.xs:255: error: invalid use of undefined type 'struct pollfd'
IO.xs:255: error: dereferencing pointer to incomplete type
IO.xs:257: error: invalid use of undefined type 'struct pollfd'
IO.xs:257: error: dereferencing pointer to incomplete type
IO.xs:259: warning: implicit declaration of function 'poll'
IO.xs:261: error: invalid use of undefined type 'struct pollfd'
IO.xs:261: error: dereferencing pointer to incomplete type
IO.xs:262: error: invalid use of undefined type 'struct pollfd'
IO.xs:262: error: dereferencing pointer to incomplete type
make[1]: *** [IO.o] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3/dist/IO'
Unsuccessful make(dist/IO): code=512 at make_ext.pl line 449.
make: *** [lib/auto/IO/IO.so] Error 25

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?

You might try running perl-cleaner --modules (sys-apps/perl-cleaner) in
case your existing perl environment is broken.

perl-cleaner shows:
NO PERL INSTALLED! (at least not in your path)

I assumed you're trying to upgrade perl from an older version, but you
are not, I guess.  (I've never known anyone who didn't have perl already ;)

I just finished re-installing perl-5.12.3 on two machines with no trouble,
so there is something broken on your machine, but what?

I'm wondering if the real error occurs somewhere before the errors you
showed us, maybe dozens or even hundreds of lines earlier.

Do you have sys-libs/libperl-5.10.1?  Maybe try reemerging that package
first.




Reply via email to