本文介绍了pod2man失败,预期文本不是数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建旧版的OpenSSL进行测试,但是构建失败.我已经修复了几件事,但是现在有了有了一个新的,日志报告它在安装时失败手册页.

I am building a legacy version of openSSL to do some testing,but the build is failing. I have already fixed several things, but now havegot a new one, the log is reporting that it fails when installingthe man pages.

        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.

窗格中的文件内容在图像中,因此您可以看到行号:

The pod files contents in the image so you can see the line numbers:

推荐答案

"= item"后面只能跟随一个选项字符串,例如以下示例:

"=item" can only be followed by an option string like in this example:

=item B<--option>

,如果要将值传递给选项,则可以执行以下操作:

and if you want to pass in values to options, you do something like this:

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

请注意,选项字符串必须包含在B<>中,值字符串必须包含在I<>中.

Note that the option string has to be enclosed in B<> and the value string has to be enclosed in I<>.

这篇关于pod2man失败,预期文本不是数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 03:38