|
From: <kre...@gm...> - 2007-09-03 12:38:21
|
Modified from the FreeTDS user guide:
Download & unpack latest python-sybase, enter its directory.
apt-get install gcc python2.5-dev freetds-dev
export SYBASE=/usr
export LD_LIBRARY_PATH=/usr:${LD_LIBRARY_PATH}
export CFLAGS="-DHAVE_FREETDS"
python setup.py install
You don't need the dev packages any more, so you can remove them:
apt-get remove --purge gcc python2.5-dev freetds-dev
|