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’
我怎樣才能解決這個問題?
我有同樣的錯誤,但對我來說,問題其實是一個壞包括路徑。 [這個答案](http://serverfault.com/a/293231/370662)解決了我的問題。 – pbible 2016-08-18 01:29:04