On Thu, 3 Aug 2006, Mark Taylor wrote:
> > Mark,
> >
> > Just built the new gaia for the release and it looks like it works
> > except when it doesn't.
> >
> > If I run the gaia I just built on a machine that can't see the build
> > directory but can see the install directory everything gets really upset.
> > It's looking in the build directory for files.
> >
> > can't find package rpcvar
> > while executing
> > "package require rpcvar"
> > (file
> > "/export/data/star/keoe-build/applications/gaia/gaia/library/GaiaPlastic.tcl"
> > line 54)
>
> ...
>
> Oh cripes. The offending line is boilerplate that Peter wrote which
> I didn't make any attempt to understand at the time. Clearly the
> required tcl files are not getting sourced. Fixing it looks to be a
> matter of fiddling around with how GAIA makes its standalone executable,
> which as far as I can tell is not standard Tcl business, and which
> I also don't understand, so it's going to take some digging.
> I suspect the answer is somewhere in applications/gaia/gaia/mktclapp.
> I'll see what progress I can make, but if there's anyone out there
> who has a clue about how GAIA builds itself, their help would be
> much appreciated.
I think I've sorted this out now, or at least hacked around it.
I've committed changes on the keoe branch to the files
gaia/src/Gaia.C
gaia/mktclapp/tclAppInit.C
which seem to fix the rpcvar problem reported above (and a cascade
of related ones). The fix is not particularly elegant however,
which is why I haven't applied it to the trunk. I will refrain from
going into details here, but Peter, when you get back, take a look
at those edits and see if you want to propagate this fix to the trunk
or if you've got some better idea for how to work round it.
> The trouble is not just in GaiaPlastic however. When I run with the
> build directory hidden, I also get popups with stacktraces:
>
> invalid command name "RtdImage"
...
I'm not seeing these any more - probably I had my env vars in a twist
or something before.
Mark
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|