Andrew,
On Thu, Jan 16, 2003 at 08:47:52AM -0800, Andrew Klimov wrote:
> Jason, many thanks to you for patch and comments!
You are welcome.
> But,I'm not a cygwin "guru".So, how to apply the tcl.patch?I have
> placed it to /usr/src/postgresql-7.3.1 and then run:
>
> patch -p1 < tcl.patch. And this gives me:
Since the patch is against CVS, you need to supply the -p0 option:
$ cd /usr/src/postgresql-7.3.1/src
$ patch -p0 </usr/src/postgresql-7.3.1/tcl.patch
patching file interfaces/libpgtcl/Makefile
patching file makefiles/Makefile.win
patching file pl/tcl/Makefile
Hunk #1 succeeded at 40 (offset -3 lines).
patching file pl/tcl/pltcl.c
> My Question : should I place tclConfig.sh (and tkConfig.sh) which is
> originally in /cygwin/lib directory to /cygwin/usr/lib directory?
No. The /lib and /usr/lib directories are actually the same (e.g.,
C:\cygwin\lib) but appear to be two due to a mount point:
$ mount
C:\cygwin on / type system (binmode)
**> C:\cygwin\lib on /usr/lib type system (binmode) <**
...
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