./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 for sys/filio.h ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for F_READAHEAD ... not found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for dlopen() ... not found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for setproctitle() ... not found
checking for POSIX semaphores ... not found
checking for struct dirent.d_namlen ... not found
Run Code Online (Sandbox Code Playgroud)
我在安装nginx时遇到问题..我已经使用'yum'安装了gcc,pcre*,zlib*,openssl*
我的配置有什么问题?顺便说一句,我的电脑是64位centos6,我现在正在安装nginx 1.3.0(开发版)
--------- ADDITOIN -----------------------
我忘了提到它甚至比我添加的更糟糕--with - *= DIR ...当我运行一行代码时kolbyjack给了我,结果是......
./configure --user=boxflux --group=boxflux --prefix=/usr/local/nginx-1.3.0 |grep 'not found'
checking for sys/filio.h ... not found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for F_READAHEAD ... not found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for dlopen() ... not found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for setproctitle() ... not found
checking for POSIX semaphores ... not found
checking for struct dirent.d_namlen ... not found
checking for PCRE JIT support ... not found
checking for system md library ... not found
checking for system md5 library ... not found
checking for sha1 in system md library ... not found
Run Code Online (Sandbox Code Playgroud)
因为我是centos6的新手..我真的对这个问题一无所知..请帮帮我..
小智 9
通常情况下,我宁愿不使用src的"售后市场"构建,而是使用原生的CentOS软件包.
安装pcre软件包时,也可能导致"未找到PCRE库"错误,但不会导致pcre-devel软件包.
仅仅是'yum install pcre-devel'并重新运行./configure.