User Tools

Site Tools


guide:compiling_octave

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guide:compiling_octave [2011/12/07 15:24]
hamish [Check]
guide:compiling_octave [2021/12/09 16:42] (current)
Line 1: Line 1:
-====== Compiling Octave 3.4.3 from Source (UNDER CONSTRUCTION) ======+====== Compiling Octave 3.4.3 from Source ======
  
-This guide is written for the Sun Tsessbe Cluster. The reader is advise to read through the INSTALL file located in the Octave Source Folder before proceeding with this guide. Also it recommended that you make you use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or /tmp/$USER), as to save disk space in your home directory. This guide assumes GCC 4.6.2 has been installed in your home directory as  in [[guide:compiling_gcc|Compiling GCC from Source]]. Paste the following lines at the end of your ./bashrc file+This guide is written for the Sun Tsessbe Cluster. The reader is advise to read through the INSTALL file located in the Octave Source Folder before proceeding with this guide. Also it recommended to make use of temporary or scratch directory to do all the compilation in (i.e. ~/scratch or /tmp/$USER), as to save disk space in your home directory. This guide assumes GCC 4.6.2 has been installed in your home directory as  in [[guide:compiling_gcc|Compiling GCC from Source]]. Paste the following lines at the end of your ./bashrc file
   export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH   export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
   export LD_LIBRARY_PATH=$HOME/lib64:$LD_LIBRARY_PATH   export LD_LIBRARY_PATH=$HOME/lib64:$LD_LIBRARY_PATH
Line 16: Line 16:
  
  
-===== Prerequisite  =====+===== Prerequisites  =====
  
 Before you build Octave, you some libraries need to be built Before you build Octave, you some libraries need to be built
Line 89: Line 89:
   # If all the tests are passed, install into you home directory   # If all the tests are passed, install into you home directory
   $ make install   $ make install
-   
-The tool is required, as if the default ld is used error of the following nature occur during the octave build 
-  $ /usr/bin/ld: /usr/local/lib/libfftw3f.a(apiplan.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC 
-use a later version of ld should hopefully avoid this error... 
  
 If you have not already add the following line in your .bashrc file If you have not already add the following line in your .bashrc file
/app/dokuwiki/data/attic/guide/compiling_octave.1323264291.txt.gz · Last modified: 2021/12/09 16:42 (external edit)