Re: Small suggestion on build script - Mailing list pgsql-hackers

From Dann Corbit
Subject Re: Small suggestion on build script
Date
Msg-id D90A5A6C612A39408103E6ECDD77B8299CA9C2@voyager.corporate.connx.com
Whole thread Raw
In response to Small suggestion on build script  ("Dann Corbit" <DCorbit@connx.com>)
Responses Re: Small suggestion on build script  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Small suggestion on build script  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> -----Original Message-----
> From: Dann Corbit
> Sent: Wednesday, April 07, 2004 10:34 AM
> To: Tom Lane
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Small suggestion on build script
>
>
> > -----Original Message-----
> > From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> > Sent: Tuesday, April 06, 2004 10:55 PM
> > To: Dann Corbit
> > Cc: pgsql-hackers@postgresql.org
> > Subject: Re: [HACKERS] Small suggestion on build script
> >
> >
> > "Dann Corbit" <DCorbit@connx.com> writes:
> > > I would like to suggest changing the symlinks to copy commands:
> >
> > That would cause make to fail to handle update dependencies
> > on the linked files.
>
> An unconditional copy will cause no breakage.  It's not a big
> deal, I can always edit the files by hand.  Or I can write a
> sed script that fixes it automatically.
>
> > > The reason is that under Mingw, I get random failures with the
> > > symlinks
> >
> > This is the worst sort of Microsoft imperialism that I hoped
> > we'd not be succumbing to by having a Windows port :-(.  "If
> > it doesn't work on Windows then the rest of you have to give
> > up functionality."  How about filing a bug report against the
> > Mingw breakage, instead of expecting us to try to work around it?
>
> The problem has nothing to do with Microsoft imperialism.
> Microsoft has no connection to Mingw, it is an independent tool set.
>
> Filing the bug report is a good idea.

The response from the Mingw team:
>Comment By: Earnie Boyd (earnie)
Date: 2004-04-08 07:33

Message:
Logged In: YES
user_id=15438

Symbolic links to files and directories do not work on Win32
in general.  Support for symlink operation is limited to the source
directory or file existing and being able to copy the source to the
destination.

You will need to modify the package to do the appropriate
thing for the environment.

Earnie


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: PostgreSQL configuration
Next
From: Bruno Wolff III
Date:
Subject: Re: using index on comparison with bit-operation?