嵌入式linux开发,移植openssl-0.9.8d,安装时报错如下
POD document had syntax errors at /usr/bin/pod2man line 71.
Makefile:544: recipe for target 'install_docs' failed
make: *** [install_docs] Error 255
一、问题描述
嵌入式linux开发,移植openssl-0.9.8d,安装时报错如下
smime.pod around line 272: Expected text after =item, not a number
smime.pod around line 276: Expected text after =item, not a number
smime.pod around line 280: Expected text after =item, not a number
smime.pod around line 285: Expected text after =item, not a number
smime.pod around line 289: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/pod2man line 71.
Makefile:544: recipe for target 'install_docs' failed
make: *** [install_docs] Error 255
二、问题分析
使用的Ubuntu18,perl版本较高,OpenSSL 与 perl 不兼容。
三、解决方案
将文件/usr/bin/pod2man的第71行用#注释掉,或删除文件 /usr/bin/pod2man。
$parser->parse_from_file (@files);