码迷,mamicode.com
首页 > 其他好文 > 详细

tengine安装问题

时间:2018-02-05 15:09:46      阅读:297      评论:0      收藏:0      [点我收藏+]

标签:uil   指定   sof   frame   cal   install   soft   file   local   

官方安装文档:http://tengine.taobao.org/document/install.html

首先安装了依赖的pcre,但是安装tengine的时候要指定pcre的安装包路径,而不是编译安装后的prefix路径,具体如下
./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/pcre/
make
报错:

[root@ecs01 tengine-2.2.0]# make
make -f objs/Makefile
make[1]: Entering directory `/root/software/tengine-2.2.0‘
cd /usr/local/pcre/     && if [ -f Makefile ]; then make distclean; fi     && CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe "     ./configure --disable-shared
/bin/sh: line 2: ./configure: 没有那个文件或目录
make[1]: *** [/usr/local/pcre//Makefile] 错误 127
make[1]: Leaving directory `/root/software/tengine-2.2.0‘
make: *** [build] 错误 2
[root@ecs01 tengine-2.2.0]#

原因:
不是
./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/pcre/
应该是
./configure --prefix=/usr/local/nginx --with-pcre=/root/software/pcre-8.39

tengine安装问题

标签:uil   指定   sof   frame   cal   install   soft   file   local   

原文地址:http://blog.51cto.com/tenderrain/2068963

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!