|
From: | Bart Vandewoestyne |
Subject: | Re: Compiling octave-3.4.3 |
Date: | Thu, 09 Feb 2012 09:00:01 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
On 02/08/2012 05:36 PM, CdeMills wrote:
Hello Bart, what you basically need are gcc - g++ - gfortran
Could you (or somebody else) be more specific about which versions Octave 3.4.3 should compile with? I currently have a
address@hidden:~$ gcc --version | head -1 gcc_x86_64 (GCC) 4.6.2 address@hidden:~$ g++ --version | head -1 g++_x86_64 (GCC) 4.6.2 address@hidden:~$ gfortran --version | head -1 GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51)The gcc and g++ are a local (manual) install (not a Red Hat packaged version), the gfortran appears to be the one installed by the package management system... Now that I think of it... could this be causing my compile problems???
I compile octave as follows: 1) install the enclosed shell script somewhere in your path, adapt it to your gcc version, make it executable 2) inside the octave tree, create a directory, like 'compile', cd to it 3) I configure octave as myoct-config-simple ../configure --prefix=${HOME}/usr --enable-strict-warning-flags 2>&1 | tee -a make.config 4) make 2>>make.error | tee -a make.report 5) make check 6) make install 2>&1 | tee make.install This way, each operation is logged into a make.something file; you'll can look there for problems. The new version is installed into ${HOME}/usr; you have to tweak a bit your environment to have things working right: - add ${HOME}/usr/lib to LD_LIBRARY_PATH - add ${HOME}/usr/bin to PATH - add ${HOME}/usr/share/man to MANPATH - add ${HOME}/usr/share/info to INFOPATH HTH Pascal
Pascal, thanks... but there was no enclosed shell script attached to your mail...
Regards, Bart
[Prev in Thread] | Current Thread | [Next in Thread] |