[Patches] [ python-Patches-696613 ] test options don't work on FreeBSD
SourceForge.net
noreply@sourceforge.net
Tue, 04 Mar 2003 03:04:32 -0800
Patches item #696613, was opened at 2003-03-03 16:19
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=696613&group_id=5470
Category: Build
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Ben Laurie (benl)
Assigned to: Jack Jansen (jackjansen)
Summary: test options don't work on FreeBSD
Initial Comment:
test -L is used during make install - I'm guessing it
is supposed to test for a softlink. Sadly, this is -h
under FreeBSD, so the install fails.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2003-03-04 12:04
Message:
Logged In: YES
user_id=45365
Checked in as Makefile.pre.in 1.116.
Now let's hope there's no platforms out there that only have -h and not -L, but if that is so then it should become clear when 2.3b1 hits the street.
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-04 05:03
Message:
Logged In: YES
user_id=33168
What version of FreeBSD? I'm on 4.7 (SF compile farm), and
the man page says:
-h file True if file exists and is a symbolic
link. This operator
is retained for compatibility with
previous versions of
this program. Do not rely on its
existence; use -L
instead.
I tested -h on Linux, HPUX11, and Solaris 8. -h and -L both
work fine.
Assigning to Jack, since he checked in this code. I wonder
if there's any issue on the Mac?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=696613&group_id=5470