Hi, there. Here is a patch for using pcre-config to set ngx_feature_path and ngx_feature_libs. I need this since I would like to use pcre 8.32 built from source and installed in /opt/lib64/libpcre.so.1. Could you review this patch? Thanks
on 2013-01-09 16:49
on 2013-01-09 17:24
Hello! On Thu, Jan 10, 2013 at 12:48:38AM +0900, Hiroaki Nakamura wrote: > -- > )Hiroaki Nakamura) hnakamur@gmail.com > + ngx_feature_libs="`pcre-config --libs`" > + > + . auto/feature > + fi > + > + if [ $ngx_found = no ]; then > + > # FreeBSD port > > ngx_feature="PCRE library in /usr/local/" I don't think that "`pcre-config --prefix`/include" is a good aproach. Have you considered just using ./configure --with-cc-opt="-I/path/to/include" --with-ld-opt="-L/path/to/lib" ... ? -- Maxim Dounin http://nginx.com/support.html
on 2013-01-09 17:47
Hi! In my case ./configure --with-pcre-jit --with-cc-opt="-I/opt/include" --with-ld-opt="-L/opt/lib64 -lpcre" does it! Now it is properly configured without my patch. I get the following output. Configuration summary + using system PCRE library Thank you very much for your help. 2013/1/10 Maxim Dounin <mdounin@mdounin.ru>: >> >> if [ $ngx_found = no ]; then >> + if [ $ngx_found = no ]; then > ./configure --with-cc-opt="-I/path/to/include" --with-ld-opt="-L/path/to/lib" ... > http://mailman.nginx.org/mailman/listinfo/nginx -- )Hiroaki Nakamura) hnakamur@gmail.com
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.