[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling octave-3.4.3

From: CdeMills
Subject: Re: Compiling octave-3.4.3
Date: Wed, 8 Feb 2012 08:36:43 -0800 (PST)

Bart Vandewoestyne-3 wrote
> Hello list,
> I am trying to use a recent version of Octave on my work-desktop PC 
> which is running the Red Hat Enterprise 5.7:
> address@hidden:~$ lsb_release -a
> LSB Version: 
> :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
> Distributor ID: RedHatEnterpriseClient
> Description:    Red Hat Enterprise Linux Client release 5.7 (Tikanga)
> Release:        5.7
> Codename:       Tikanga
> As this is my work-desktop PC, I cannot upgrade to a more recent Red Hat 
> distribution (I have to follow the company policy).

Hello Bart,

what you basically need are gcc - g++ - gfortran
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
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



View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]