XDS-Viewer: Difference between revisions

From XDSwiki
Jump to navigation Jump to search
(New page: XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab). I was able to compile the program (version 0.5) for RedHat Enterprise Linux versions 3, 4 and 5 (or ra...)
 
mNo edit summary
Line 18: Line 18:
  # unpack, then edit compile.sh and add a line like
  # unpack, then edit compile.sh and add a line like
  # PATH=<path to cmake bin directory>:/usr/local/Trolltech/Qt-4.5.0/bin:$PATH
  # PATH=<path to cmake bin directory>:/usr/local/Trolltech/Qt-4.5.0/bin:$PATH
  # compile.sh   then gives the binary in the build/bin directory
   
compile.sh # this gives the binary in the build/bin directory


The resulting binaries are available at ftp://turn5.biologie.uni-konstanz.de/pub .
The resulting binaries are available at ftp://turn5.biologie.uni-konstanz.de/pub .

Revision as of 15:54, 8 March 2009

XDS-viewer is a open source program that was written by Michael Hoffer (Kabsch lab).

I was able to compile the program (version 0.5) for RedHat Enterprise Linux versions 3, 4 and 5 (or rather, for their CentOS equivalents) by the following recipe:

# the X11 development libs are needed; in case they are not available use something like:
# yum install libX11-devel libXext-devel
# also check out http://doc.trolltech.com/4.5/requirements-x11.html ! 

wget http://download.qtsoftware.com/qt/source/qt-x11-opensource-src-4.5.0.tar.gz
# unpack the tarfile and run "./configure -static"; then "gmake -j <number of processes>". 
# Warning: this takes hours and up to 10 GB disk space! 
# It may be possible to add e.g. the -no-qt3support -no-exceptions options but I didn't try.

wget http://www.cmake.org/files/v2.6/cmake-2.6.3-Linux-i386.sh
# unpack and note where the bin directory is

wget http://downloads.sourceforge.net/x/xd/xds-viewer/xds-viewer-0.5.tar.gz
# unpack, then edit compile.sh and add a line like
# PATH=<path to cmake bin directory>:/usr/local/Trolltech/Qt-4.5.0/bin:$PATH

compile.sh  # this gives the binary in the build/bin directory

The resulting binaries are available at ftp://turn5.biologie.uni-konstanz.de/pub .