Octave version 3.2.2 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 3.2.2

      View the most recent changes for the octave port at: octave.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for octave.
      The raw portfile for octave 3.2.2 is located here:
      http://octave.darwinports.com/dports/math/octave/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/octave


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The octave Portfile 57903 2009-09-18 16:34:25Z alakazam macports.org $

      PortSystem 1.0

      Name: octave
      Version: 3.2.2
      Category: math science
      Maintainers: alakazam stechert
      Platform: darwin
      Description: a Matlab-like environment for numerical analysis
      Long Description: Octave provides a convenient command line interface for solving linear and nonlinear problems numerically, using a language that is mostly compatible with Matlab. It is easily extensible and customizable via user-defined functions or using dynamically loaded modules written in e.g. C++, C or Fortran.

      Homepage: http://www.gnu.org/software/octave/
      Master Sites: ftp://ftp.gnu.org/pub/gnu/octave/

      use_bzip2 no
      Checksums: md5 aace2cda51dd247e5ad850b5533700e2 sha1 579048eca029f6207be02b753cc0d531e58ed031 rmd160 342ee710b27ba6754a4863cdcfbd63c3159593a5

      depends_build port:gawk port:gsed path:bin/perl:perl5 port:texinfo

      depends_lib port:arpack port:curl port:fftw-3 port:fftw-3-single port:ftgl port:ghostscript port:glpk port:GraphicsMagick port:gnuplot port:hdf5-18 port:metis port:ncurses port:pcre port:readline port:qhull port:qrupdate port:SuiteSparse

      configure.args --enable-shared --enable-dl --with-hdf5 --with-fftw --with-blas="-framework Accelerate" --enable-static --enable-readline --with-zlib --with-glpk --with-curl --with-lapack --with-umfpack --with-colamd --with-ccolamd --with-cholmod --with-cxsparse

      configure.perl ${prefix}/bin/perl
      configure.python ' '
      configure.awk ${prefix}/bin/gawk

      configure.env-append SED="${prefix}/bin/gsed" MAKEINFO="${prefix}/bin/makeinfo" TEXI2DVI="${prefix}/bin/texi2dvi" TEXI2PDF="${prefix}/bin/texi2pdf"

      use_parallel_build yes

      test.run yes
      test.target check

      Variant: gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 g95 {
      depends_build-append port:gcc43
      configure.compiler macports-gcc-4.3
      }

      Variant: gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 g95 {
      depends_build-append port:gcc44
      configure.compiler macports-gcc-4.4
      }

      Variant: g95 description {build with g95} conflicts gcc43 gcc44 {
      depends_build-append port:g95
      configure.f77 "${prefix}/bin/g95"
      }

      if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } {
      default_variants +gcc43
      }

      Patch Files: patch-lo-specfun.cc.diff

      post-patch {
      reinplace "s|-lcholmod|-lcholmod -lmetis|g" ${worksrcpath}/configure
      }

      livecheck.type regex
      livecheck.url http://www.gnu.org/software/octave/news.html
      livecheck.regex Version (\\d+(\\.\\d+)*)

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/octave
      % sudo port install octave
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching octave
      ---> Verifying checksum for octave
      ---> Extracting octave
      ---> Configuring octave
      ---> Building octave with target all
      ---> Staging octave into destroot
      ---> Installing octave
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using octave with these commands:
      %  man octave
      % apropos octave
      % which octave
      % locate octave

     Where to find more information:

    Darwin Ports



    Lightbox this page.