[Pythonmac-SIG] Python and Oracle (was Compiling cx_Oracle for OS X)
Sun, 5 May 2002 15:41:10 +1000
On Saturday, May 4, 2002, at 11:59 PM, Barron Snyder wrote:
> I'm not very familiar with c/c++ and compiling anything for OS X (but
> trying to learn).
> Do I need to worry about the warnings (warning: function declaration
> isn't a prototype)?
> Can anyone tell me what the error "can't use -s with -bundle" means?
It means that during the linking stage, the build script is trying to
invoke the linker with two incompatible options. At this point, I'd
try grepping for '-s' in the makefiles and removing them to see if this
is your problem, or just the tip of an iceburg. Removing -s should not
have any ill effects besides bloating the size of the generated binaries.
If you give up (building just about anything using Oracle libraries is
painful even on their best supported systems), you may find using
jython, the zxJDBC DB-API implementation and the thin JDBC drivers
from Oracle may be the best way to proceed, and would also be the
simplest if you need to distribute and license the application you
are writing. I would also guess it to be the most stable if the
Mac drivers are that new...
Stuart Bishop <email@example.com>