OS: Ubuntu 14.04 LTS (x86_64
)
***error 1 OpenSSL 1.0.1e 与 perl5.18 不兼容
POD document had syntax errors at /usr/bin/pod2man line 71.
make[1]: *** [install_docs] Error 255
修改
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.
perlbrew use perl-5.14.
2删除 pod2man文件
sudo rm /usr/bin/pod2man
***error 2 __mbstate_t 重复定义
/usr/include/wchar.h:: error: conflicting types for ‘__mbstate_t’
../include/sys/bsd__types.h:: note: previous declaration of ‘__mbstate_t’ was here
make[]: *** [if_host.o] Error
修改
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
[PARSEC] Error: 'env version=tbb /usr/bin/make' failed.
If you see the above error message, type the following to install some packages:
sudo apt-get install -y libtbb2 tbb-examples