[egenix-users] Cannot build debug version of mx-base

M.-A. Lemburg mal at egenix.com
Sat Nov 28 19:45:58 CET 2009


Philip Rooke wrote:
> Hi,
> 
> I am trying to build a debug version of TextTools which I hope might provide
> some insight on my (not quite working) tag tables.  I am on Mac OS X 10.5
> and python 2.6.  I had previously installed the MacPorts version of the base
> tools but uninstalled them before trying this build (macports does not seem
> to have a +debug variant).
> 
> Following instructions from the web site I downloaded the source .tar.gz and
> then:
> 
> [egenix-mx-base-3.1.2] $ sudo python setup.py mx_autoconf --enable-debugging
> build
> 
> <...snip...>
> 
> Traceback (most recent call last):
>   File "setup.py", line 16, in <module>
>     mxSetup.run_setup(configurations)
>   File "/Users/phil/Downloads/egenix-mx-base-3.1.2/mxSetup.py", line 3505,
> in run_setup
>     apply(setup, (), kws)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
> line 152, in setup
>     dist.run_commands()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 987, in run_commands
>     self.run_command(cmd)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 1007, in run_command
>     cmd_obj.run()
>   File "/Users/phil/Downloads/egenix-mx-base-3.1.2/mxSetup.py", line 937, in
> run
>     build_ext.ensure_finalized()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py",
> line 117, in ensure_finalized
>     self.finalize_options()
>   File "/Users/phil/Downloads/egenix-mx-base-3.1.2/mxSetup.py", line 1702,
> in finalize_options
>     build_ext.finalize_options(self)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py",
> line 254, in finalize_options
>     defines = self.define.split(',')
> AttributeError: 'list' object has no attribute 'split'

This is strange.

The command works for me on both Linux.

I did notive a strange problem with the .tar.gz version of the
archive on Mac OS X 10.6, though: every second or so extraction
using tar resulted in the same error you got. With the .zip
version, this did not happen.

I guess something is broken in Apple's tar.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 28 2009)
>>> 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 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
               http://www.egenix.com/company/contact/



More information about the egenix-users mailing list