How to install CygCoot?
First install cygwin. Here's what to do and get:
- get cygwin via setup.exe from mirror site (see http://www.cygwin.com) which
uses an easy usable gui installer
- from normal mirror (s.a.) you can/have to get (besides the basic
defaults):
- guile and guile-devel
- python (I think comes
with default)
- opengl (IMPORTANT: get opengl-1.1.0-6
(needed for gl headers!!) newer versions won't work!)
- wget
- X11
- binutils, gcc, g++, make, tcsh, vi
etc.
- libpng12-devel (needed for
imlib)
- Xfree86-lib-compat
- Windowsmaker or similar (recommended but not necessary)
- from the (cyg)gnome master mirror you get all the gnome/gtk
goodies
(http://cygnome.sourceforge.net/install)
- add http://cygnome.sourceforge.net/install in the setup.exe gui
to
your download sites and download:
- GNOME-libs: glib (1.2.10), gnome-libs, gtk+, imlib, gdk-pixbuf
(I usually get some more, just in case)
- GNOME-libs-devel:
gtk+-devel, gtkglarea, imlib-devel, glib-devel (plus as above)
- N.B.
this saves time and hassle installing these things 'by hand'
- N.B. all gnome things
get installed in /opt/gnome - important for compiling issues!!!
- That should be everything for cygwin! This is all done with the
gui so no
intervention required so far!
- You can start your cygwin console now.
- You should add /opt/gnome/bin to your PATH now (if not done
automatically), e.g. insert in your .bash_profile:
# Set PATH so it includes gnome stuff
bin if it exists
if [ -d /opt/gnome/bin ] ; then
PATH="/opt/gnome/bin:${PATH}"
fi
- Now we are ready to do the coot etc. installation. I recommend to
use the available build-it script. Since it
is (or should) be hassle free and you could spare Paul and me questions
concerning the installation.
- type
sh ./build-it.txt
and go for a coffee (or grow some crystals) since it will take a while.
- That should be hopefully you done with the installation.
- To start CygCoot you need to run the cygwin Xserver. This is done
by typing xinit in your
console. I recommend to use WindowsMaker or similar which you get by
typing xinit wmaker (or put
wmaker in your .xinitrc).
- now tell Coot where to find everything by typing: source ~/coot/setup/coot.sh
(or put that line in your .login).
- ready to fire!! Type coot
and off you go!
Which coot version do I get?
Currently I can provide (a tarball for) Coot
v.0.0.18 for CygCoot! The same version is provided for WinCoot. I
don't think I
can keep up with Paul's speed in releasing new versions, so be patient.
Hopefully soon you won't have to rely on my tarballs any more and can
update your coot directly from Paul's website. The
CygCoot autobuilder script might become
universal at
some point too (working with Paul on it). Currently I have forced the
installation of
certain libraries (gsl, freeglut) which have be installed 'by hand'
although generally I stick to the libraries provided by cygwin
for as much as possible.
Any known problems?
I installed CygCoot sucessfully on Win NT, Win 2000 and XP (aand
previously even Win 98). It should compile through and run without
problems. In case you want to use Win98, cygwin might run out of
processes
(fork) and the computer has to be rebooted before installation can
continue (about 5-10 times for complete installation). I think this is
a
windows problem that it can't manage the processes.
CygCoot should run fine, although it might crash occasionally
(it shouldn't though). In case it does report bugs to Paul/me/the coot
mailing list.
Currently there is problems with the scripting, see below.
For the usual FAQs see Paul's page.
How fast/slow can I expect it to be?
CygCoot can be slow, especially on older, slower machines.
Processor speed seems to be everything as it runs via cygwin
emulation!!!! This is fixed in WinCoot. Here is some
Windows Coot benchmarks:
|
OS
|
Computer
|
FPS
|
CygCoot
|
Win 2000
|
1 GHz, 256 MB RAM
|
~1.5
|
|
XP
|
3 GHz, 1 GB RAM
|
~3.5
|
WinCoot
|
Win 2000
|
1 GHz, 256 MB RAM |
~7.5
|
|
XP
|
2 GHz, 512MB RAM
|
~75.0
|
N.B. This some 'standard' setting I use for testing and can be
'speeded' up by customising your setting! Furthermore I can't use the
full openGL acceleration on my computer for WinCoot (Win 2000). So
expect it to be
much faster... (as can be seen already...)
How does the scripting
work?
It seems that only python scripting is working (and compiling) under
Windows. Currently there is some general problems with the python
scripting function I believe. This should be sorted soon (Paul?). It is
fixed in WinCoot now.
Last modified 23/10/2004
Bernhard.Lohkamp at mbb.ki.se