Add a note about a perl issue on VMS and how to work around it

I bug in perl's File::Spec->canonpath() was uncovered.  There's
nothing we can do about it (except re-implementing canonpath()),
except working around the problem (a directory rename) and reporting
the issue to the perl module developers.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-08-06 11:30:48 +02:00
parent ca1cb0d434
commit e8fd2a4cb4
2 changed files with 20 additions and 2 deletions

View file

@ -15,8 +15,8 @@
header files header files
* a supported operating system * a supported operating system
For additional platform specific requirements and other details, For additional platform specific requirements, solutions to specific
please read one of these: issues and other details, please read one of these:
* NOTES.VMS (OpenVMS) * NOTES.VMS (OpenVMS)
* NOTES.WIN (any supported Windows) * NOTES.WIN (any supported Windows)

View file

@ -27,6 +27,24 @@
running the tests, as they affect the Perl interpreter. running the tests, as they affect the Perl interpreter.
About ODS-5 directory names and Perl
------------------------------------
It seems that the perl function canonpath() in the File::Spec module
doesn't treat file specifications where the last directory name
contains periods very well. Unfortunately, some versions of VMS tar
will keep the periods in the OpenSSL source directory instead of
converting them to underscore, thereby leaving your source in
something like [.openssl-1^.1^.0]. This will lead to issues when
configuring and building OpenSSL.
We have no replacement for Perl's canonpath(), so the best workaround
for now is to rename the OpenSSL source directory, as follows (please
adjust for the actual source directory name you have):
$ rename openssl-1^.1^.0.DIR openssl-1_1_0.DIR
About MMS and DCL About MMS and DCL
----------------- -----------------