public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Cor van Loos <C_van_Loos@excite.com>, <Insight@sourceware.cygnus.com>
Subject: Re: Building Insight (2)
Date: Thu, 29 Jun 2000 17:24:00 -0000	[thread overview]
Message-ID: <B581369F.1ECB%jingham@apple.com> (raw)
In-Reply-To: <17962774.962279561504.JavaMail.imail@derby>

Also sprach Cor van Loos:

> Hello again,
> 
> I downloaded the insight+dejagnu-2000-0612.tar.bz2 file and decompressed it.
> 
> After that I did the following:
> 
> 
> bash-2.04$ mkdir win32
> bash-2.04$ cd win32
> bash-2.04$ ../insight/configure --target=h8300-hms
> ...
> ... (All goes okay here, I think..)
> ...
> bash-2.04$ make
> ...
> ...
> ...
> make  all-recursive
> make[2]: Entering directory `/win32/libgui'
> Making all in library
> make[3]: Entering directory `/win32/libgui/library'
> TCL_LIBRARY=../../../insight/libgui/library/../../tcl/library; export
> TCL_LIBRAR
> Y; \
> here=`pwd`; \
> \
> cd ../../../insight/libgui/library && \
> echo " auto_mkindex `pwd` advice.tcl balloon.tcl bbox.tcl bgerror.tcl
> bindings
> .tcl canvas.tcl cframe.tcl center.tcl debug.tcl def.tcl internet.tcl
> font.tcl ge
> nsym.tcl gettext.tcl hooks.tcl lframe.tcl list.tcl looknfeel.tcl menu.tcl
> mono.t
> cl multibox.tcl parse_args.tcl path.tcl postghost.tcl prefs.tcl print.tcl
> sendpr
> .tcl topbind.tcl toolbar.tcl treetable.tcl ulset.tcl wframe.tcl wingrab.tcl
> vent
> ry.tcl combobox.tcl pane.tcl panedwindow.tcl tree.tcl" |
> $here/../../itcl/itcl/u
> nix/itclsh.exe
> /win32/libgui/library/../../itcl/itcl/unix/itclsh.exe: not found
> make[3]: *** [tclIndex] Error 127
> make[3]: Leaving directory `/win32/libgui/library'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/win32/libgui'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/win32/libgui'
> make: *** [all-libgui] Error 2
> bash-2.04$
> 

Yeah, this looks like a configure bug in libgui.  I vaguely remember fixing
this in the past (or maybe Chris or Syd did?)?  Anyway, the configure is
setting ITCL_SH to point to the unix directory.  Clearly, it should
conditionalize based on whether the HOST is windows or not, and look in the
win directory if it is.

I think you can fix this with an environment variable, so if itclsh.exe is
in /win32/itcl/itcl/win, then try:

make ITCL_SH=/win32/itcl/itcl/win/itclsh.exe

If this doesn't work, just go edit libgui/Makefile, and replace the
unix/itclsh.exe with win/itclsh.exe, and that also will work.

Somebody should fix this (not me, I ain't got no Windows boxes...)

P.S. I also agree with Keith that libgui should NOT be trying to make the
tclIndex as part of the build.  It is too fragile, particularly since the
wrong version of Itclsh can cause really bad things to happen...

Jim
Apple Computer 

  parent reply	other threads:[~2000-06-29 17:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-29  4:52 Cor van Loos
2000-06-29  5:13 ` Mo DeJong
2000-06-29  5:45 ` Keith Seitz
2000-06-29 15:47 ` Kai Ruottu
2000-06-29 17:24 ` Jim Ingham [this message]
2000-06-29 17:34   ` Syd Polk
2000-06-29 17:37   ` Tom Tromey
2000-06-29 18:00     ` Jim Ingham
  -- strict thread matches above, loose matches on Subject: below --
2000-06-28  0:21 Cor van Loos
2000-06-28  9:13 ` Syd Polk
2000-06-23  5:35 Cor van Loos
2000-06-23  5:57 ` Mo DeJong

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=B581369F.1ECB%jingham@apple.com \
    --to=jingham@apple.com \
    --cc=C_van_Loos@excite.com \
    --cc=Insight@sourceware.cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).