scratch that... i rebooted after reinstalling python2.5 and that error went away. But now i have a new error...
[root@dodge pymssql-0.8.0]# python setup.py install
running install
running build
running build_py
running build_ext
building '_mssql' extension
gcc -pthread -shared build/temp.linux-i686-2.5/mssqldbmodule.o -L/usr/lib -L/usr
/local/lib -L/usr/lib/freetds -L/usr/local/lib/freetds/usr/pkg/freetds/lib -lsyb
db_mssql -o build/lib.linux-i686-2.5/_mssql.so
/usr/bin/ld: cannot find -lsybdb_mssql
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
i also built rpms from the freetds source in an attempt to make things a little easier to manage...
i needed to install unixODBC and unixODBC-devel for the rpms to build, no worries there...
then i installed the freetds rpms that were built and then ran the install command again and received the above error.
Thanks for any help that people can give...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Im trying to build pymssql-0.8.0 and i get the following error:
[root@dodge pymssql-0.8.0]# python setup.py install
File "setup.py", line 47
e += "Setup.py is unable to find SQL 2000 developer tools include directory.
\n"
^
SyntaxError: invalid syntax
Python 2.5 and freetds 0.65 are installed as well...
any ideas??
scratch that... i rebooted after reinstalling python2.5 and that error went away. But now i have a new error...
[root@dodge pymssql-0.8.0]# python setup.py install
running install
running build
running build_py
running build_ext
building '_mssql' extension
gcc -pthread -shared build/temp.linux-i686-2.5/mssqldbmodule.o -L/usr/lib -L/usr
/local/lib -L/usr/lib/freetds -L/usr/local/lib/freetds/usr/pkg/freetds/lib -lsyb
db_mssql -o build/lib.linux-i686-2.5/_mssql.so
/usr/bin/ld: cannot find -lsybdb_mssql
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
i also built rpms from the freetds source in an attempt to make things a little easier to manage...
i needed to install unixODBC and unixODBC-devel for the rpms to build, no worries there...
then i installed the freetds rpms that were built and then ran the install command again and received the above error.
Thanks for any help that people can give...
Please change sybdb_mssql into sybdb. sybdb_mssql went away in newer versions of Mandriva Linux.
Regards,
Andrzej Kukula
scratch that again... wrong info in setup.py... im an idiot, i know, i know...
yup i worked that out too (see post calling self idiot several times)...
thanks for your help...