Re: PostGreSQL on NT 4.0

Lists: pgsql-ports
From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: TJHart(at)thoughtworks(dot)COM
Cc: Pgsql-Ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: PostGreSQL on NT 4.0
Date: 2001-03-20 03:29:22
Message-ID: 20010319222922.A323@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Tom,

On Mon, Mar 19, 2001 at 06:57:07PM -0800, TJHart(at)thoughtworks(dot)COM wrote:
> FYI... in case you get any other bone-head developers asking....
> My problem was that I assumed that /bin and /usr/bin were the same ( i.e.,
> one was a symlink for the other ). For some reason, I have a cygwin/bin and
> a cygwin/usr/bin that are different directories.

The above implies that your Cygwin installation is not correct. Due to
the default mounts (via setup.exe), /bin and /usr/bin should resolve
to the same directory. Try re-running setup.exe to fix your mounts.
If that does not work than try using mount/umount directly. Your mounts
should look something like:

$ mount
Device Directory Type Flags
C:\Cygwin\bin /usr/bin system binmode
C:\Cygwin\lib /usr/lib system binmode
C:\Cygwin / system binmode
...

As a last resort, there is always regedit/regedt32. The keys to whack are
under:

HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

or:

HKCU\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

Jason

--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp. Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com


From: Fred Yankowski <fred(at)ontosys(dot)com>
To: TJHart(at)thoughtworks(dot)COM, Pgsql-Ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: PostGreSQL on NT 4.0
Date: 2001-03-20 19:25:32
Message-ID: 20010320132532.A39786@enteract.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Only use 'tar' to unpack Cygwin packages, not 'winzip', because the
latter doesn't understand Cygwin's mount points and can (mistakenly)
create the separate /bin and /usr/bin directories. Been there, done that.

> On Mon, Mar 19, 2001 at 06:57:07PM -0800, TJHart(at)thoughtworks(dot)COM wrote:
> > FYI... in case you get any other bone-head developers asking....
> > My problem was that I assumed that /bin and /usr/bin were the same ( i.e.,
> > one was a symlink for the other ). For some reason, I have a cygwin/bin and
> > a cygwin/usr/bin that are different directories.

--
Fred Yankowski fred(at)OntoSys(dot)com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA