2012-03-20 85 views
4

我用perlbrew安装perl-5.14.2时遇到了错误。无法用perlbrew安装perl

在Ubuntu11.10(64位),我尝试

$ perlbrew install perl-5.14.2 -Dperlibs='-lm -lc' -Dusethreads -Dplibpth=/usr/lib/x86_64-linux-gnu 

,并得到了错误

IO.xs: In function ‘XS_IO__Poll__poll’: 
IO.xs:249:17: error: invalid application of ‘sizeof’ to incomplete type ‘struct pollfd’ 

我怎样才能解决这个问题?

+0

我有同样的错误,但对我来说,问题其实是一个坏包括路径。 [这个答案](http://serverfault.com/a/293231/370662)解决了我的问题。 – pbible 2016-08-18 01:29:04

回答