tengine安裝問題
官方安裝文件: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
本文轉自Tenderrain 51CTO部落格,原文連結:http://blog.51cto.com/tenderrain/2068963,如需轉載請自行聯絡原作者
相關文章
- tengine下載和安裝
- Nginx/Tengine 伺服器安裝 SSL 證書Nginx伺服器
- Tengine更新安裝
- Swoole安裝問題
- Pytorch安裝問題PyTorch
- ubuntu安裝jdk問題UbuntuJDK
- SAE安裝問題,求助
- jupyter安裝常見問題
- 安裝工具常見問題
- 安裝kylin遇到的問題
- flutter安裝問題總結Flutter
- mysql 8.0.29 解除安裝問題MySql
- Laravel 安裝遇到的問題Laravel
- appium 安裝 apk 包問題APPAPK
- 請教 TensorFlow 安裝問題
- OneThink在Sae安裝問題
- Silverlight安裝相關問題
- SecureFX安裝問題(包含SecureCRT)Securecrt
- VirtualBox安裝問題記錄
- windows 安裝python後pip安裝路徑問題WindowsPython
- Flutter-安裝步驟及安裝遇到的問題Flutter
- docker安裝和常見問題Docker
- 【java】java10安裝問題Java
- genymotion中app不能安裝問題APP
- Pyaudio庫的安裝及問題
- rabbitmq安裝使用問題彙總MQ
- 安裝部署hzero遇到的問題
- redis安裝及問題解決Redis
- 關於安裝nbextensions的問題
- mysql 安裝出現的問題MySql
- PaddleOCR 安裝使用遇到的問題
- windows2003 的安裝以及安裝時遇到的問題Windows
- 解決Tengine健康檢查引起的TIME_WAIT堆積問題AI
- IPython的安裝及問題解決Python
- Windows安裝Filebeat遇到問題總結Windows
- 安裝 Laravel Mix 中遇到的問題Laravel
- npm安裝全域性包的問題NPM
- django安裝xadmin及問題解決Django
- Windows 10 安裝 Homestead 問題記錄Windows