[Python-bugs-list] [ python-Bugs-543244 ] installation atop 2.2 fails

noreply@sourceforge.net noreply@sourceforge.net
Sat, 02 Nov 2002 19:23:14 -0800


Bugs item #543244, was opened at 2002-04-12 18:55
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=543244&group_id=5470

Category: Installation
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: David Abrahams (david_abrahams)
>Assigned to: Jason Tishler (jlt63)
Summary: installation atop 2.2 fails

Initial Comment:
Installing Python 2.2.1 atop Python 2.2 on cygwin 
fails at the last stage when it tries to create a 
link from /usr/bin/python.exe -> /usr/bin/python-
2.2.exe. Since the link already exists, installation 
stops.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-02 22:23

Message:
Logged In: YES 
user_id=33168

David, Jason, is this still a problem?  Can this be closed?

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

Comment By: Martin v. L÷wis (loewis)
Date: 2002-04-15 17:22

Message:
Logged In: YES 
user_id=21627

The ln I quoted was actually from a Linux 'make install'; I
cannot reproduce the cygwin install since I don't have
cygwin - but it *should* only differ in the BINDIR. Since
there is only one ln invocation in the makefile, it is hard
to believe that 'make install' tries to create a link in the
reverse direction.

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

Comment By: David Abrahams (david_abrahams)
Date: 2002-04-14 20:31

Message:
Logged In: YES 
user_id=52572

No, it's not that ln. Read my report again. It's 
linking /usr/bin/python -> /usr/bin/python2.2.exe. 
No "local" in the path. Since I've already installed 
2.2.1, I can't reproduce the behavior anymore without 
building myself a fresh 2.2... but it happened twice, once 
on a pydebug installation of 2.2.1 over 2.2 and once on a 
regular build.


-Dave


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

Comment By: Martin v. L÷wis (loewis)
Date: 2002-04-13 19:13

Message:
Logged In: YES 
user_id=21627

Can you report the precise sequence of commands being 
executed? Normally, it should be 
 
if test -f /usr/local/bin/python; \ 
then rm -f /usr/local/bin/python; \ 
else true; \ 
fi 
(cd /usr/local/bin; ln python2.2 python) 
 
If this is the ln that fails, it is not clear why the 
target already exists: the rm command is supposed to 
delete it. 

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

Comment By: Tim Peters (tim_one)
Date: 2002-04-12 19:09

Message:
Logged In: YES 
user_id=31435

Change Group to Platform-specific.

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

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