Hello,
I'm trying to compile nginx from source code on Windows with xslt support.
I followed all of the directions from the official page
http://nginx.org/en/docs/howto_build_on_win32.html to a tee and it works
when I do not specify --with-http_xslt_module

When specifying --with-http_xslt_module as part of the config, a
notification appears indicating that I don't have libxlst/.libxml2
libraries

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

auto/configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.

I am using MSYS2 as the official page recommends - the packages for
libxml2/libxslt were already installed. I reinstalled them (using the
standard package manager pacman) and placed them all over my file system in
different places trying to get the configure script to find the libs. When
this didn't work I resorted to specifying locations using --with-ld-opt=
like so

--with-http_xslt_module   --with-ld-opt=-Llibxml2-2.9.10-9
 --with-ld-opt=-Llibxslt-1.1.34-4

I also tried many variations of this, -I instead of -L, different paths,
etc. to no avail

How can I get the configure script to see these packages so I can compile
from source?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to