[egenix-users] Problem building egenix-mx-commercial

M.-A. Lemburg mal at egenix.com
Wed Apr 28 10:48:42 CEST 2004


Charles Bearden wrote:
> I'm trying to build the commercial package for RH9 and iODBC 3.51.2
> following the instructions at
> 
>   http://www.egenix.com/files/python/mxODBC.html#Installation
> 
> .  I cd to the mx/ODBC/iODBC subdirectory, boot the Makefile system, and
> edit Setup. 

Instead of going through the make & setup process (which is probaby
broken) you should use the distutils based "python setup.py install"
process.

> All I do in Setup is to uncomment lines 406-409 and modify
> the paths to the header files & library.  When I type 'make', I get the
> following:
> 
> gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@
> -DMAL_DEBUG -DWANT_UNICODE_SUPPORT -DMISSING_SETUP -c ././mxSQLCodes.c
> -o ./mxSQLCodes.o
> gcc: cannot specify -o with -c or -S and multiple compilations make: ***
> [mxSQLCodes.o] Error 1
> 
> The default gcc is 3.2.2, but 2.96 is also available, and I get the same
> message when I alter the Makefile to make 'CC = gcc296'.
 >
> I'm not using RPMs because we weren't able to install them (some strange
> dependency issue, and I don't know anything about how this box was set
> up), so this was my other option.
> 
> Any hints to this C-ignorant user appreciated :)
> 
> Thanks,
> 
> Chuck Bearden
> Systems Analyst III
> School of Health Information Sciences
> University of Texas at Houston
> 713.500.3954 (voice)
> 713.500.3907 (fax)
> Charles.F.Bearden at uth.tmc.edu
>  
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> http://lists.egenix.com/mailman/listinfo/egenix-users

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Apr 28 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
EuroPython 2004, Göteborg, Sweden                           39 days left

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



More information about the egenix-users mailing list