linux - Installing Nginx -
./configure --user=boxflux --group=boxflux --prefix=/usr/local/nginx-1.3.0 --with-pcre=/usr/lib64 --with-md5=/usr/lib64 --with-sha1=/usr/lib64 --with-zlib=/usr/lib64 --with-libatomic=/usr/lib64 --with-openssl=/usr/lib64 | grep 'not found' checking sys/filio.h ... not found checking /dev/poll ... not found checking kqueue ... not found checking crypt() ... not found checking f_readahead ... not found checking f_nocache ... not found checking directio() ... not found checking dlopen() ... not found checking so_setfib ... not found checking so_acceptfilter ... not found checking setproctitle() ... not found checking posix semaphores ... not found checking struct dirent.d_namlen ... not found i have problem installing nginx.. i've installed gcc, pcre*, zlib*, openssl* using 'yum'
what's problem configuration? way, computer 64bit centos6 , i'm installing nginx 1.3.0 (development version)
--------- additoin -----------------------
i forgot mention worse added --with-*=dir... when run line of code kolbyjack gave me, result is..
./configure --user=boxflux --group=boxflux --prefix=/usr/local/nginx-1.3.0 |grep 'not found' checking sys/filio.h ... not found checking /dev/poll ... not found checking kqueue ... not found checking crypt() ... not found checking f_readahead ... not found checking f_nocache ... not found checking directio() ... not found checking dlopen() ... not found checking so_setfib ... not found checking so_acceptfilter ... not found checking setproctitle() ... not found checking posix semaphores ... not found checking struct dirent.d_namlen ... not found checking pcre jit support ... not found checking system md library ... not found checking system md5 library ... not found checking sha1 in system md library ... not found since newbie on centos6.. have no idea on issue.. please me..
from ./configure --help:
--with-pcre=dir set path pcre library sources --with-md5=dir set path md5 library sources --with-sha1=dir set path sha1 library sources --with-zlib=dir set path zlib library sources --with-libatomic=dir set path libatomic_ops library sources --with-openssl=dir set path openssl library sources if read text, each of options set directory library sources, not installed version of library. if library installed on system, nginx should automatically find during configure. if it's installed in nonstandard location, should use --with-cc-opt , --with-ld-opt set include , library paths nginx search. since you've installed libs via yum, expect need is:
./configure --user=boxflux --group=boxflux --prefix=/usr/local/nginx-1.3.0
Comments
Post a Comment