This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

potential tix build problem


Insight dudes,

When installing Insight, I saw the following in the output:

make[3]: Entering directory
`/export/bucket/sourceware/gdb/build/arm-elf/tix/unix/tk8.0'
TCL_LIBRARY=/home/jlarmour/sourceware/gdb/insight/src/tcl/library
TK_LIBRARY=/home/jlarmour/sourceware/gdb/insight/src/tk/library
@TCL_BIN_DIR@/tclsh
/home/jlarmour/sourceware/gdb/insight/src/tix/tools/tclc.tcl
/home/jlarmour/sourceware/gdb/insight/src/tix/library/pref/*.fsc
/home/jlarmour/sourceware/gdb/insight/src/tix/library/pref/*.csc
/home/jlarmour/sourceware/gdb/insight/src/tix/library/*.tcl \
    > tixSamLib.c
/bin/sh: @TCL_BIN_DIR@/tclsh: No such file or directory
make[3]: *** [tixSamLib.c] Error 127

The error was ignored and the make install continued. The reason for this
is actually in tcl/unix/ where there is nothing in the autoconf stuff to
substitute in the correct value of TCL_BIN_DIR into tclConfig.sh.in that I
can see.

It seems that the configury in tcl/win/ solves this, so the appropriate
patch to tcl/unix/configure.in would be:

Index: configure.in
===================================================================
RCS file: /cvs/src/src/tcl/unix/configure.in,v
retrieving revision 1.3
diff -u -5 -p -r1.3 configure.in
--- configure.in	2000/12/14 00:22:52	1.3
+++ configure.in	2001/07/26 01:51:12
@@ -1350,10 +1350,11 @@ TCL_LIB_FULL_PATH="`pwd`/${TCL_LIB_FILE}
 if test "$prefix" != "$exec_prefix"; then
     TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib"
 else
     TCL_PACKAGE_PATH="${prefix}/lib"
 fi
+TCL_BIN_DIR=`pwd`
 
 AC_SUBST(BUILD_DLTEST)
 AC_SUBST(DL_LIBS)
 AC_SUBST(DL_OBJS)
 AC_SUBST(LD_FLAGS)
@@ -1378,10 +1379,11 @@ AC_SUBST(TCL_SHARED_LIB_SUFFIX)
 AC_SUBST(TCL_SHARED_BUILD)
 AC_SUBST(TCL_SHLIB_CFLAGS)
 AC_SUBST(TCL_SRC_DIR)
 AC_SUBST(TCL_UNSHARED_LIB_SUFFIX)
 AC_SUBST(TCL_VERSION)
+AC_SUBST(TCL_BIN_DIR)
 # CYGNUS LOCAL
 AC_SUBST(TCL_SHARED_LIB_FILE)
 AC_SUBST(TCL_UNSHARED_LIB_FILE)
 # END CYGNUS LOCAL

which appears to work. 

According to src/MAINTAINERS you are the owners of this stuff so is this
right?

If it's okay to check in, off-line you can tell me how to deal with our
internal devo, and any consequences for irox's TCL update.

Jifl


2001-07-26  Jonathan Larmour  <jlarmour@redhat.com>

	* configure.in: Substitute TCL_BIN_DIR, defaulting to `pwd`.
	* configure: Regenerated.

-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]