Print

Print


PS: It's possible this is down to not choosing the correct Mac
compile-time options, but there could also be something deeper wrong,
I'm not sure.

On Tue, 29 Apr 2008, Wayne Boucher wrote:

> Hello,
>
> It looks like you are using the Mac version of Tcl/Tk/Python (so in
> particular with an Aqua interface).  We have never managed to get that
> version to really work properly (well, we haven't spent that much time
> trying).  For now you have to use the Fink version of Tcl/Tk/Python (which
> at least is a simple binary installation).
>
> Wayne
>
> On Tue, 29 Apr 2008, Ben Eisenbraun wrote:
>
> > Hi,
> >
> > I'm trying to build Analysis for OS X 10.4 without using Fink.  We
> > install our programs on a network share and try to make them standalone
> > so we don't have to do any configuration on the individual workstations.
> >
> > I built a standalone Tcl/Tk 8.4.19 install without problems, and then
> > built a standalone Python 2.5.2 install linked against the Tcl/Tk
> > install.  I verified that the Tkinter modules built correctly, and they
> > can be loaded from the python command line.
> >
> > I then hacked up the installCode.py script a bit to prefer those
> > installations, and running 'python installCode.py analysis' seems to
> > result in a successful build.  (Partial build log at the end of this
> > email.)
> >
> > Unfortunately, when I run 'analysis', it draws some of the windows
> > without the GUI widgets (i.e. the window bar at the top and the resize
> > box in the lower left corner).  So for instance, the main CCPNMR
> > Analysis window has proper controls, but the Open Spectra dialog does
> > not.  Screenshot here:
> >
> > http://crystal.harvard.edu/~bene/ccpnmr/analysis-desktop.jpg
> >
> > Has anyone else seen this?  I suppose this could be expected behavior,
> > but the Linux build draws all its windows with the regular decorations.
> > Any tips on how to get this working?
> >
> > Thanks.
> >
> > -ben
> >
> > --
> > Ben Eisenbraun
> > Structural Biology Grid
> > Harvard Medical School
> > http://sbgrid.org/
> >
> > $ python installCode.py analysis
> > Messages will be logged in "log_Analysis_3.txt"
> > Assuming your platform is darwin
> > [ found match /programs/powermac/tcltk/8.4.19/include/tcl.h ]
> > [ found match /programs/powermac/tcltk/8.4.19/lib/tclConfig.sh ]
> > Using the Fink version of Tcl (in /programs/powermac/tcltk/8.4.19)
> > Guess Tcl/Tk version = 8.4 (by looking), is this ok (y or n) (reply y
> > unless sure otherwise)? y
> > [ found match /programs/powermac/tcltk/8.4.19/include/tk.h ]
> > [ found match /programs/powermac/tcltk/8.4.19/lib/tkConfig.sh ]
> > Using the Fink version of Tk (in /programs/powermac/tcltk/8.4.19)
> > Assuming Tk version is also 8.4
> > [ found match /programs/powermac/python/2.5.2/include/python2.5 ]
> > [ found match /programs/powermac/python/2.5.2/lib/python2.5 ]
> > Using the Fink version of Python (in /programs/powermac/python/2.5.2)
> > Guess Python version = 2.5 (by looking), is this ok (y or n) (reply y
> > unless sure otherwise)? y
> > Do you want OpenGL used in Analysis (y or n) (n means only get Tk)? n
> > Compile and install Analysis code (y or n)? y
> > You can create environment file from scratch (this does not copy it from
> > environment_default.txt)
> > If you have already created it and edited it by hand you probably do not
> > want to create it again here.
> > Create environment file (y or n) (answer y unless you know otherwise)? y
> > Use -fPIC compiler flag (y or n) (if gcc compiler y, otherwise n; answer
> > y unless you know otherwise)? y
> > [ found match /usr/X11R6/include/X11/Xlib.h ]
> > [ found match /usr/X11R6/lib/libX11.6.2.dylib ]
> > Using the standard version of X11 (in /usr/X11R6)
> > Backing up ccpnmr1.0/c/environment.txt to ccpnmr1.0/c/environment.bak
> > cd memops/global; make
> >
> > <snip a bit.  full log at:
> > http://crystal.harvard.edu/~bene/ccpnmr/build.txt>
> >
> > Do you want to create a bin directory (answer y unless you know
> > otherwise) (y or n)? y
> > Creating the bin directory
> > Could not remove directory ccpnmr1.0/data/ccp/chemComp/nonpolymer
> > (probably not a problem)
> > Run Analysis (as test) (y or n)? n
> > Finished installation script
> >
>