Installing openssl-1.0.0-beta4 on SunOS  5.11 snv_105 sun4u sparc, with 
no pod2man locally installed, results in the error below.
The source of the problem is that 
doc/ssl/SSL_CTX_set_psk_client_callback.pod has a comment with Nokia 
copyright notice prior to the "=head1 NAME" line.   I think either the 
copyright notice should be moved, or a pod2man which is prepared to 
process the file should be included in place of util/pod2man.pl


installing man3/SSL_CTX_set_psk_client_callback.3
../../util/pod2man.pl: Invalid man page - 1st pod line is not NAME in 
SSL_CTX_set_psk_client_callback.pod
*** Error code 2
The following command caused the error:
pod2man="`cd util; ./pod2mantest /usr/bin/perl`"; \
here="`pwd`"; \
filecase=; \
if [ "solaris-sparcv8-cc" = "DJGPP" -o "solaris-sparcv8-cc" = "Cygwin" 
-o "solaris-sparcv8-cc" = "mingw" ]; then \
        filecase=-i; \
fi; \
set -e; for i in doc/apps/*.pod; do \
        fn=`basename $i .pod`; \
        sec=`/usr/bin/perl util/extract-section.pl 1 < $i`; \
        echo "installing man$sec/$fn.${sec}"; \
        (cd `/usr/bin/perl util/dirname.pl $i`; \
        sh -c "$pod2man \
                --section=$sec --center=OpenSSL \
                --release=1.0.0-beta4 `basename $i`") \
                >  
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/$fn.${sec};
 
\
        /usr/bin/perl util/extract-names.pl < $i | \
                (grep -v $filecase "^$fn\$"; true) | \
                (grep -v "[     ]"; true) | \
                (cd 
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/;
 
\
                 while read n; do \
                        PLATFORM=solaris-sparcv8-cc $here/util/point.sh 
$fn.${sec} "$n".${sec}; \
                 done); \
done; \
set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \
        fn=`basename $i .pod`; \
        sec=`/usr/bin/perl util/extract-section.pl 3 < $i`; \
        echo "installing man$sec/$fn.${sec}"; \
        (cd `/usr/bin/perl util/dirname.pl $i`; \
        sh -c "$pod2man \
                --section=$sec --center=OpenSSL \
                --release=1.0.0-beta4 `basename $i`") \
                >  
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/$fn.${sec};
 
\
        /usr/bin/perl util/extract-names.pl < $i | \
                (grep -v $filecase "^$fn\$"; true) | \
                (grep -v "[     ]"; true) | \
                (cd 
/import/openssl-1.0.0/openssl-1.0.0-beta4/usIII-sun-solaris2.11-package/usr/local/ssl/man/man$sec/;
 
\
                 while read n; do \
                        PLATFORM=solaris-sparcv8-cc $here/util/point.sh 
$fn.${sec} "$n".${sec}; \
                 done); \
done

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to