This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: tcl/tk extension problems
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