Open main menu

Changes

Installation mac

1,470 bytes removed, 11:06, 31 July 2014
no edit summary
cd $HOME/Downloads
</source>
To check out the relax_disp or trunk branch using the subversion client, simply type:
<source lang="bash">
svn co svn://svn.gna.org/svn/relax/trunk relax_trunk
svn co svn://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
If this svn command does not work, try:
<source lang="bash">
svn co http://svn.gna.org/svn/relax/trunk relax_trunk
svn co http://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
<source lang="bash">
cd $HOME/Downloads/relax_trunk
# See bug: https://gna.org/bugs/index.php?22052
sed -i "" "s/archs = \['i386', 'ppc', 'x86\_64']/archs = \['i386', 'x86\_64'\]/g" sconstruct
# Then build
scons
>>> minfx.__version__; minfx.__file__
'...'
</source>
 
== Checking out a relax branch ==
If you would like to play with relax branch rather than the main [http://www.nmr-relax.com/download.html relax downloads], the [http://subversion.tigris.org/ Subversion] program should first be installed. <br>
You can see the different branches [http://svn.gna.org/viewcvs/relax/ here.] <br>
First the relax sources can be checked out of the source code repository and the C modules compiled:
<source lang="bash">
cd /usr/local/
svn co svn://svn.gna.org/svn/relax/branches/relax_disp relax_disp
cd relax_disp
# See bug: https://gna.org/bugs/index.php?22052
sed -i "" "s/archs = \['i386', 'ppc', 'x86\_64']/archs = \['x86\_64'\]/g" sconstruct
# Then build
scons
 
# Optional building of the user manual, if a LaTeX installation is available.
scons user_manual_pdf
</source>
 
If the svn command does not work, try:
<source lang="bash">
svn co http://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
 
=== Add relax to path ===
<source lang="bash">
cd /usr/local/bin
ln -s /usr/local/relax_disp/relax .
</source>
Restart the terminal, to load the new variables.
 
Start relax in GUI mode
<source lang="bash">
relax -g
</source>