* insight and cygwin build failure
@ 1999-08-13 12:22 David Croley
1999-08-13 12:32 ` James Ingham
0 siblings, 1 reply; 4+ messages in thread
From: David Croley @ 1999-08-13 12:22 UTC (permalink / raw)
To: insight
I'm still having problems...building insight under cygwin 20.1.
It seems to fail when building libgui. I'm building in a subdir,
and it looks like it's failing to find itclsh. I'm
not sure what to expect in the itcl/itcl subdir. I get both a win dir and a
unix dir. At the point of the failure below, the unix dir had only one file
(pkgIndex.tcl) in it. Should there be a makefile in itcl/itcl/unix which
would make the expected itclsh.exe?
Here's the failure....
Making all in library
TCL_LIBRARY=../../../libgui/library/../../tcl/library; export TCL_LIBRARY; \
here=`pwd`; \
\
cd ../../../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
gensym.tcl gettext.tcl hooks.tcl lframe.tcl list.tcl looknfeel.tcl menu.tcl mon
o.tcl multibox.tcl parse_args.tcl path.tcl postghost.tcl prefs.tcl print.tcl sen
dpr.tcl topbind.tcl toolbar.tcl treetable.tcl ulset.tcl wframe.tcl wingrab.tcl v
entry.tcl combobox.tcl pane.tcl panedwindow.tcl tree.tcl" | $here/../../itcl/itc
l/unix/itclsh.exe
/bin/sh: /ddrive/croley/dac/insight-19990727/build1/libgui/library/../../itcl/it
cl/unix/itclsh.exe: No such file or directory
make[3]: *** [../../../libgui/library/tclIndex] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-libgui] Error 2
Any ideas?
BTW, I need to build it myself because I want to port insight to a new Motorola
part.
David
--
David Croley : "The best way to have a good idea is to have
David.Croley@motorola.com : lots of ideas." - Linus Pauling
Motorola - GSD-Austin :
Software Engineer/Hacker :
^ permalink raw reply [flat|nested] 4+ messages in thread
* insight and cygwin build failure
1999-08-13 12:22 insight and cygwin build failure David Croley
@ 1999-08-13 12:32 ` James Ingham
1999-08-17 8:10 ` David Croley
0 siblings, 1 reply; 4+ messages in thread
From: James Ingham @ 1999-08-13 12:32 UTC (permalink / raw)
To: David Croley; +Cc: insight
David,
This is just a bug in the Makefile for libgui/library. It should be
looking for ittclsh.exe in itcl/itcl/win, not itcl/itcl/unix.
The following patch will work for now, though it is not the right
solution, we need to do some more configury to make this depend on platform...
Jim
Index: libgui/library/Makefile.in
===================================================================
RCS file: /cvs/cvsfiles/devo/libgui/library/Makefile.in,v
retrieving revision 1.33
diff -p -r1.33 Makefile.in
*** Makefile.in 1999/03/15 10:13:25 1.33
--- Makefile.in 1999/08/13 19:30:53
*************** gui_DATA = tclIndex pkgIndex.tcl $(TCL)
*** 150,156 ****
WISH = wish
@CROSS_COMPILING_TRUE@ITCL_SH = itclsh
! @CROSS_COMPILING_FALSE@ITCL_SH = $$here/../../itcl/itcl/unix/itclsh$(EXEEXT)
ETAGS_ARGS = --lang=none --regex='/[ \t]*\(proc\|method\|itcl_class\)[ \t]+\([^ \t]+\)/\1/' $(TCL) --lang=auto
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
--- 150,156 ----
WISH = wish
@CROSS_COMPILING_TRUE@ITCL_SH = itclsh
! @CROSS_COMPILING_FALSE@ITCL_SH = $$here/../../itcl/itcl/win/itclsh$(EXEEXT)
ETAGS_ARGS = --lang=none --regex='/[ \t]*\(proc\|method\|itcl_class\)[ \t]+\([^ \t]+\)/\1/' $(TCL) --lang=auto
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
--
++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
Jim Ingham jingham@cygnus.com
Cygnus Solutions Inc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: insight and cygwin build failure
1999-08-13 12:32 ` James Ingham
@ 1999-08-17 8:10 ` David Croley
0 siblings, 0 replies; 4+ messages in thread
From: David Croley @ 1999-08-17 8:10 UTC (permalink / raw)
To: James Ingham; +Cc: David Croley, insight
James Ingham wrote:
>
> David,
>
> This is just a bug in the Makefile for libgui/library. It should be
> looking for ittclsh.exe in itcl/itcl/win, not itcl/itcl/unix.
>
> The following patch will work for now, though it is not the right
> solution, we need to do some more configury to make this depend on platform...
>
> Jim
>
>
> [patch deleted to save space]
Actually, I changed the patch to look for cygitclsh30.exe. With this change
and the lastest snapshot of 0809, I can successfully build insight on
a stock cygwin B20.1 installation. It even seems to run correctly and looks
great.
--
David Croley : "The best way to have a good idea is to have
David.Croley@motorola.com : lots of ideas." - Linus Pauling
Motorola - GSD-Austin :
Software Engineer/Hacker :
^ permalink raw reply [flat|nested] 4+ messages in thread
* insight and cygwin build failure
@ 1999-07-30 9:43 David Croley
0 siblings, 0 replies; 4+ messages in thread
From: David Croley @ 1999-07-30 9:43 UTC (permalink / raw)
To: insight
I am also having problems building insight under cygwin 20.1. It seems to
fail when building libgui. I've tried building in a seperate subdir, but
it seems to have made no difference. Below, /ddrive is a binary mount. This
is all on NT4 SP3.
bash-2.02$ mount
Device Directory Type Flags
d: /ddrive native text!=binary
C: / native text!=binary
Also, I can't seem to get "make distclean" to work correctly.
Here's the failure....
Making all in library
TCL_LIBRARY=../../../libgui/library/../../tcl/library; export TCL_LIBRARY; \
here=`pwd`; \
\
cd ../../../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
gensym.tcl gettext.tcl hooks.tcl lframe.tcl list.tcl looknfeel.tcl menu.tcl mon
o.tcl multibox.tcl parse_args.tcl path.tcl postghost.tcl prefs.tcl print.tcl sen
dpr.tcl topbind.tcl toolbar.tcl treetable.tcl ulset.tcl wframe.tcl wingrab.tcl v
entry.tcl combobox.tcl pane.tcl panedwindow.tcl tree.tcl" | $here/../../itcl/itc
l/unix/itclsh.exe
/bin/sh: /ddrive/croley/dac/insight-19990727/build1/libgui/library/../../itcl/it
cl/unix/itclsh.exe: No such file or directory
make[3]: *** [../../../libgui/library/tclIndex] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-libgui] Error 2
It appears that the build is looking for itcl/itcl/unix/itclsh.exe, when it
should be looking for itcl/itcl/win/cygitclsh.exe ? Or is it failing to build
itclsh.exe? I've verified that I don't have any environment variables
defined that would interfere with the build. Any ideas?
David
--
David Croley : "The best way to have a good idea is to have
David.Croley@motorola.com : lots of ideas." - Linus Pauling
Motorola - GSD-Austin :
Software Engineer/Hacker :
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-08-17 8:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-13 12:22 insight and cygwin build failure David Croley
1999-08-13 12:32 ` James Ingham
1999-08-17 8:10 ` David Croley
-- strict thread matches above, loose matches on Subject: below --
1999-07-30 9:43 David Croley
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).