Install sqsh for freetds (Sql Server)

我们两清 提交于 2019-12-11 14:53:53

问题


Duplicate: I can't make SQSH 2.1.7 with freetds 0.91

I am trying to install sqsh for freetds (SQL Server) as per this answer. I installed freetds under /opt/freetds.

However, I am getting the following error building sqsh:

[noahlz:sqsh-2.4]$ sudo ./configure --prefix=/opt/sqsh 

...

configure: error: Unable to locate Sybase installation. Check your SYBASE environment variable setting.

I tried setting export SYBASE=/opt/freetds to no avail.


回答1:


On OS X I'd suggest:

brew install sqsh

Man, I love Hombrew.




回答2:


Do not use the sudo command to configure the build environment. Just run

export SYBASE=/opt/freetds
./configure --prefix=/opt/sqsh

I would recommend to add --with-readline as well. Then run

make
sudo make install

So you only need sudo when you want to install the product and need root authorizations to do that. Please note that a newer version sqsh-2.4 is available for download from Sourceforge.

HTH, Martin.



来源:https://stackoverflow.com/questions/18784242/install-sqsh-for-freetds-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!