Skip to content

Commit 2e699c6

Browse files
coder-sageressteven-bellock
authored andcommitted
docs: Add Perl prerequisite for OpenSSL builds
Signed-off-by: coder-sageres <majialiang3@huawei.com>
1 parent 76343a3 commit 2e699c6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ For other architectures, refer to [build](https://github.com/DMTF/libspdm/blob/m
169169

170170
2) [CMake](https://cmake.org/) (Version [3.17.2](https://github.com/Kitware/CMake/releases/tag/v3.17.2) is known to work. Newer versions may fail).
171171

172+
3) [Perl](https://www.perl.org/) (Version 5.10.0 or higher)
173+
- Required for building OpenSSL from source (OpenSSL's `Configure` script is written in Perl).
174+
- [Strawberry Perl](https://strawberryperl.com/) or [ActivePerl](https://www.activestate.com/products/perl/) is recommended for Windows.
175+
- For MinGW/MSYS2 builds, Perl is included in the MSYS2 environment.
176+
- Use `perl -v` to check the installed Perl version.
177+
172178
### Build Tools for Linux
173179

174180
1) Compiler for IA32/X64 (Choose one)
@@ -184,6 +190,15 @@ For other architectures, refer to [build](https://github.com/DMTF/libspdm/blob/m
184190

185191
2) [CMake](https://cmake.org/).
186192

193+
3) [Perl](https://www.perl.org/) (Version 5.10.0 or higher)
194+
- Required for building OpenSSL from source (OpenSSL's `Configure` script is written in Perl).
195+
- Perl is typically pre-installed on most Linux distributions.
196+
- If not available, install via:
197+
- Debian/Ubuntu: `sudo apt-get install perl`
198+
- RHEL/CentOS: `sudo yum install perl`
199+
- Fedora: `sudo dnf install perl`
200+
- Use `perl -v` to check the installed Perl version.
201+
187202
### Cryptography Library
188203

189204
1) [Mbed TLS](https://tls.mbed.org) as cryptography library. Version 3.6.5.

0 commit comments

Comments
 (0)