Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mo DeJong <supermo@bayarea.net>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch] Fix expect build under cygwin + Tcl/Tk 8.3
Date: Mon, 15 Jul 2002 03:06:00 -0000	[thread overview]
Message-ID: <20020715002731.55d20136.supermo@bayarea.net> (raw)

Hello.

I am just checking back on a patch I sent in:

http://sources.redhat.com/ml/gdb-patches/2002-05/msg00621.html

It got one response:

http://sources.redhat.com/ml/gdb-patches/2002-05/msg00654.html

> >The current CVS version of expect does not build correctly under
> >Cygwin.  The root of the problem is that expect is searching for a
> >tclConfig.sh file in tcl/unix when it should be looking in tcl/win.
> >The following patch fixes the problem by updating the m4 macros used by
> >the expect build.

> AFAIK, expect shouldn't be using the win version of anything.  It is
> supposed to be using a UNIX-only implementation of tcl.
> cgf

I guess it would have helped if I had included the more detailed description
from my earlier post to the insight list:

"This patch will get the configure script to pickup the tclConfig.sh
out of the tcl/win subdirectory instead of the fake one Tcl is
currently generating in the tcl/unix subdirectory. One possible
objection to this patch would be that a tclConfig.sh should be
created in the tcl/cygwin subdirectory and then found there before
checking tcl/win. That may be the "more correct" thing to do, but
this patch just tries to do the "less wrong" thing since it is
the minimal change that should get everything working again."

The other way to fix the problem would be to create a new tclConfig.sh
file in the tcl/cygwin sub and populate it with needed values and then
add support for this new subdirectory to any of the Tcl extensions
that needed it. That could end up being quite a bit of work. In the
end, I don't think it would matter since expect seems to ignore the
contents of the tclConfig.sh file, it just wants it to be there. Also,
the configure scripts in the expect subdir seem to be way out of sync
with the configures in the other extensions, so it seems like a big
rewrite would be needed to actually use the contents of the tclConfig.sh
file.

So, my point is that I think my patch should be applied since it fixes
the problem. It might be the most minimal fix, but I don't see how that
is any worse than what we have now. Currently, the Windows version
of Tcl/Tk/Itcl will not build because Tcl incorrectly emits a unix/tclConfig.sh
file just to make expect happy (and that hoses Itcl).

cheers
Mo DeJong


             reply	other threads:[~2002-07-15  7:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15  3:06 Mo DeJong [this message]
2002-07-15 11:05 ` Christopher Faylor
2002-07-15 12:00   ` Keith Seitz
2002-07-15 12:58     ` Christopher Faylor
2002-07-15 13:09     ` Keith Seitz
  -- strict thread matches above, loose matches on Subject: below --
2002-07-15 16:34 Mo DeJong
2002-07-29 20:33 ` Christopher Faylor
2002-05-15 15:18 [patch] Fix expect build under Cygwin " Mo DeJong
2002-05-16 10:58 ` [patch] Fix expect build under cygwin " Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020715002731.55d20136.supermo@bayarea.net \
    --to=supermo@bayarea.net \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox