wmjie / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

ibm_db_sa won't install on Windows XP #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. easy_install ibm_db_sa
2.
3.

What is the expected output? What do you see instead?
Searching for ibm-db-sa
Best match: ibm-db-sa 0.1.6
Processing ibm_db_sa-0.1.6-py2.7.egg
ibm-db-sa 0.1.6 is already the active version in easy-install.pth

Using c:\python27\lib\site-packages\ibm_db_sa-0.1.6-py2.7.egg
Processing dependencies for ibm-db-sa
Searching for ibm-db>=0.4.0
Reading http://pypi.python.org/pypi/ibm_db/
Reading http://pypi.python.org/pypi/SQLAlchemy/
Best match: ibm-db 1.0.3
Downloading 
http://pypi.python.org/packages/source/i/ibm_db/ibm_db-1.0.3.tar.gz#md5=14cc3a1a
a925950b6063888b9d2c8188
Processing ibm_db-1.0.3.tar.gz
Running ibm_db-1.0.3\setup.py -q bdist_egg --dist-dir 
c:\docume~1\admini~1\locals~1\temp\easy_install-mbk6kw\ibm_db-1.0.3\egg-dist-tmp
-nrxhml
cl : Command line error D8003 : missing source filename
error: Setup script exited with error: command '"C:\Program Files\Microsoft 
Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2

What version of the product are you using? On what operating system?
on Windows XP,  I have Python 2.7, and DB2 9.5 installed.   I'm trying to 
install ibm_db_sa 

ibm_db_sa-0.1.6-py2.5.egg

Please provide any additional information belowIt 
From the error message, it looks like the "C" compiler is being invoked.  I did 
not know that a "C" compiler was a prereq for installing this package

Original issue reported on code.google.com by igov...@gmail.com on 22 Dec 2010 at 3:50

GoogleCodeExporter commented 9 years ago
For window we only release binary of ibm_db driver for python-2.5 and 2.6.
Your python version is 2.7 so, it will first compile. For compilation it 
require "c" compiler.
In attachment i am providing you the binary of ibm_db driver for python 2.7.
you needs to issue following command to install

> easy_install path/of/ibm_db egg file/ibm_db-1.0.3-py2.7-win32.egg

Once you finish with driver installation then issue following command to 
install ibm_db_sa

> easy_install ibm_db_sa

Original comment by rahul.pr...@in.ibm.com on 22 Dec 2010 at 6:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 22 Dec 2010 at 6:15

GoogleCodeExporter commented 9 years ago
This worked.   I can now continue with the django configuration.

Thanks for your help.

Original comment by igov...@gmail.com on 22 Dec 2010 at 12:31

GoogleCodeExporter commented 9 years ago
I'm now wondering if the django / python  package will have a similar problem.  
 Will it run under python 2.7 ?    I have installed the 
ibm_db_django-1.0.1.win32.exe   

Original comment by igov...@gmail.com on 22 Dec 2010 at 12:37

GoogleCodeExporter commented 9 years ago
Yes, it works with python 2.7.

Original comment by rahul.pr...@in.ibm.com on 22 Dec 2010 at 6:27

GoogleCodeExporter commented 9 years ago
I got this working with python 2.7.   Thanks for your help.   This issue can be 
closed.

Original comment by igov...@gmail.com on 22 Dec 2010 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 23 Dec 2010 at 3:31