[Python-bugs-list] [ python-Bugs-446588 ] Python-2.2a1 build dies

noreply@sourceforge.net noreply@sourceforge.net
Wed, 01 Aug 2001 13:55:00 -0700


Bugs item #446588, was opened at 2001-07-31 15:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446588&group_id=5470

Category: Build
Group: Python 2.2
Status: Open
>Resolution: Works For Me
>Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python-2.2a1 build dies

Initial Comment:
after doing:

./configure --prefix=$HOME/local/STOW
make

the build bombs in the install phase with:

usr/bin/install -c ./install-sh
/home/mahler/local/STOW/Python-2.2a1/lib/python2.2/config/install-sh
/usr/bin/install -c -m 644 ./Misc/Makefile.pre.in
/home/mahler/local/STOW/Python-2.2a1/lib/python2.2/config/Makefile.pre.in
PYTHONPATH= ./python ./setup.py install \

--install-platlib=/home/mahler/local/STOW/Python-2.2a1/lib/python2.2/lib-dynload
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "./setup.py", line 6, in ?
    import sys, os, getopt
ImportError: No module named os
make[1]: *** [sharedinstall] Error 1
make[1]: Leaving directory
`/mcallister0/home/mahler/local/SRC/Python-2.2a1'
make: *** [STOW/Python-2.2a1] Error 2
rm SRC/Python-2.2a1make: unlink: SRC/Python-2.2a1: Is a
directory
 STOW/Python-2.2a1make: unlink: STOW/Python-2.2a1: Is a
directory
 SRC/Python-2.2a1/Makefile


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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-01 13:55

Message:
Logged In: YES 
user_id=6380

I can't reproduce this; configuring with a prefix works
fine.

Your story seems inconsistent: you say you configured with
prefix $HOME/local/STOW, but the output you cite looks like
it was configured with prefix $HOME/local/STOW/Python-2.2a1.

What platform?  What's $PYTHONHOME?

Try adding -v to the python invocation that fails to see the
failure traceback.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446588&group_id=5470