checking for getaddrinfo in -lnsl... yes
checking for cos in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCRE... no
configure: error: Package requirements (libpcre) were not met:
No package 'libpcre' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PCRE_CFLAGS
and PCRE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
但明明裝了pcre的了,怎麼checking for PCRE時還是返回No呢?
baidu了半天,答案都是千篇一律配置PKG_CONFIG_PATH環境變量,試了半天都不行。
再仔細看看報錯,如果不配置PKG_CONFIG_PATH環境變量,可以直接配置PCRE_CFLAGS和PCRE_LIBS這兩個環境變量。
於是直接export PCRE_CFLAGS=`pcre-config --cflags`和export PCRE_LIBS=`pcre-config --libs`
再configure,通過!
再次證明,baidu果然坑爹~
varnish-3.0.6安裝問題
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
cdn緩存加速---varnish
生命热力٩( 'ω' )و
2020-04-29 16:40:27
我跪着看完了阿里資深架構師整理分享的分佈式系統架構:技術棧詳解與進階文檔,直接入職阿里,太值了!
osc_3w8ky7p7
2021-01-30 09:39:47
varnish緩存服務器構建疑問
osc_fzp9ys58
2021-01-30 09:13:57
Varnish purges 緩存清除技術研究
nosun2008
2020-05-31 10:22:07
linux企業部分——varnish
海蜘蛛er
2020-05-05 00:13:47
命令行啓動varnish的方法
ywgcsxue
2020-03-18 22:44:51
Varnish安裝教程
chen_01_c
2020-03-11 17:27:46
Varnish概念篇
wx5b9c94b17c62a
2020-03-05 14:44:45
varnish配置詳解
q6196310920
2020-02-24 23:33:44
使用 Varnish 加速你的 Web 網站
q6196310920
2020-02-24 23:33:44
安裝配置Varnish3.0手記
q6196310920
2020-02-24 23:33:44
cdn內容分發網絡
dreamer_xixixi
2020-02-23 09:54:50
varnish
death_kada
2020-02-21 11:34:35
varnish安裝配置
gaoshan8008
2020-02-21 05:25:03