Обсуждение: Re: PostGreSQL on NT 4.0
Tom,
On Mon, Mar 19, 2001 at 06:57:07PM -0800, TJHart@thoughtworks.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.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
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@thoughtworks.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@OntoSys.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