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

M.-A. Lemburg mal@lemburg.com
Thu, 12 Dec 2002 12:10:46 +0100


M.-A. Lemburg wrote:
> Martin v. L=F6wis wrote:
>=20
>>> I've tried to run a "make install" with todays CVS version, but
>>> this fails on my Linux box with the following error:
>>>
>>> Compiling
>>
>>
>> /home/lemburg/projects/Python/Installation/lib/python2.3/test/test_pep=
26
>> 3.py ...
>>
>>> Sorry: MemoryError:

Could this error message be made more helpful :-)

>>
>> That is typically an indication that the codec lookup has failed. Can
>> you try to lookup the koi8-r codec interactively?
>=20
>=20
> Hmm, I get:
>=20
> Python/Dev-Python> ./python
> Python 2.3a0 (#1, Dec 12 2002, 11:48:24)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> unicode('x', 'koi8-r')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> LookupError: no codec search functions registered: can't find encoding
>  >>>
>=20
> Looking at the output of ./python -vv it appears as if the struct
> cannot be loaded (which is imported by codecs.py).

Might help:
For some reason I don't see a build/ dir in the Python distribution
directory.

--=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/