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 15:23:00 -0000 Message-id: <20010813172437.A21110@visi.com> References: <20010813154132.A13016@visi.com> <20010813165042.A8857@visi.com> X-SW-Source: 2001-q3/msg00125.html On Mon, Aug 13, 2001 at 04:50:43PM -0500, 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??? [...] > 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. I renamed /usr/local/lib/itkConfig.sh and /usr/local/lib/itclConfig.sh, and everything installed fine. When the itk/itcl configure scripts are run, they aren't being passed the --with-tcl flag to tell them where to look for configuration info, so they look for *Config.sh in standard places -- including /usr/local/lib. They find those files from a previous install and use them. -- Grant Edwards grante@visi.com