Dear World - I am now the proud owner of an Intel P4 D975 3.6 GHz machine. This is dual-core with EM64T architecture. It has a Sapphire ATI Radeon X1300 graphics card. I have installed Ubuntu 6.06 LTS (Dapper Drake). This document details what I've had to do to get things up and running, in particular with regard to CCP4. This is written "as is", but I hope some may find useful snippets here.
Update Dec 07: I have finally updated to Ubuntu 7.04, Feisty Fawn. This was prompted by the need to have a more recent gfortran - the update path for a given Ubuntu version only goes so far. Issues with the update:
Update May 08: Now upgraded to Ubuntu 8.04, Hardy Heron. Failed to upgrade to Gutsy Gibbon, so installed new Hardy Heron over top of Feisty Fawn. Hence lost lots of optional packages, ho hum. But basically all crystallographic stuff is working fine.
Update Jan 10: Updated to Jaunty Jackalope (9.04) via Intrepid Ibex. Not going to Karmic Koala yet - reports of major user problems.
Section "Extensions" Option "Composite" "Disable" EndSectionin /etc/X11/xorg.conf
Update August 10: Tried to update to Lucid Lynx (10.04) via Karmic Koala, but screwed up somehow, so ended up installing fresh Lucid Lynx over the top of my existing installation. I got in a mess, so hard to give coherent comments:
Update March 11: Upgraded to Maverick Meerkat (10.10). OK so far ...
See also Bill Scott's Scientific Computing on Ubuntu page.
I have now installed VirtualBox onto my Windows laptop, and installed Ubuntu Lucid Lynx as a guest OS.
Basic install is very straightforward, but you find you are stuck at a maximum screen resolution of 800 x 600. The solution (thanks Ronan!) is to install Guest Additions. I followed the official route, downloaded the .iso, mounted it an external disc, and tried to install but failed. Despite apt-get-ing as many relevant packages as I could think of.
But I discovered that I could apt-get packages virtualbox-guest-additions and virualbox-ose-* (ose = open source edition), and that seems to do the trick. Not sure if I needed them all ...
Tip-of-the-day: "dkms status" is useful for seeing what has been added to the kernel.
$ diff tcl8.4.9/unix/configure_orig tcl8.4.9/unix/configure 2134c2134 < system=MP-RAS-`awk '{print }' /etc/.relid'` --- > system=MP-RAS-`awk '{print }' /etc/.relid` 7325c7325 < system=MP-RAS-`awk '{print }' /etc/.relid'` --- > system=MP-RAS-`awk '{print }' /etc/.relid`and similarly for Tk.
Got Kevin's recent Ubuntu build from: http://www.ysbl.york.ac.uk/~cowtan/coot/. That failed with:
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' CATASTROPHIC ERROR:: in gl_extras no GtkGL widget! CATASTROPHIC ERROR:: failed to create Gtk GL widgetThis is a problem with my X server, which I solved (see below). With that, Kevin's build runs fine.
I had also tried using the RH8 binaries. Complains about missing libgdk_imlib.so.1 In fact, I have this 64-bit but not 32-bit. I started providing libraries, either taking from Kevin's distro, or adding softlinks in /usr/lib32, but too many required, and got bored.
Miguel Ortiz Lombardia posted a set of instructions on the Coot BB to get coot-0.2 built on Ubuntu. These worked for me, except that I needed to download a few more packages through Synaptic and make a few more soft links (this just means my set-up was less complete than his).
Packages downloaded: guile-1.6, guile-1.6-dev, libglib1.2-dev, libgtk1.2-dev, libatk1.0-dev, libglade2-dev, libglib2.0-dev, libgtk2.0-dev, libgtkgl2.0-1, libgtkgl2.0-dev, imlib11, imlib11-dev, libimlib2-dev, libgsl0, libgsl0-dev, gtkglarea5, gtkglarea5-dev, gdk-imlib11-dev, libart-2.0-dev, libart2, libgtk-canvas1, libgtk-canvas1-dev, libart-dev
That's not meant to be an exhaustive list (!) but just suggestions of what to try if something won't link. Hint: if something says it can't find *-config script, you are missing the *-dev package.
Coot 0.2 requires a more recent version of Clipper than is available in CCP4 6.0.2 The version in ftp://ftp.ccp4.ac.uk/prerelease/ccp4-onlylibs-dev.tar.gz works.
I have a "Sapphire ATI Radeon X1300" graphics card. My original Ubuntu system had the "vesa" driver, which apparently is crap and only a fallback driver. Essentially, I swapped to using the "fglrx" driver which worked, but that was not as straightforward as I would have hoped.
Update Hardy Heron: "fglrx" drivers can now be installed from Synaptic (needs restricted software source available). They are enabled from Administration -> Hardware Drivers.
A useful guide is available at http://wiki.cchtml.com/index.php/Ubuntu_Dapper_Installation_Guide for Dapper, or http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide for Feisty. Method 1 didn't seem to work for me, but Method 2 did. The problem with Method 1 is that it installs too old a version of the driver (see /var/log/Xorg.0.log) so you need to use Method 2 to install the latest version. Drivers are available from here.
A miscellaneous set of hints:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: Radeon X1300 Series Generic OpenGL version string: 2.0.5879 (8.26.18)when it is.
Unlike KDE, Gnome doesn't allow you by default to have multiple wallpapers for different workspaces. Thankfully, there is the Wallpapoz tool which is easy to install, and does the job.