四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区
標(biāo)題:
[求助]
lanmp一鍵包安裝失敗
[打印本頁]
作者:
iceamber
時間:
2018-11-11 15:38
標(biāo)題:
lanmp一鍵包安裝失敗
在kali下載lanmp_laster.tar.gz一鍵包,解壓后安裝失敗
src/core/ngx_murmurhash.c: 在函數(shù)‘ngx_murmur_hash2’中:
src/core/ngx_murmurhash.c:37:11: 錯誤:this statement may fall through [-Werror=implicit-fallthrough=]
h ^= data[2] << 16;
~~^~~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:38:5: 附注:here
case 2:
^~~~
src/core/ngx_murmurhash.c:39:11: 錯誤:this statement may fall through [-Werror=implicit-fallthrough=]
h ^= data[1] << 8;
~~^~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:40:5: 附注:here
case 1:
^~~~
cc1:所有的警告都被當(dāng)作是錯誤
make[1]: *** [objs/Makefile:445:objs/src/core/ngx_murmurhash.o] 錯誤 1
make[1]: *** 正在等待未完成的任務(wù)....
make[1]: 離開目錄“/home/iceamber/lanmp/src/nginx-1.8.1”
make: *** [Makefile:8:build] 錯誤 2
復(fù)制代碼
作者:
xooass
時間:
2019-9-30 03:52
別怪我挖墳,相同問題,求解
作者:
xooass
時間:
2019-9-30 15:42
在kali下載lanmp_laster.tar.gz一鍵包,解壓后安裝失敗
iceamber 發(fā)表于 2018-11-11 15:38
解決方法:
一鍵安裝包解壓后會產(chǎn)生一個lib目錄,進(jìn)入此目錄,編輯nginx.sh文件,找到
--with-http_realip_module \
復(fù)制代碼
在這行下面加上下面這句:
--with-cc-opt=-Wno-error \
復(fù)制代碼
編譯參數(shù)最終效果看起來是這樣:
./configure --user=www --group=www \
--prefix=$IN_DIR/nginx-$NGI_VER \
--with-http_stub_status_module \
--with-ipv6 \
--with-http_gzip_static_module \
--with-http_realip_module \
--with-cc-opt=-Wno-error \
--with-http_ssl_module
復(fù)制代碼
保存,重新運(yùn)行sh lanmp.sh即可。
作者:
24447678@qq.com
時間:
2020-6-16 16:22
安裝了幾次,然后今天也是第一次遇到這個問題。是不是腳本的兼容性不好?
歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/)
Powered by Discuz! 7.2