pod2man失败,预期文本不是数字

时间:2017-08-08 16:06:51

标签: c openssl man

我正在构建一个旧版本的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文件中的内容文件,以便您可以看到行号: enter image description here

2 个答案:

答案 0 :(得分:0)

“= item”后面只能跟一个选项字符串,如下例所示:

=item B<--option>

如果你想将值传递给选项,你可以这样做:

=item B<--option>=I<value> 

请注意,选项字符串必须包含在B&lt;&gt;中。并且值字符串必须包含在I&lt;&gt;。

答案 1 :(得分:0)

似乎pod2man一般不喜欢数字,但不喜欢一个特定的数字:零。因此,尝试将=item 0.的所有案例更改为=item 1.,并通过添加1来进一步提升潜力=item <some number>

我可以在Net :: IRC的POD中解决同样的问题。