~~NOTOC~~ ===== User Software :: CR-Tools :: Stable Releases ===== * [[#Introduction]] * [[#HowTo]] * [[#22. March 2009 Release]] ==== Introduction ==== Until the introduction of a //stable// tag marking code in the subversion repository as a stable version -- i.e. a version which a) builds on all required platforms and b) does not contain any serious bugs known at this point -- this page is intended to track code version, which have been found to fulfill the relevant criteria. Since the source code under constant development and thereby subject to changes, for production purposes you not necessarily might want to be working with the most recent version (please note however, that upgrades and changes **always** should be done to the recent version!). ==== HowTo ==== In order to check out a working copy based on a given version run: svn up -r You can then build/install this version, work with it, and e.g. develop your own code. Once your code is done, **before** you send it to the repository, you have to do an update to the most recent version: cd $LOFARSOFT ; svn up **Resolve any merging errors that may have occured!** Take care not to undo important changes made by others. Then you can send your changes to the code repository: cd $LOFARSOFT ; svn commit ==== 22. March 2009 Release ==== [[http://www.astro.ru.nl/~horneff/CR-Tools-LinuxStable-090322.tgz|CR-Tools-LinuxStable-090322.tgz]] This has been tested on OpenSUSE 11.1 both 32bit and 64bit versions. The CR-GUI does not work on the 64bit version. == OpenSUSE 10.3/11.1 == The detailed steps are: - Install the required software: - If you installed it from DVD, make sure that also the "Main OSS" software repository is added in yast, as some packages are not on the DVD. - Install the following packages via yast: * Select "Patterns" and install the following: * C/C++ Development * Python Development * Tcl/Tk Development * Select "Search" and install the following packages: * gcc-fortran * lapack * python-devel * fftw3-devel * gsl-devel * libqt4-devel * libqt4-devel-doc - As root: go to ''/usr/lib'' and make a symlink from ''libgfortran.so'' to ''libgfortran.so.2.0.0'': cd /usr/lib; ln -s libgfortran.so.?.0.0 libgfortran.so (Adjust this to the exact name of the installed libgfortran.) - Download [[http://www.astro.ru.nl/~horneff/CR-Tools-LinuxStable-090322.tgz|CR-Tools-LinuxStable-090322.tgz]] and unpack it. - Add the ''.../usg/release/bin'' directory to your path (e.g. with bash): echo "export LOFARSOFT=" >> ~/.bashrc echo ". $LOFARSOFT/devel_common/scripts/init.sh" >> ~/.bashrc - Build the stuff: cd /usg/build; ./bootstrap; make cr You now should have the C++ programms working! - If you want to gave the GUI (32bit only) you need to activated the support for it: - cd /usg/build; make edit_cache and set ''CR_WITH_GUI'' to ''ON'', leave with [**c**]onfigure and [**g**]enerate - cd /usg/build/cr; make edit_cache and set ''CR_WITH_GUI'' to ''ON'', , leave with [**c**]onfigure, [**c**]onfigure and [**g**]enerate - cd /usg/build/; make mathgl - cd /usg/build/mathgl/mathgl; make edit_cache and set ''enable-python'' to ''ON'', , leave with [**c**]onfigure and [**g**]enerate - cd /usg/build/mathgl/mathgl; make install - cd /usg/build/; make cr \\ ---- <- [[public:user software:User Software]] • [[public:user software:CR-Tools]]