At Thursday 07/02/2008 18:23 -0600, Masa Prodanovic wrote:
>is anybody successfully using StageTools (StageManager module in
>particular) on a Mac? I'm looking to switch to a Mac: according to
>previous posts, Geomview can be used successfully, but I would not
>like to lose StageManager...
I've just tried installing StageTools on Mac OS X 10.5 Leopard Xcode 3.0 by following the online instructions; after successful
to set the #! lines of each script, StageTool's ./installTools complains that it can't find a bin directory.
There is no /usr/local/Geomview/bin; there is no ~/geomview-1.9.4/bin
So, I cheated, created a StageTools/bin:
which fooled it into creating a working StageTools/bin/.geomview-StageTools emodules file that was automatically copied to the user's ~/.geomview file for geomview to pick up on.
Once that ~/.geomview file was created and in place, I launched geomview, all StageTool modules showed up, seemed to work, and did whatever it is they do.
So, it seems to work on Mac OS X.
I also tried the above trick on Cygwin, which had added problems:
- ./installTools got confused by Cygwin's C: showing up in the paths, so the script needed hand editing and hand copying to ~..
- even once I'd fixed that and edited the .geomview down to unix scripts, gvx would take 99% of CPU. Nasty hang. The reason for this hang is that geomview 1.9.x under Cygwin is only reading in the first line of .geomview, which is an unclosed (progn. So, geomview doesn't know how to handle DOS returns, which the local Cygwin Insight Tcl created, and simply treats a DOS return as EOF. Ouch! (Claus - there must be an easy parser fix for this? And should an EOF be treated as the ultimate close brace?) dos2unix ~/.geomview fixed that - at which point I could launch geomview, see all the modules, launch StageTools - and have everything on Cygwin hang or complain about broken pipes.
So, to conclude, StageTools+geomview seems to work fine, or at least launch and run, on Mac OS X once you get past the installation glitches, as outlined above.
(follow the Mac geomview installation instructions on http://www.geomview.org/download/ . I haven't figured out how to get OpenGL installed/working on the Mac yet, not least because my MacPorts is broken under Leopard.)
But on cygwin, StageTools seems utterly utterly borked. Guess that says which platform is more Unix-like! A workaround on Cygwin *might* be to try installing 'real' Unix Tcl/Tk rather than using the Insight Tcl variant supplied with Cygwin, but I haven't tried that.
hope this helps,