Hi,
I sat down during the weekend to try the installation again on a fresh
machine.
...Prepping
--------------------------------------------
Mac mini, using leopard, clean install, dev tools installed
Download ibm_db-0.2.9.1.tar
Download ibm_db_sa-0.1.5.tar
Download IBM Data Server Driver for ODBC and CLI version 9.5 for MAC
OS X 32 Bit
Require the "sqllib/include" folder from the iSeries machine
--------------------------------------------
copy "include" into "clidriver"
$ mkdir /Users/admin/ibm
copy clidriver into /Users/admin/ibm
remove
"PyModule_AddIntConstant(m, "SQL_DECFLOAT", SQL_DECFLOAT);"
"PyModule_AddIntConstant(m, "SQL_DECFLOAT", SQL_DECFLOAT);"
from ibm_db.c, although only finding one line.
$ export IBM_DB_LIB=/Users/admin/ibm/clidriver/lib
$ export IBM_DB_DIR=/Users/admin/ibm/clidriver
$ export DYLD_LIBRARY_PATH=/Users/admin/bim/clidriver/lib
$ export LANG=en_US.UTF-8
-----$PATH's----
Macintosh:ibm_db-0.2.9.1 admin$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Macintosh:ibm_db-0.2.9.1 admin$ echo $IBM_DB_LIB
/Users/admin/ibm/clidriver/lib
Macintosh:ibm_db-0.2.9.1 admin$ echo $IBM_DB_DIR
/Users/admin/ibm/clidriver
Macintosh:ibm_db-0.2.9.1 admin$ echo $PYTHONPATH
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
site-packages
Macintosh:ibm_db-0.2.9.1 admin$ echo $DYLD_LIBRARY_PATH
/Users/admin/ibm/clidriver/lib
Macintosh:ibm_db-0.2.9.1 admin$ echo $LANG
en_US.UTF-8
-----------------
$ sh setuptools-0.6c8-py2.5.egg --prefix=/System/Library/Frameworks/
Python.framework/Versions/2.5
And now to the problem....
ibm_db driver
$ python setup.py build
terminal output ->
http://dpaste.com/66304/
I was wondering, I talked to the ibm guys in Iceland and he sent me
the sql/include folder, although he wasn't sure it was the right one.
Can you describe it more, in what library is it installed?