[Patches] [ python-Patches-591551 ] Remove symlink python during install
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 09 Aug 2002 07:41:58 -0700
Patches item #591551, was opened at 2002-08-06 15:48
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=591551&group_id=5470
Category: Build
Group: Python 2.3
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: Remove symlink python during install
Initial Comment:
During "make bininstall" an existing "python" in the bindir is removed. This fails, however, if the file in question is a symlink in stead of a regular file/hardlink.
As an OSX framework install can deposit a symlink into /usr/local/bin/python it would be nice if a subsequent normal install would do the right thing.
I'm posting this as a patch because I'm not sure how common "test -L file" is. Otherwise "test -e file" may be a better idea.
Assigned to Martin as he seems to be one of the major build gurus.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2002-08-09 16:41
Message:
Logged In: YES
user_id=45365
Ok, I volunteer...
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-08-08 12:25
Message:
Logged In: YES
user_id=21627
The patch sounds good to me. It might be that the system
does not support test -L; in this case, we will need autoconf
magic to find whether test supports -L.
I think we can defer this until the problem comes up; I'd
appreciate if you could volunteer to add the autoconf test if
the problem comes up.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=591551&group_id=5470