pod2man失败,预期的文字不是数字
我正在构建一个旧版本的openSSL来进行一些测试,但是构建失败了。 我已经修复了一些东西,但是现在有一个新的东西,日志报告它在安装手册页时失败了。
created directory `/Users/AuserName/Documents/proj/folderName/folderNameA/OpenSSL/tt/OpenSSL-for-iPhone/bin/iPhoneSimulator10.3-i386.sdk/man' created directory `/Users/AuserName/Documents/proj/folderName/folderNameA/OpenSSL/tt/OpenSSL-for-iPhone/bin/iPhoneSimulator10.3-i386.sdk/man/man1' created directory `/Users/AuserName/Documents/proj/folderName/folderNameA/OpenSSL/tt/OpenSSL-for-iPhone/bin/iPhoneSimulator10.3-i386.sdk/man/man3' created directory `/Users/AuserName/Documents/proj/folderName/folderNameA/OpenSSL/tt/OpenSSL-for-iPhone/bin/iPhoneSimulator10.3-i386.sdk/man/man5' created directory `/Users/AuserName/Documents/proj/folderName/folderNameA/OpenSSL/tt/OpenSSL-for-iPhone/bin/iPhoneSimulator10.3-i386.sdk/man/man7' installing man1/CA.pl.1 installing man1/asn1parse.1 installing man1/ca.1 installing man1/ciphers.1 installing man1/cms.1 cms.pod around line 457: Expected text after =item, not a number cms.pod around line 461: Expected text after =item, not a number cms.pod around line 465: Expected text after =item, not a number cms.pod around line 470: Expected text after =item, not a number cms.pod around line 474: Expected text after =item, not a number POD document had syntax errors at /usr/bin/pod2man5.18 line 72.
pod文件中的内容文件,以便您可以看到行号:
“= item”后面只能跟一个选项字符串,如下例所示:
=item B<--option>
如果你想将值传递给选项,你可以这样做:
=item B<--option>=I
请注意,选项字符串必须包含在B <>中,并且值字符串必须包含在I <>中。
似乎pod2man
一般不喜欢数字,但不喜欢一个特定的数字:零。 因此,尝试将=item 0.
所有情况更改为=item 1.
并通过添加1来进一步突破潜在=item
。
对我来说很好,可以在Net :: IRC的POD中解决同样的问题。