Open main menu

Changes

Installation mac

20 bytes added, 16:08, 9 August 2013
no edit summary
** To compile the C modules, the minfx package must be installed first. Please see below.
** You may still have 'minfx' installation problems when compiling the C modules if multiple Python version are present. So it is recommended to open the '''/usr/local/bin/scons''' file and change the first line from '''/usr/bin/env python''' to '''/usr/local/bin/python''' so that the correct Python version is used. Alternatively you change your PATH environmental variable to have '''/usr/local/bin/''' at the start. SCons is always an issue when multiple Python versions are installed.
 
== Multiple Python versions ==
 
For more details, see [[Multiple Python versions]].
 
You will need to check that the correct Python and SCons versions are used when running relax or compiling the C modules. This can be checked by typing the following:
<source lang="bash">
$ sudo /usr/libexec/locate.updatedb
$ which python
$ locate python | grep '\/python$\|\/python...$' | grep bin | xargs ls -alh
$ which scons
$ locate scons | grep '\/scons$' | grep bin | xargs ls -alh
</source>
The first command updates the locate database, the '''which''' commands show which version of Python and SCons will be executed if '''python''' or '''scons''' are typed at the prompt, and the locate commands will show all installed versions of Python and SCons.
== Use of repositories ==
svn co http://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
 
=== Add relax to path ===
= TEST INSTALLATION =
After an installation you should really run an [[Installation_test]]
 
= Trouble shooting =
 
== Multiple Python versions ==
For more details, see [[Multiple Python versions]].
 
You will need to check that the correct Python and SCons versions are used when running relax or compiling the C modules. This can be checked by typing the following:
<source lang="bash">
$ sudo /usr/libexec/locate.updatedb
$ which python
$ locate python | grep '\/python$\|\/python...$' | grep bin | xargs ls -alh
$ which scons
$ locate scons | grep '\/scons$' | grep bin | xargs ls -alh
</source>
The first command updates the locate database, the '''which''' commands show which version of Python and SCons will be executed if '''python''' or '''scons''' are typed at the prompt, and the locate commands will show all installed versions of Python and SCons.
== See also ==
[[Category:Installation]]
Trusted, Bureaucrats
1,382

edits