I encountered an error installing perl-5.14.2 with perlbrew.
On Ubuntu11.10 (64-bit), I'm trying
$ perlbrew install perl-5.14.2 -Dperlibs='-lm -lc' -Dusethreads -Dplibpth=/usr/lib/x86_64-linux-gnu
and got an 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?
source share