[python-sybase] building python-sybase on OS X 10.3
David
david at neosynapse.net
Thu, 9 Sep 2004 19:25:25 -0400
To build python-sybase on Mac OS X 10.3:
1. Install all three kits from the Sybase-provided dmg
2. Set your SYBASE environment variable
3. 'python setup.py build' ... this will compile all the files, but you
will blow up at link time on a pile of undefined symbols
4. Copy the gcc command that blew up to the clipboard and re-paste it
to your command line. Navigate to right before '-framework Python' and
add '-framework SybaseOpenClient -framework CoreFoundation'. Then
press return to re-run the link operation.
5. 'python setup.py install' and you should be in working order. Run
the examples to test.