M.-A. Lemburg wrote: > Martin v. L=F6wis wrote: >=20 >>> 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. >> >> There is a third option: >> >> 3. Document that the proper build procedure is "configure;make;make >> install" >=20 > That's what I did. It still fails:=20 Ah, didn't see the separate "make;" in there. You're right, Martin, I ran "./configure; make install" using a script. The analysis below applies to this way of invoking the make process. > the reason is that shared mods > are built *after* python itself is built and since struct and > _codecs are shared mods, compiling the .py files doesn't work > since that's done when building the python target (before building > the shared mods). I'll check in a fix which makes _codecs a builtin and removes the struct dependency from codecs.py. --=20 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/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4