Author mbenkmann
Recipients
Date 2007-02-26.18:22:01
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When installing Python 2.5 on a completely Python-less system 'make install' failed. The error that caused the failure was

Compiling /usr/lib/python2.5/test/test_multibytecodec.py ...
Sorry: UnicodeError: ("\\N escapes not supported (can't load unicodedata module)",)
[snip]
Compiling /usr/lib/python2.5/zipfile.py ...
make: *** [libinstall] Error 1

'find -name unicodedata.so' showed me that the library did not exist in the build tree. However, after a 'make -i install' to force make to continue despite the error, unicodedata.so was there. So apparently the library is not built until a later stage of make install. And indeed, subsequent 'make install' calls without -i were successful. 

It is important to note that if you have a previous Python installation (at least of the same version), 'make install' will go through, because it'll load the library from there. So if you want to reproduce the issue you will have to install from a freshly unpacked tarball on a system with no Python installation.

History
Date User Action Args
2007-08-23 14:52:10adminlinkissue1669349 messages
2007-08-23 14:52:10admincreate