santaclaus 发表于 2018-10-16 13:11:22

嵌入式PowerPC通过unixODBC/freetds访问SQL Server数据库(一)

1, 下载freetds, ftp://ftp.freetds.org/pub/freetds/current/, 版本号为0.91  2,解压缩,采用7-zip
  3,配置编译,./configure --host=ppc-linux --prefix=/usr/local/freetds-0.91 --with-tdsver=7.0   --enable-msdblib --disable-libiconv --with-unixodbc=/usr/local/unixODBC-2.3.4
  4,    编译 make(注,将unixODBC生成文件夹下的odbc_config修改名称,解决freetds编译test文件失败问题)
  起初,将freetds拷贝至虚拟机中进行编译, 编译失败,提示:/bin/sh: ./txt2man: No such file or directory错误。
  尝试,直接将freetds从Windows共享文件夹下进行编译,通过,汗。
  5,安装make install
  ***环境配置及测试待续!!!***

页: [1]
查看完整版本: 嵌入式PowerPC通过unixODBC/freetds访问SQL Server数据库(一)