From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Keith Seitz Cc: insight@sources.redhat.com Subject: Re: tcl/tk extension problems Date: Mon, 13 Aug 2001 14:49:00 -0000 Message-id: <20010813165042.A8857@visi.com> References: <20010813154132.A13016@visi.com> X-SW-Source: 2001-q3/msg00124.html On Mon, Aug 13, 2001 at 02:07:04PM -0700, Keith Seitz wrote: > On Mon, 13 Aug 2001, Grant Edwards wrote: > > > I'm trying to build and install insight-5.0, and it's failing > > because the directory where I built and installed it 8 months > > ago isn't there. > > I don't quite understand. You're doing a clean build and install and it's > complaining about something you did months ago??? > > > The files /usr/local/lib/tclConfig.sh and > > /usr/local/lib/tkConfig.sh seem to have stored away paths to > > the previous build directory, and now I'm in trouble because I > > deleted that directory, and the current "make install" is > > trying to use files out of a long-deceased build/source > > directory. > > These files should not be used by insight. Insight should be looking for > the tclConfig.sh and tkConfig.sh that are generated by its own copies of > tcl and tk. It's the itcl/itk config file that found the previous installation: /home/grante/mybuild/BUILD/insight-5.0/itcl/iwidgets3.0.0/unix: Makefile:ITCL_SRC_DIR = /home/grante/insight-5.0-mod/itcl/itcl Makefile:ITK_SRC_DIR = /home/grante/insight-5.0-mod/itcl/itk config.status:s%@ITCL_SRC_DIR@%/home/grante/insight-5.0-mod/itcl/itcl%g config.status:s%@ITK_SRC_DIR@%/home/grante/insight-5.0-mod/itcl/itk%g It looks like the configure.in files searches default locations if it isn't passed the --with-tcl option. -- Grant Edwards grante@visi.com