Bugs item #1669349, was opened at 2007-02-26 19:22
Message generated for change (Comment added) made by percivall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1669349&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matthias S. Benkmann (mbenkmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails if no previous Python installation

Initial Comment:
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.



----------------------------------------------------------------------

Comment By: Simon Percivall (percivall)
Date: 2007-03-21 12:26

Message:
Logged In: YES 
user_id=329382
Originator: NO

It shouldn't be a problem changing the Makefile to do sharedinstall before
libinstall in the altinstall target. I'm guessing that would solve the
problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1669349&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to