Hi Carsten,
<div><br></div><div>I know it&#39;s been a while since any development was done on InformixDB, however I wanted to see if you would have any idea on how to resolve. I would appreciate any pointers or help. </div><div><br>
</div><div>Sincere Regards,</div><div>Vivek</div><div><br></div><div>I am trying to compile the InformixDB on mac platform and am getting the following warnings:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
vivsrivas-MacBook-Pro:InformixDB-2.5 vivsriva$ python setup.py build_ext
running build_ext
/Applications/IBM/informix/bin/esql -EDHAVE_ESQL9 -EDHAVE_DESCRIBE_INPUT -e _<a href="http://informixdb.ec">informixdb.ec</a>
building &#39;_informixdb&#39; extension
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DPYTHON_INCLUDE=/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -DHAVE_C_DATETIME=1 -DHAVE_PY_BOOL=1 -Iext -I/Applications/IBM/informix/incl/esql -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c ext/_informixdb.c -o build/temp.macosx-10.6-universal-2.6/ext/_informixdb.o
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘dberror_value’:
_<a href="http://informixdb.ec:3385">informixdb.ec:3385</a>: warning: the address of ‘message’ will always evaluate as ‘true’
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘Sblob_init’:
_<a href="http://informixdb.ec:3808">informixdb.ec:3808</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3813">informixdb.ec:3813</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3819">informixdb.ec:3819</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3825">informixdb.ec:3825</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3835">informixdb.ec:3835</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3845">informixdb.ec:3845</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3851">informixdb.ec:3851</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3857">informixdb.ec:3857</a>: warning: value computed is not used
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘dberror_value’:
_<a href="http://informixdb.ec:3385">informixdb.ec:3385</a>: warning: the address of ‘message’ will always evaluate as ‘true’
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘Sblob_init’:
_<a href="http://informixdb.ec:3808">informixdb.ec:3808</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3813">informixdb.ec:3813</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3819">informixdb.ec:3819</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3825">informixdb.ec:3825</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3835">informixdb.ec:3835</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3845">informixdb.ec:3845</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3851">informixdb.ec:3851</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3857">informixdb.ec:3857</a>: warning: value computed is not used
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘get_bool_from_int’:
_<a href="http://informixdb.ec:125">informixdb.ec:125</a>: warning: cast from pointer to integer of different size
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘set_bool_to_int’:
_<a href="http://informixdb.ec:139">informixdb.ec:139</a>: warning: cast from pointer to integer of different size
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘dberror_value’:
_<a href="http://informixdb.ec:3385">informixdb.ec:3385</a>: warning: the address of ‘message’ will always evaluate as ‘true’
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘Sblob_init’:
_<a href="http://informixdb.ec:3808">informixdb.ec:3808</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3813">informixdb.ec:3813</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3819">informixdb.ec:3819</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3825">informixdb.ec:3825</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3835">informixdb.ec:3835</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3845">informixdb.ec:3845</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3851">informixdb.ec:3851</a>: warning: value computed is not used
_<a href="http://informixdb.ec:3857">informixdb.ec:3857</a>: warning: value computed is not used
_<a href="http://informixdb.ec">informixdb.ec</a>: In function ‘Sblob_specget’:
_<a href="http://informixdb.ec:4129">informixdb.ec:4129</a>: warning: cast from pointer to integer of different size
_<a href="http://informixdb.ec:4160">informixdb.ec:4160</a>: warning: cast from pointer to integer of different size
gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc -arch x86_64 build/temp.macosx-10.6-universal-2.6/ext/_informixdb.o -framework DirectoryService /Applications/IBM/informix/lib/esql/checkapi.o -L/Applications/IBM/informix/lib/esql -L/Applications/IBM/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -lifglx -o build/lib.macosx-10.6-universal-2.6/_informixdb.so
ld: warning: in /Applications/IBM/informix/lib/esql/checkapi.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/libifsql.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/libifasf.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/libifgen.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/libifos.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/libifgls.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/libifglx.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /Applications/IBM/informix/lib/esql/checkapi.o, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/esql/libifsql.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/libifasf.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/esql/libifgen.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/esql/libifos.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/esql/libifgls.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
ld: warning: in /Applications/IBM/informix/lib/esql/libifglx.dylib, file was built for unsupported file format which is not the architecture being linked (ppc)
</pre><div><br></div><div><br></div><div>Also when I run python -c &quot;import informixdb&quot; I get following error message:</div><div><div>vivsrivas-MacBook-Pro:InformixDB-2.5 vivsriva$ python -c &quot;import informixdb&quot;</div>
<div>Traceback (most recent call last):</div><div>  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;</div><div>  File &quot;informixdb.py&quot;, line 146, in &lt;module&gt;</div><div>    from _informixdb import *</div>
<div>ImportError: dlopen(/Library/Python/2.6/site-packages/_informixdb.so, 2): Symbol not found: _SQLCODE</div><div>  Referenced from: /Library/Python/2.6/site-packages/_informixdb.so</div><div>  Expected in: flat namespace</div>
<div> in /Library/Python/2.6/site-packages/_informixdb.so</div></div><div><br></div></span></div>