[Python-Dev] make install fails with current Python CVS

M.-A. Lemburg mal@lemburg.com
Thu, 12 Dec 2002 13:21:48 +0100


> "M.-A. Lemburg" <mal@lemburg.com> writes:
>>>I've tried to run a "make install" with todays CVS version, but
>>>this fails on my Linux box with the following error:
 >
>Looking at the output of ./python -vv it appears as if the struct
>cannot be loaded (which is imported by codecs.py).

Ok, I've narrowed down the problem to the missing shared mods
struct and _codecs. It seems that the distutils setup.py is
not run before installing and compiling the .py files.

There are two options:
1. tweak the Makefile targets
2. make struct and _codecs built-in modules

I think the second option is more attractive.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting:                               http://www.egenix.com/
Python Software:                    http://www.egenix.com/files/python/