mysql 今天碰到的兩個問題。

2021-06-25 10:30:31 字數 904 閱讀 3299

今天在 檢查環境的時候。報出  

make: *** no targets specified and no makefile found. stop.

一連串的幾行錯誤。

checking for tgetent in -lncurses... no

checking for tgetent in -lcurses... no

checking for tgetent in -ltermcap... no

checking for tgetent in -ltinfo... no

checking for termcap functions library... configure: error: no curses/termcap library found

發現沒有ncurses安裝包

解決方法(redhat下):

yum list|grep ncurses

yum -y install ncurses-devel

yum install ncurses-devel

就可以了。

debian(沒試過) 下:

apt-cache search ncurses

apt-get install libncurses5-dev

繼續檢查

完成。然後 make 的時候又報錯了。缺少g++編譯器(錯誤圖忘了截圖)

解決方法:

安裝:yum -y install gcc automake autoconf libtool make

安裝g++:

yum install gcc gcc-c++

安裝完 g++  -v  可以看下  gcc 和g++的版本

重新 ./configure  make && make install 就可以了。

今天碰到的兩個oracle錯誤

insert into m reader info readercardbarcode,readername,isneedpasswordprotect,countrycardid,citizencardid,password,fingerfeaturea,fingerfeatureb,finger...

impdp匯入中碰到的兩個問題

前兩天,需要將遠端乙個測試庫用expdp匯出的資料dump匯入到本地的乙個測試環境中,其中碰到了一些問題,值得小結下。環境介紹 1.資料量 10 表,1000萬的資料,dump檔案大約400多mb 2.源庫和目標庫都是11.2.0.4 3.字符集不同,源庫字符集是gbk,目標庫字符集是utf 8 匯...

CentOS碰到兩個問題,順便解決了下

1.彈出介面 eth0 rtnetlink answers file exists 執行service network restart時報的錯誤 因為service network start造成的,解決方法 service networkmanger stop停掉網路的守護程序 reboot重啟下...