[Tutor] Trouble creating DB2 drivers

taserian taserian at gmail.com
Mon Feb 26 19:51:20 CET 2007


I'm trying to build the DB2 drivers I downloaded from
http://sourceforge.net/projects/pydb2
but I'm getting an error message when I try installing them (after doing
"python setup.py install"):

Your DB2 root is: C:\Program Files\SQLLIB\
WARNING: it seems that you did not install 'Application Development Kit'.
Compilation may fail.

running install
running build
running build_py
running build_ext
building '_db2' extension
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo
/Ox
 /MD /W3 /GX /DNDEBUG "-IC:\Program Files\SQLLIB\include"
-IC:\Python25\include
-IC:\Python25\PC /Tc_db2_module.c /Fobuild\temp.win32-
2.5\Release\_db2_module.obj
_db2_module.c
_db2_module.c(24) : fatal error C1083: Cannot open include file: 'sqlcli1.h':
No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\cl.exe"' failed with exit status 2


- - - -

I can't seem to find anything through Google about the "Application
Development Kit" that the error mentions. Can anyone help?

ARS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070226/e7cb266c/attachment.html 


More information about the Tutor mailing list