Re: Sybase installation directory

Lloyd Kvam <[email protected]> Tue, 08 Sep 2009 16:07:50 -0400
Newsgroups gmane.comp.python.sybase
Message-ID <1252440470.8262.102.camel@venix-laptop>
On Tue, 2009-09-08 at 11:22 -0700, VV W wrote:
> Now that I use
> 
> python setup.py build_ext -D HAVE_FREETDS -U WANT_BULKCOPY
> 
> to install, I still get
> 
> "Please define the Sybase installation directory in the SYBASE
> environment
> variable."
> 
> What did I miss? any more suggestions?

export SYBASE=/usr
python setup.py build_ext -D HAVE_FREETDS -U WANT_BULKCOPY -I/usr/include/freetds

This worked for me.  



Steering you towards freetds may have been a mistake.  I had no idea
that client software from sybase.com was an option.

My Ubuntu (9.4) provides python-pymssql which claims to work with both
sybase and mssql servers.  (I'm using it for mssql so I can't vouch for
sybase effectiveness.

> 
> Thanks again.
-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july