OS: Ubuntu 14.04 LTS (x86_64
)
***error 1 OpenSSL 1.0.1e 与 perl5.18 不兼容
修改
1降低perl 版本,perl-5.14.2和perl-5.16.3可行
可以利用perlbrew工具安装多个perl版本,参考http://www.cnblogs.com/aaron2015/p/5132308.html
apt-get install perlbrew perlbrew install perl-5.14.2 perlbrew use perl-5.14.2
2删除 pod2man文件
sudo rm /usr/bin/pod2man
***error 2 __mbstate_t 重复定义
/usr/include/wchar.h:94: error: conflicting types for ‘__mbstate_t’ ../include/sys/bsd__types.h:105: note: previous declaration of ‘__mbstate_t’ was here make[1]: *** [if_host.o] Error 1
修改
vim /parsec-3.0/pkgs/libs/uptcpip/src/include/sys/bsd__types.h
将 __mbstate_t 定义注释掉(在102-105行)
***error 3 tbb/task_scheduler_init.h: No such file or directory
If you see the above error message, type the following to install some packages:
sudo apt-get install -y libtbb2 tbb-examples
原文:http://www.cnblogs.com/aaron2015/p/5132825.html