2015-11-25 30 views
0

有誰知道如何從MAC卸載freetds? 我已經從源通過以下說明安裝了:有誰知道如何從MAC(osx-10.9.4)卸載freetds(如果從源安裝)?

焦油zxvf freetds的-stable.tgz

CD freetds的-'0.91'

的./configure前綴=的/ usr /本地

使

須藤使安裝

創業板安裝tiny_tds - --with-freetds的 - 包括=在/ usr /本地/包括--with-FRE etds-lib =/usr/local/lib --with-iconv-include =/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib =/usr/local/Cellar/libiconv/1.14/lib

回答

0

從您運行目錄「須藤使安裝」:

sudo make uninstall 
sudo rm /usr/local/etc/freetds.conf 

應該這樣做,但你必須單獨卸載的寶石。祝你好運。

+0

sudo make uninstall的輸出是:make:***沒有規則使目標'卸載'。停止。我從/usr/local/etc/freetds.conf中刪除了freetds.conf文件 – hemal

1

我能夠成功地卸載freetds和tiny_tds寶石。

首先我卸載瞭如下tiny_tds寶石:

gem uninstall tiny_tds 

要卸載freetds的按照說明來配置和運行使卸載之前建立freetds的(否則它會給這個錯誤:使:***沒有治以使目標'卸載」停止 )

cd freetds-'0.91' 
./configure --prefix=/usr/local 
make 
sudo make uninstall 
sudo make clean 

您必須刪除如下手動freetds.conf文件:。

sudo rm /usr/local/etc/freetds.conf 

爲了確定您已經成功卸載freetds的運行以下命令:

tsql -C 

它不應該報告freetds的細節。

相關問題