Headaches building Source Navigator under Windows

Mo DeJong supermo@bayarea.net
Tue Feb 26 09:12:00 GMT 2002


On Fri, 22 Feb 2002 13:07:46 -0800
Bruce Edson <bruce@steptech.com> wrote:

> I went to Cygwin site and figured out how to get the rest of the utilities.
> So, now I am at the point where the 'configure' as described in the readme
> file, breaks with the following errors.

> ../sourc/configure --host=i686-pc-cygwin
> --prefix="c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav"

Well, this looks ok. Any particular reason you passed a --host option here?
 
> 2.
> configuring in itcl/win
> running /bin/sh ../../../../source/itcl/itcl/win/configure
> --host=i686-pc-cygwin --target=i686-pc-cygwin
> '--prefix=c:/docume~1/bruce/hpkeck~1/snkeck~1/opt/sourcenav'
> --cache-file=../../../config.cache --srcdir=../../../../source/itcl/itcl/win
> cd: can't cd to ../../../tcl/win

Humm, I would think that should be looking in ../tcl8.1/win, but I
am not sure if it matters.

> 6.
> Configuring snavigator...
> checking for Tcl configuration script... (cached)
> /snbuild/tcl8.1/unix/tclConfig.sh
> checking for Tk configuration script... (cached)
> /snbuild/tk8.1/unix/tkConfig.sh
> checking for Tcl headers in the source tree... (cached) configure: error:
> Can't find any Tcl headers
> Configure in /snbuild/snavigator failed, exiting.

Well, this is not right. It should be checking in tcl8.1/win not the
unix subdir. Me thinks something has gone wrong in tcl8.1/configure.in
where it selects either the unix subdir or the win subdir based on the
--host setting.

Go into your $build/tcl8.1 dir and run this grep:
grep CONFIGDIR config.status

You should get a result like:
s%@CONFIGDIR@%win%g

If you get "unix" instead of "win" then that is the problem. You could try
to not pass a --host option and see if that makes any diff.

cheers
Mo



More information about the Sourcenav mailing list