[mercury-users] Compiling Mercury on Redhat 7.0

Fergus Henderson fjh at cs.mu.OZ.AU
Thu May 15 18:12:02 AEST 2003

On 15-May-2003, David Overton <dmo at cs.mu.OZ.AU> wrote:
> On Thu, May 15, 2003 at 04:57:21PM +1000, Fergus Henderson wrote:
> > On 15-May-2003, Michael Day <mikeday at yeslogic.com> wrote:
> > > 
> > > Thanks, I think it must have been a time stamp issue, as with some
> > > fiddling around and reconfiguration everything worked (although the
> > > Makefile does rely on making a hard link from "top_level" to
> > > "mercury_compile" which is impossible on file systems without hard links).
> > 
> > We don't rely on it being a hard link; a copy suffices.
> > We do rely on the "ln" command, but on file systems without hard links,
> > Cygwin's "ln" just makes a copy, and that is sufficient for our purposes.
> I think the problem is that Michael was using a VFAT file system under
> Linux.  If you try to make a hard link on such a file system using GNU
> ln under Linux you get an error message:
> 	ln: creating hard link `bar' to `foo': Operation not permitted

Oh, I see what you mean.

I have just committed a patch to fix that,
by using "cp" as a fall-back if "ln" fails.

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe

More information about the users mailing list