Headaches building Source Navigator under Windows

Ralf Corsepius corsepiu@faw.uni-ulm.de
Wed Feb 27 08:32:00 GMT 2002


Am Die, 2002-02-26 um 18.11 schrieb Syd Polk:
> At 12:47 AM -0800 2/26/02, Mo DeJong wrote:
> >On Fri, 22 Feb 2002 13:07:46 -0800
> >Bruce Edson <bruce@steptech.com> wrote:

> >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.
> 
> When looking for tclConfig.sh, it looks both in ../../../tcl/win, and 
> ../../../tcl8.3/win. This was to get it to work in either the classic 
> Cygnus directory layout or the Source-Navigator directory layout. I 
> never figured out how to get rid of this spurious error message.

Just a guess: CDPATH?

>From autoconf-2.52's autoconf.info:

`CDPATH'
     When this variable is set `cd' is verbose, so idioms such as
     `abs=`cd $rel && pwd`' break because `abs' receives the path twice.

At least the fragment from itcl/itcl/win/configure.in below smells like
being subject to this portability issue:
..
if test ! -f $TCL_BIN_DIR/../unix/tclConfig.sh; then
    TCL_BIN_DIR=`cd ../../../tcl8.1/win;pwd`
fi
..

Ralf




More information about the Sourcenav mailing list