waliwali / ibm-db

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

Errors compiling on RHEL 5.5 x86_64: many errors with a "â" character in output #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://ibm-db.googlecode.com/svn/trunk
2. cd trunk
3. export IBM_DB_DIR=/opt/dsdriver
4. export IBM_DB_LIB=/opt/dsdriver/lib
5. python setup.py build

What is the expected output?
Compiled ibm_db driver.

What do you see instead?
Many errors with a "â" character in output. Tried dos2unix and iconv first, 
without any special parameters, to no avail. Snipped output (many, many lines) 
look like: 

<snip>
ibm_db.c:8838: error: âserver_infoTypeâ undeclared (first use in this 
function)
ibm_db.c:8842: warning: implicit declaration of function âPy_InitModule3â
</snip>

What version of the product are you using? On what operating system?
Trunk, 1.0.3

Original issue reported on code.google.com by rannyak...@gmail.com on 15 Aug 2010 at 2:09

GoogleCodeExporter commented 9 years ago
Forgot to mention:
I have applied the Python 2.4 fixes mentioned in ticket 52, 
ibm_db_dbi_py2.4_exc.diff and ibm_db_py2.4.diff.

Original comment by rannyak...@gmail.com on 15 Aug 2010 at 2:10

GoogleCodeExporter commented 9 years ago
Sorry for the noise, The weird characters were due to the PuTTY font I'm using, 
Consolas. I assumed this had something to do with my compilation failure. After 
scrolling all the way up I found a message about "structmember.h" missing.

yum install python-devel

Fixed it, I've succesfully built the module!

Original comment by rannyak...@gmail.com on 16 Aug 2010 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 22 Aug 2010 at 8:49