1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# Dependencies
## Build-time Dependencies
This project has the following dependencies:
- [NSPR](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR)
- [NSS](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS)
- A c and c++ compiler such as [gcc](ttps://gcc.gnu.org/)
- [zlib](https://zlib.net/)
- [OpenJDK 1.8.0 or newer](http://openjdk.java.net/)
- [CMake](https://cmake.org/)
- [Apache Commons Lang](https://commons.apache.org/proper/commons-lang/)
- [SLF4J](https://www.slf4j.org/)
Additionally, a zipping and unzipping program is required to create
reproducible builds.
To install these dependencies on Fedora, execute the following:
sudo dnf install apache-commons-lang gcc-c++ java-devel jpackage-utils \
slf4j zlib-devel nss-tools nss-devel \
cmake junit5
To install these dependencies on Debian, execute the following:
sudo apt-get install build-essential libcommons-lang-java libnss3-dev \
libslf4j-java default-jdk pkg-config zlib1g-dev \
libnss3-tools cmake zip unzip \
junit5
## Test Suite Dependencies:
In addition to the dependencies above, the test suite requires the following
additional packages:
- [SLF4J's JDK14 package](https://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html)
- [NSS's pk12util](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Reference/NSS_tools_:_pk12util)
- [JUnit 5](https://junit.org/)
To install these dependencies on Fedora, execute the following:
sudo dnf install nss nss-tools slf4j-jdk14 junit5
To install these dependencies on Debian, execute the following:
sudo apt-get install libnss3 libnss3-tools libslf4j-java \
junit5
## Run-time Dependencies
At run time, the following JARs are required to be specified on the
`CLASSPATH` of anyone wishing to use JSS:
- `jss.jar`
- `slf4j-api.jar`
- `apache-commons-lang.jar`
Note that these should already be installed when building JSS. For more
information, please refer to our documentation on using JSS:
[`docs/using_jss.md`](using_jss.md).
## Incompatibilities
Known NSS incompatibilities are documented in [`docs/nss.md`](nss.md).
|