[ python-Bugs-1445781 ] install fails on hard link
SourceForge.net
noreply at sourceforge.net
Mon Apr 3 14:33:46 CEST 2006
Bugs item #1445781, was opened at 2006-03-08 18:06
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1445781&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: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: goldenautumnday (goldenautumnday)
Assigned to: Martin v. Löwis (loewis)
Summary: install fails on hard link
Initial Comment:
Installing on an attached linux drive from a Mac OS X (Tiger) system fails
because hard links are not supported. This is attempted when trying to
link python2.4 to python (ln python2.4 python). If it fails, a copy should
be performed instead.
changing mode of /Users/martinol/auto_v4.0/devel/powerpc-apple-
darwin8.5.0/bin/idle to 755
changing mode of /Users/martinol/auto_v4.0/devel/powerpc-apple-
darwin8.5.0/bin/pydoc to 755
changing mode of /Users/martinol/auto_v4.0/devel/powerpc-apple-
darwin8.5.0/bin/smtpd.py to 755
if test -f /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.5.0/
bin/python -o -h /Users/martinol/auto_v4.0/devel/powerpc-apple-
darwin8.5.0/bin/python; \
then rm -f /Users/martinol/auto_v4.0/devel/powerpc-apple-
darwin8.5.0/bin/python; \
else true; \
fi
(cd /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.5.0/bin; ln
python2.4 python)
ln: python: Operation not supported
/Users/martinol/auto_v4.0 is symbolic link to /Volumes/thing/martinol
which has been attached to using openapple-K (via SMB).
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2006-04-03 14:33
Message:
Logged In: YES
user_id=21627
If we are going to support "funny" file systems, falling
back to copying looks right to me. While Apple's SMB
implementation supports symlinks on smb (through a hack),
other implementations might not.
----------------------------------------------------------------------
Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-04-02 21:24
Message:
Logged In: YES
user_id=580910
Adding a -s flag to the link command should also fix this issue and has the
advantage that all builds will be done the same way. The cost for resolving the
symlink should be neglectible.
----------------------------------------------------------------------
Comment By: goldenautumnday (goldenautumnday)
Date: 2006-03-08 21:22
Message:
Logged In: YES
user_id=1471082
Changing line 599 in Makefile.pre.in to:
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON) || cp python
$(VERSION)$(EXE) $(PYTHON))
allowed make to complete.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1445781&group_id=5470
More information about the Python-bugs-list
mailing list