0

我正在尝试在我的 Fedora 机器上安装tminstall.packages("tm")包,但是在尝试安装时出现编译错误。这是我得到的错误快照,

In file included from /usr/include/stdlib.h:25:0,    
                 from /usr/include/R/R.h:28,    
                 from grouped.c:1:    
/usr/include/features.h:313:5: error: expected identifier or ‘(’ before ‘&&’ token    
In file included from /usr/include/R/R.h:28:0,    
                 from grouped.c:1:    
/usr/include/stdlib.h:140:1: error: unknown type name ‘size_t’    
In file included from /usr/include/R/R.h:28:0,    
                 from grouped.c:1:    
/usr/include/stdlib.h:337:4: error: unknown type name ‘size_t’    
/usr/include/stdlib.h:367:4: error: unknown type name ‘size_t’    
/usr/include/stdlib.h:471:22: error: unknown type name ‘size_t’  
In file included from /usr/include/R/R.h:28:0,  
                 from grouped.c:1:  
/usr/include/stdlib.h:473:22: error: unknown type name ‘size_t’  
/usr/include/stdlib.h:473:38: error: unknown type name ‘size_t’  
/usr/include/stdlib.h:485:36: error: unknown type name ‘size_t’  
In file included from /usr/include/stdlib.h:497:0,  
                 from /usr/include/R/R.h:28,  
                 from grouped.c:1:  
/usr/include/alloca.h:33:22: error: unknown type name ‘size_t’  
In file included from /usr/include/R/R.h:28:0,  
                 from grouped.c:1:  
4

0 回答 0