[egenix-users] getting a gcc error durin install

M.-A. Lemburg mal at egenix.com
Thu Mar 24 13:52:29 CET 2005


Ertl, John wrote:
> All,
> 
> I am trying to install egenix-mx-commercial-2.0.7 from source and I am
> getting the following error.  I am not much of a systems person but Python
> 2.4 and all of the modules have installed with out this problem so I am sure
> what the issue might be.  I am running on RedHat ES 3.0 .  I could not find
> this issue in the archive or on goggle.  I was able to install the BASE just
> fine.
> 
> Any ideas?

Looks as if you don't have the iODBC header files installed
or the mxODBC is picking up a set of header files that are
really ODBC header files (or from unixODBC).

Please check which ODBC manager you have installed and also
whether you have the development RPMs for these installed.

> Thanks
> 
> ....skipping....
> mx/ODBC/iODBC/mxODBC.c: In function `initmxODBC':
> mx/ODBC/iODBC/mxODBC.c:6722: `SQLRETURN' undeclared (first use in this
> function)
> mx/ODBC/iODBC/mxODBC.c:6722: syntax error before "rc"
> mx/ODBC/iODBC/mxODBC.c:6875: `rc' undeclared (first use in this function)
> mx/ODBC/iODBC/mxODBC.c:6875: warning: implicit declaration of function
> `SQLAllocEnv'
> mx/ODBC/iODBC/mxODBC.c:6877: `SQL_SUCCESS' undeclared (first use in this
> function)
> mx/ODBC/iODBC/mxODBC.c:6877: `SQL_NULL_HDBC' undeclared (first use in this
> function)
> mx/ODBC/iODBC/mxODBC.c:6877: `SQL_NULL_HSTMT' undeclared (first use in this
> function)
> error: command '/usr/bin/gcc' failed with exit status 1
> 
>  [asd1uc8]/home/ertlj/ertljVersion/egenix-mx-commercial-2.0.7>gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-39)
> 
> John C. Ertl
> Fleet Numerical Meteorology & Oceanography Center
> 7 Grace Hopper Ave
> Monterey, CA 93943
> phone: (831) 656-5704
> fax:   (831) 656-4363
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> https://www.egenix.com/mailman/listinfo/egenix-users

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Mar 24 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the egenix-users mailing list