Re: installation problems

From: Jason Tishler <jason(at)tishler(dot)net>
To: pgsql(at)mohawksoft(dot)com
Cc: Ed(dot)Redman(at)dal(dot)ca, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: installation problems
Date: 2003-04-28 16:30:26
Message-ID: 20030428163025.GE1864@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Mon, Apr 28, 2003 at 10:39:43AM -0400, pgsql(at)mohawksoft(dot)com wrote:
> > On Fri, Apr 25, 2003 at 03:32:56PM -0400, pgsql(at)mohawksoft(dot)com wrote:
> >> Funny, but cygwin's "symlink" mechanism is pretty poor.
> >
> > Huh? AFAICT, Cygwin's symlinks work as expected (i.e., identical to
> > symlinks on other Unixes). Of course, Cygwin symlinks only work
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
************************************

> > when interpreted by a Cygwin as opposed to Win32 process.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
********************************************************

> From the perspective of a Windows application trying to run a cygwin
> application which is a symlink to another cygwin application it does
> not look like UNIX symlinks.

See above...

> Cygwin symlinks are *not* symlinks, they are application level
> indirections.

We are beginning to argue semantics which are not benefiting the OP...

> NT does support symlinks at the driver level, but I don't know if it
> is practical or possible to use them for the file system.

The above has been discussed before on the various Cygwin mailing lists.
It is unlikely that the above will ever become part of Cygwin.

> >> Rather than using a symlink, copy postgres.exe to postmaster.exe
> >> and see if that works.
> >
> > The above is unlikely to help.
>
> Really?

Yes.

> It is one of the things I needed to do to get the "PostgreSQL for
> Windows" Install CD to work.

Note that the above is not needed with the standard Cygwin PostgreSQL
package.

Anyway, the OP indicated the following:

On Mon, Apr 21, 2003 at 11:07:16AM -0300, Ed Redman wrote:
> the following command will not run
>
> cygrunsrv --install postmaster --path /usr/bin/postmaster --args
> "-D /usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT
> --user postgres --shutdown

Since cygrunsrv is a Cygwin process, it will resolve the postmaster
symlink correctly.

> It depends on which API is being used to load the executable. If the
> Windows API is used to load the EXE, then you can not use a cygwin
> symlink.

See above...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-04-29 02:34:45 Re: PostgreSQL installation problems
Previous Message Jason Tishler 2003-04-28 16:11:50 Re: Compiling cvs code with Cygwin problems