> Of course any installed pcre instance can be used.  Moreover, 
> nginx will try hard to detect various standard installations, see 
> lib/pcre/conf.
> 
> The --with-pcre option was introduced to simplify building the 
> library with nginx itself, which is sometimes practical, 
> especially if there is no standard way to install the library 
> (like, e.g., on win32).

reading @

        lib/pcre/conf

I do note the 'trying hard', although I see no attempts to find in
*/lib64, or use pkg-config or pcre-config.

On my system, src is in 

        /usr/local/src/pcre

pcre's configured as shared-only, with pcre-jit enabled,

        ./configure --enable-shared --disable-static --enable-jit
        --enable-pcregrep-jit ...

and build's installed in

        /usr/local/bin/pcre-config --version
                8.34-RC
        pcre-config --libs --cflags
                -L/usr/local/lib64 -lpcre
                -I/usr/local/include
        pkg-config libpcre --libs --cflags
                -I/usr/local/include  -L/usr/local/lib64 -lpcre

That said, if I want nginx to enable pcre use, use pcre-jit, and use
specifically that locally-installed pcre(jit) instance, what's the right
nginx config?

This,

        --with-pcre=/usr/local/src/pcre --with-pcre-jit

does not appear to be the correct choice.

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to