Skip to content

SourceforgeReleaseSystem

Adrian Quintana edited this page Dec 11, 2017 · 1 revision

Sourceforge release system:

Tag

Create a new tag in subversion

$ svn copy [https://newxmipp.svn.sourceforge.net/svnroot/newxmipp/trunk](https://newxmipp.svn.sourceforge.net/svnroot/newxmipp/trunk) \
 [https://newxmipp.svn.sourceforge.net/svnroot/newxmipp/tags/release-](https://newxmipp.svn.sourceforge.net/svnroot/newxmipp/tags/release-) -m"Release "

Note that to download this release, you can use:

svn co https://newxmipp.svn.sourceforge.net/svnroot/newxmipp/tags/release-/xmipp

Names

  • To be able to generate names automatically on the Download web page, call all files as follows (RELEASE is the release name)
    • sources:Xmipp--src.tar.gz
    • 32-bit linux:Xmipp--i386.tar.gz
    • 64-bit linux:Xmipp--x86.tar.gz

Sources

  • Move thexmipp/ directory to a meaningful name for this release:
    
    

mv xmipp Xmipp--src

  • Create a gzippedtar file of a fresh copy of the repository
    
    

tar zcf Xmipp--src

Binaries

  • We use the following machines to generate the binaries:
    • i386: rafa@planck (SuSe 9.3)
    • x64: roberto@clark (Debian XX)

For each platform(i386, x64...):

  • Compile with all enabled except MPI (example in rafa@planck,SuSE 9.3)
    
    

$ cd Xmipp--src $ ./scons.configure $ ./scons.compile

  • Copybin,lib andprotocols to an appropiate place:
    
    

$ cd .. $ mkdir Xmipp--i386/

  • Add theREADME file:

This is a binary release of Xmipp (i386). It should work in most linux distributions. The following have been tested:

-SuSE 9.3 - openSuSE 11.1

More information of the package available at: xmipp.cnb.csic.es

Contents: - README - bin folder - lib folder - protocols folder

Install: - copy all folders to a convenient place - change to that directory - adjust the path for binaries and shared libraries:

Type "echo $SHELL" if you don't know which shell your machine has

  • for BASH export PATH=$PWD/bin:$PATH export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH

  • for TCSH setenv PATH $PWD/bin:$PATH setenv LD_LIBRARY_PATH $PWD/lib:$LD_LIBRARY_PATH

Note for non Debian/Ubuntu users:

Debian and derivatives have renumbered the TIFF shared library because of incompatibilities introduced around version 3.6.1. You may get the following error:

libtiff.so.4: cannot open shared object file: No such file or directory

A local fix is (run from Xmipp top directory):

$ ln -s /usr/lib/libtiff.so.3 ./lib/libtiff.so.4

The same may be necessary for libjpeg.so.6:

$ ln -s /usr/lib/libjpeg.so ./lib/libjpeg.so.6

If somehow it does not work please contact [email protected] or build Xmipp from sources

  • Create a gzippedtar file:
    
    

$ tar zcf Xmipp--i386/

Both

  • Upload the files to xmipp.cnb.csic.es (user=xmipp):
    $ sftp Xmipp--src.tar.gz [email protected]:public_html/Downloads/.
  • Login to xmipp.cnb.csic.es (user=xmipp), and add this version to the option list of versions

$ ssh -X [email protected] $ cd public_html/Downloads $ nedit index.php

NOTES:

  • SuSE 9.3 still uses libstdc++.so.5, so g++-3.3 must be used (3.4+ uses v6 instead).

--Main.AlfredoSolano - 29 Nov 2007

Clone this wiki locally