nginx-0.7.46

Igor Sysoev is at rambler-co.ru
Wed Apr 1 12:10:56 MSD 2009


On Wed, Apr 01, 2009 at 01:07:50AM -0700, Michael Shadle wrote:

> 2009/4/1 Igor Sysoev <is at rambler-co.ru>:
> > On Wed, Apr 01, 2009 at 12:29:56AM -0700, Michael Shadle wrote:
> >
> >> When I compile on Ubuntu I see this:
> >>
> >> Configuration summary
> >>   + using system PCRE library
> >>   + using OpenSSL library: /usr/lib
> >
> > It should show
> >    + using system OpenSSL library
> >
> > at least in my Debian test host.
> > How do you run configure ?
> 
> ./configure --conf-path=/etc/nginx/nginx.conf --prefix=/usr
> --user=www-data --group=www-data \
> --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid \
> --lock-path=/var/lock/nginx.lock  --http-log-path=/var/log/nginx/access.log \
> --http-client-body-temp-path=/var/lib/nginx/body
> --http-proxy-temp-path=/var/lib/nginx/proxy \
> --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-http_stub_status_module \
> --with-openssl=/usr/lib --with-md5=/usr/lib --with-http_gzip_static_module \
> --without-mail_pop3_module --without-mail_smtp_module
> --without-mail_imap_module \
> --with-http_flv_module --with-http_ssl_module --with-http_dav_module
> --with-http_realip_module --with-http_xslt_module \
> --with-debug
> 
> i'm not sure the --with-openssl paths are needed anymore but it
> continues to work great. i think even on (stupid) redhat with it's
> mixed i386 and x86_64 libs

You do not need

 --with-openssl=/usr/lib
 --with-md5=/usr/lib

They are required only if you want to build OpenSSL or libmd5 from sources,
but not if you want to use already built libraries. In the later case
nginx will find them by itself, or if they are in non-standard place,
you should help it by:

--with-cc-opt="-I /path/to/headers"
--with-ld-opt="-L /path/to/libraries"


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list