在根據運維網站的說明安裝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
重新安裝