From octave-sources-request at bevo dot che dot wisc dot edu Thu Jun 12 14:34:24 2003 Subject: Readme file for OS X From: Per Persson To: octave-sources at bevo dot che dot wisc dot edu Date: Thu, 12 Jun 2003 21:32:08 +0200 Hi, maybe something like the following should be added to the octave sources as README.MacOSX? /Per --- Begin -------------------------- This document outlines the steps needed to compile octave for Mac OS X 10.2.x. Octave is also available as a package from Fink, http://fink.sourceforge.net Please refer to the documentation, FAQ and mailing lists of the Fink project for details on how to install octave using Fink. Install OCTAVE on Mac OS X 10.2.x from source ============================================= 1) Make sure you have the following installed: December 2002 (or later) Devtools, a working Fortran compiler, readline, and texinfo or tetex. 2) Get octave-2.1.4x.tar.gz from http://www.octave.org/download.html (version 2.1.40 and onwards should work) 3) Unpack the tarball and run './configure' _without_ arguments unless you know exactly what you are doing 4) Edit config.h so that the line: /* #undef HAVE_DYLD_API */ instead reads: #define HAVE_DYLD_API 1 5) Run 'make' followed by 'sudo make install' 6) Test dynamic loading by running 'mkoctfile hello.cc' in octave's examples directory. You should get a file hello.oct that can be run in octave. ToDo ============================================= The port to Mac OS X is by no means complete. In particular, it still lacks * Shared library support --- End -------------------------- ------------ Per Persson Blekinge Institute of Technology Dept. of Signal Processing and Telecommunications www: http://www.its.bth.se/staff/pee e-mail: per dot persson at bth dot se