Chinaunix首页 | 论坛 | 博客
  • 博客访问: 93602
  • 博文数量: 14
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 170
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-31 16:17
文章分类

全部博文(14)

文章存档

2013年(14)

我的朋友

分类: LINUX

2013-10-25 11:18:57

  安装使用的是nginx最新稳定版。一开始按常规的指定编译参数:


./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/pcre/ --with-zlib=/usr/local/zlib --with-http_stub_status_module --with-http_ssl_module^C


 
        到make阶段报错: make
make -f objs/Makefile 
make[1]: Entering directory `/usr/local/src/nginx-0.8.54′ 
cd /usr/local/pcre / 
        && if [ -f Makefile ]; then make distclean; fi / 
        && CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe " / 
        ./configure –disable-shared 
/bin/sh: line 2: ./configure: No such file or directory 
make[1]: *** [/usr/local/pcre/Makefile] Error 127 
make[1]: Leaving directory `/usr/local/src/nginx-0.8.54′ 
make: *** [build] Error 2

指定pcre源码目录给它


./configure --prefix=/usr/local/nginx --with-pcre=/xh/pcre-8.33/ --with-zlib=/usr/local/zlib --with-http_stub_status_module --with-http_ssl_module^C

阅读(15545) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~