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 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