nginx 安裝過程中在安裝pcre-8.30遇到的問題

在根據運維網站的說明安裝nginx的時候,在安裝pcre-8.30的時候出現了錯誤提示

過程如下:

三、安裝pcre
cd /usr/local/src
mkdir /usr/local/pcre #創建安裝目錄
tar zxvf pcre-8.30.tar.gz
cd pcre-8.30
./configure --prefix=/usr/local/pcre  #配置 結果正常
make                                                              結果正常
make install                                                    結果提示錯誤

……

ln: creating symbolic link `/usr/local/share/man/man3/pcre16_compile.3': File exists
 

make[3]: *** [install-data-hook] Error 1

make[2]: *** [install-data-am] Error 2

make[1]: *** [install-am] Error 2 
 
 

處理方法
 
rm /usr/local/share/man/man3/pcre* -rf
 
make clean
 
make install                                                         結果OK

 

在安裝MysQl的時候出現了個Warning :Bison executable not found in PATH

解決方法:

yum install bison

重新安裝

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章