2021-07-07 17:50:32 +00:00
|
|
|
# Troubleshooting
|
|
|
|
|
|
|
|
In case of an error, you might find an answer of how to deal it here.
|
|
|
|
|
2024-05-30 21:06:21 +00:00
|
|
|
## Building Ladybird
|
2021-07-07 17:50:32 +00:00
|
|
|
|
2021-07-09 22:53:28 +00:00
|
|
|
### CMake fails to configure the build because it's outdated
|
|
|
|
|
2024-05-31 23:27:20 +00:00
|
|
|
Ensure your CMake version is >= 3.25 with `cmake --version`. If your system doesn't provide a suitable
|
2021-07-09 22:53:28 +00:00
|
|
|
version of CMake, you can download a binary release from the [CMake website](https://cmake.org/download).
|
|
|
|
|
|
|
|
### GCC is missing or is outdated
|
|
|
|
|
2024-02-05 10:45:43 +00:00
|
|
|
Ensure your gcc version is >= 13 with `gcc --version`. Otherwise, install it. If your gcc binary is not
|
2021-07-09 22:53:28 +00:00
|
|
|
called `gcc` you have to specify the names of your C and C++ compiler when you run cmake, e.g.
|
2024-02-05 10:45:43 +00:00
|
|
|
`cmake ../.. -GNinja -DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13`.
|
2021-07-09 22:53:28 +00:00
|
|
|
|
2023-08-07 16:48:29 +00:00
|
|
|
### Legacy renegotiation is disabled
|
|
|
|
|
|
|
|
Ensure your `/etc/ssl/openssl.cnf` file has the following options:
|
|
|
|
|
|
|
|
```console
|
|
|
|
[openssl_init]
|
|
|
|
ssl_conf = ssl_sect
|
|
|
|
|
|
|
|
[ssl_sect]
|
|
|
|
system_default = system_default_sect
|
|
|
|
|
|
|
|
[system_default_sect]
|
|
|
|
MinProtocol = TLSv1.2
|
|
|
|
CipherString = DEFAULT@SECLEVEL=1
|
|
|
|
Options = UnsafeLegacyRenegotiation
|
|
|
|
```
|