Martin v. L=F6wis wrote: >>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. >=20 >=20 > There is a third option: >=20 > 3. Document that the proper build procedure is "configure;make;make > install" That's what I did. It still fails: 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'm +1 on option 2. > Actually, that is documented, so I'd vote "pilot error". >=20 > That said, I'm always in favour of making more modules builtin again, a= s > this simplifies the build process and may slightly improve performance > if the module is imported. --=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