# HG changeset patch # User Ben Abbott # Date 1296257942 18000 # Node ID 6027fdbcb3d874ddce03d32feb7b9bcde85fa429 # Parent 18f7aac81ef052d296bb667d72afc0d7276c0763 README.MacOS: Modify instructions for building Octave manually. diff -r 18f7aac81ef0 -r 6027fdbcb3d8 ChangeLog --- a/ChangeLog Fri Jan 28 18:18:15 2011 -0500 +++ b/ChangeLog Fri Jan 28 18:39:02 2011 -0500 @@ -1,3 +1,7 @@ +2011-01-28 Ben Abbott + + * README.MacOS: Modify instructions for building Octave manually. + 2011-01-28 John W. Eaton * configure.ac: Don't check for ARPACK. diff -r 18f7aac81ef0 -r 6027fdbcb3d8 README.MacOS --- a/README.MacOS Fri Jan 28 18:18:15 2011 -0500 +++ b/README.MacOS Fri Jan 28 18:39:02 2011 -0500 @@ -69,7 +69,61 @@ 2.2 Manual Package Management ----------------------------- - TODO - add instructions. +Instructions for building Ocave are available on the web at the link below. + + http://wiki.octave.org/wiki.pl?BuildFromSource + +In additionn, those wishing to build on MacOS X (10.6.x) should read section +2.1 above. + +2.2.1 Critical Dependencies +--------------------------- + +The minimal dependencies needed to build Octave's snap-shots are listed below. + + * Xcode + + * gfortran: Available from http://r.reseach.att.com/tools + + * gnu sed: Availabel from http://www.gnu.org/software/sed/ + + ./configure --prefix=/usr + make + make install + + * fftw3: Available from http://www.fftw.org/download.html + + export CFLAGS="-arch i686 -arch x86_64" + export FFLAGS="$CFLAGS" + export LDLAGS="$CFLAGS" + ./configure --disable-dependency-tracking + make + make install + +A fully functional Octave requires additional dependencies. See the link below +for the details. + + http://wiki.octave.org/wiki.pl?BuildFromSource + +2.2.2 Building Octave as a 32bit Application +-------------------------------------------- + +The commands below are sufficient to build a 32bit Octave. + + export CFLAGS="-m32" + export FFLAGS="-m32 -ff2c" + export CPPFLAGS="-m32 -D_REENTRANT" + export LDFLAGS="-m32" + ./configure --disable-readline --disable-docs + make + +Octave provides an interegrated tests suite. + + make check + +Octave may be run withou installing the application using the utility below. + + ./run-octave 2.3 Building With Dependencies Satisfied by Fink