[egenix-users] compile errors

Kelly, Brian bkelly at uwsp.edu
Fri Apr 7 10:17:42 CEST 2006


I've installed the base package and I've already installed libiodbc but
when I run python setup.py install I get hundreds of errors. I'm using
python 2.4.2 and GCC 3.3.5. I have been able to get it to compile
successfully on OSX using python 2.3.5 GCC 3.3.

Here's a snippet of my output:

running install
running build
running mx_autoconf
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC
-D_GNU_SOURCE=1 -I/usr/include -c _configtest.c -o _configtest.o
i386-pc-linux-gnu-gcc -pthread _configtest.o -L/usr/local/lib -L/usr/lib
-o _configtest
success!
removing: _configtest.c _configtest.o _configtest
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC
-D_GNU_SOURCE=1 -I/usr/include/python2.4 -I/usr/include -c _configtest.c
-o _configtest.o
success!
removing: _configtest.c _configtest.o
running build_ext
building 'mx.ODBC.iODBC.mxODBC' extension
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC
-DiODBC -DHAVE_STRPTIME=1 -Imx/ODBC/iODBC -I/usr/local/iODBC/include
-I/usr/include/python2.4 -I/usr/include -c mx/ODBC/iODBC/mxODBC.c -o
build/temp.linux-i686-2.4/mx/ODBC/iODBC/mxODBC/mx/ODBC/iODBC/mxODBC.o

In file included from mx/ODBC/iODBC/mxODBC.c:33:
mx/ODBC/iODBC/mxODBC.h:239:19: sql.h: No such file or directory
mx/ODBC/iODBC/mxODBC.h:240:22: sqlext.h: No such file or directory
In file included from mx/ODBC/iODBC/mxODBC.c:33:
mx/ODBC/iODBC/mxODBC.h:682: error: syntax error before "SQLHDBC"
mx/ODBC/iODBC/mxODBC.h:682: warning: no semicolon at end of struct or
union
mx/ODBC/iODBC/mxODBC.h:699: error: syntax error before ':' token
mx/ODBC/iODBC/mxODBC.h:703: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:718: error: syntax error before "SQLCHAR"
mx/ODBC/iODBC/mxODBC.h:718: warning: no semicolon at end of struct or
union
mx/ODBC/iODBC/mxODBC.h:719: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:720: error: syntax error before "sqltype"
mx/ODBC/iODBC/mxODBC.h:720: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:721: error: syntax error before "sqllen"
mx/ODBC/iODBC/mxODBC.h:721: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:722: error: syntax error before "sqlscale"
mx/ODBC/iODBC/mxODBC.h:722: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:723: error: syntax error before "nullable"
mx/ODBC/iODBC/mxODBC.h:723: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:724: error: syntax error before "ctype"
mx/ODBC/iODBC/mxODBC.h:724: warning: data definition has no type or
storage class
mx/ODBC/iODBC/mxODBC.h:727: error: syntax error before "data"

Any insight into what these error messages mean would be appreciated.
Thanks,

Brian Kelly



More information about the egenix-users mailing list