I encountered the error when install perl-5.14.2 with perlbrew.
On Ubuntu11.10(64-bit), I try
$ perlbrew install perl-5.14.2 -Dperlibs='-lm -lc' -Dusethreads -Dplibpth=/usr/lib/x86_64-linux-gnu
and got the error
IO.xs: In function ‘XS_IO__Poll__poll’:
IO.xs:249:17: error: invalid application of ‘sizeof’ to incomplete type ‘struct pollfd’
How can i solve this error?