Bjorn Munch wrote:
> I'm trying to run nightly on local build servers but it fails in
> lib/snack:
>
> ---
> configure:1294: checking for Tcl configuration
> configure:1362: result: found
> /export/home2/tmp/bjorn/regress/proto/root_sparc/u
> sr/lib/tclConfig.sh
> configure:1389: checking for Tk configuration
> configure:1454: result: found
> /export/home2/tmp/bjorn/regress/proto/root_sparc/u
> sr/lib/tkConfig.sh
> configure:1660: result: will use stubs (normal)
> configure:1703: result: will use OSS
> configure:1755: checking for gcc
> configure:1781: result: /opt/SUNWspro/bin/cc
> configure:2025: checking for C compiler version
> configure:2028: /opt/SUNWspro/bin/cc --version </dev/null >&5
> ./configure: line 2029: /opt/SUNWspro/bin/cc: No such file or directory
> ---
>
> So, even though configure should have been fed the correct CC setting
> from Makefile.sfw, it looks to me like it instead devines that the
> compiler is in /opt/SUNWspro/bin/cc, which does not exist on my
> server.
Since it's picking up the *Config.sh files from the proto area, it's
finding the compiler to use from them, and by the time they get to
the proto area they've been changed to use the most likely location
of the compiler - /opt/SUNWspro. Other things like 'expect' point at
the pre-modified *Config.sh's so you might see if modifying snack
in a similar way helps (and file a bug against snack).
Mike