pymssql安装问题

pymssql安装问题

安装时报了一堆错,是不是要先装一个freetds_mssql?如果是请大侠们提供一个下载连接,如果不是一下是什么问题,谢谢了。

root@darkstar:/home/pymssql-0.7.4# python setup.py install
running install
running build
running build_py
running build_ext
building '_mssql' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mcpu=i686 -fPIC -I/usr/include -I/usr/local/include -I/usr/include/freetds -I/usr/local/include/freetds -I/usr/pkg/freetds/include -I/usr/include/python2.4 -c mssqldbmodule.c -o build/temp.linux-i686-2.4/mssqldbmodule.o
mssqldbmodule.c:38:24: sqlfront.h: No such file or directory
mssqldbmodule.c:39:21: sqldb.h: No such file or directory
mssqldbmodule.c:108: error: parse error before "DBPROCESS"
mssqldbmodule.c:108: warning: no semicolon at end of struct or union
mssqldbmodule.c:115: error: parse error before '}' token
mssqldbmodule.c:115: warning: data definition has no type or storage class
mssqldbmodule.c:118: error: parse error before '*' token
mssqldbmodule.c:119: error: parse error before '*' token
mssqldbmodule.c:120: error: parse error before '*' token
mssqldbmodule.c:121: error: parse error before '*' token
mssqldbmodule.c:138: error: parse error before "_mssql_ConnectionObj"
mssqldbmodule.c:138: warning: no semicolon at end of struct or union
mssqldbmodule.c:152: error: parse error before '*' token
mssqldbmodule.c: In function `_mssql_fetch_array':
我是在win下安装的,所以能解决你的问题。。。up