[egenix-users] Error compiling egenix-mx-base (again)

M.-A. Lemburg mal at egenix.com
Mon Aug 6 19:18:14 CEST 2012

Leonardo Santagada wrote:
> On Fri, Aug 3, 2012 at 5:34 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>> Leonardo Santagada wrote:
>>> On Fri, Aug 3, 2012 at 5:14 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>>>> Leonardo Santagada wrote:
>>>>> other extensions like cython, pillow, simplejson and others that have
>>>>> C modules all compile just fine, is this going to be fixed or should I
>>>>> try installing python from homebrew?
>>>> As far as I can see, there will be some minimal backport for Python 2.7.
>>> It is working for the other extensions I told you about... it just
>>> don't work for egenix stuff.
>> distutils' sysconfig.py was patched in 2.7.3 without paying too
>> much attention to breaking things.
>> mxSetup doesn't use the distutils sysconfig.py module, but has it's
>> own way of configuring the compiler on Unix platforms (one which allows
>> for more flexibility in overriding setting using environment variables).
>> I guess we could change this to use distutils' sysconfig.py for Python 2.7.3,
>> but if you look at this patch on the ticket:
>> http://bugs.python.org/file26105/issue13950-version3.patch
>> you'll see that the sysconfig.py patching is likely going to be
>> removed again in 2.7.4.
> why not just use sysconfig.py or just have another module that does
> this, then I (and everyone that use buildout/pip/easy_install) can
> just install it without having to figure this out on every machine
> that we need to install to?
>> The better way to do all this is using environment variables. Set CC to
>> your compiler as mentioned on the bug message and things should work
>> (now and also for 2.7.4).
> I don't have any clue to what those values should be, but sysconfig.py
> does, in everymachine that I ever used. (my main problem in this
> machine is where the macosx sdk are stored, but then again, sysconfig
> knows).

We'll add a fix to the next patch level release of egenix-mx-base.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Aug 06 2012)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
2012-08-25: FrOSCon, St. Augustin, Germany ...             19 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the egenix-users mailing list