Re: Hard link problem during build
- From
- Peter Eriksen <s022018@student.dtu.dk>
- Date
- Apr 2, 2008, 12:12 UTC
- Message-ID
- <yqsr1w5oa21w.fsf@rifpc20.inf.ethz.ch>
- In-Reply-To
- <606CC410B038E34CB97646A32D0EC0BF09E1A4@venusbis.synchrotron-soleil.fr>
...
> I am working with a filesystem mounted via nfs.
...
> It seems that it do not allow hard linkage. Nevertheless soft linkage > is allow.
Beware that git depends on that stat() gives the correct (Posix) size of symlinks. This can give problems, if a Windows filesystem is mounted over NFS.
Show 5 quoted lines
> So the build process failed during the link of built-in commands. > git-merge-subtree$X: target and > $(BUILT_INS): target. > > Is it necessary to do hard link instead of soft link ?
You can change the Makefile (look for calls to 'ln') to copy the build-in commands instead of linking them, and that should work (but waste some space).
Peter