waliwali / ibm-db

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

Compiler Error installing ibm_db on mac os 10.9.2 #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying easy install of ibm_db

I get the following:

Marks-MacBook-Pro-2:sqllib db2user$ sudo -E easy_install ibm_db
Searching for ibm-db
Reading http://pypi.python.org/simple/ibm_db/
Reading http://code.google.com/p/ibm-db/downloads/list
Best match: ibm-db 2.0.5
Downloading 
https://pypi.python.org/packages/source/i/ibm_db/ibm_db-2.0.5.tar.gz#md5=73ed86f
4cf423fc608db95403ba988e4
Processing ibm_db-2.0.5.tar.gz
Running ibm_db-2.0.5/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-ymzSkJ/ibm_db-2.0.5/egg-dist-tmp-ta7Li0
Detected 64-bit Python
clang: error: unknown argument: '-mno-fused-madd' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in 
the future
error: Setup script exited with error: command 'cc' failed with exit status 1
Marks-MacBook-Pro-2:sqllib db2user$ 

I don't think its related to the environment variables.

I'm installing the driver on the same machine as the Data Server. Im using DB2 
express-c 10.1 on Mac OS 10.9.2.

Similar issue trying to use pip.

Command /usr/bin/python -c "import setuptools, 
tokenize;__file__='/private/tmp/pip_build_db2user/ibm-db/setup.py';exec(compile(
getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), 
__file__, 'exec'))" install --record /tmp/pip-P7zH3_-record/install-record.txt 
--single-version-externally-managed --compile failed with error code 1 in 
/private/tmp/pip_build_db2user/ibm-db
Storing debug log for failure in /Users/db2user/Library/Logs/pip.log

Any suggestions.

Original issue reported on code.google.com by mark.mcc...@mac.com on 17 Apr 2014 at 4:36

GoogleCodeExporter commented 9 years ago
could you download the source code from pypi and try install manually, by using 
command "$python setup.py install" from inside source code directory.

Original comment by rahul.pr...@in.ibm.com on 21 Apr 2014 at 9:05