Thanks for the answer, but it didn't help 🙁
checking for libxslt ... not found
checking for libxslt in /usr/local/ ... not found
checking for libxslt in /usr/pkg/ ... not found
checking for libxslt in /opt/local/ ... not found
./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.
make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
Ubuntu 22.04.2 LTS
\l
Bit:64 Mem:3922M Core:2 gcc:11.3.0 cmake:3.22.1
Linux 5.15.0-67-generic x86_64
ERROR: nginx-1.22.1 installation failed.