From help-octave-request at bevo dot che dot wisc dot edu Tue Dec 23 15:12:00 2003 Subject: Re: Failure (Re: How to use octave-forge?) From: Per Persson To: "Dmitri A. Sergatskov" Cc: help-octave at bevo dot che dot wisc dot edu, Vic Norton Date: Tue, 23 Dec 2003 22:11:52 +0100 On Dec 23, 2003, at 21:51, Dmitri A. Sergatskov wrote: > Vic Norton wrote: >> Thanks for all the advice about installing octave-forge functions. I >> am >> sorry to report that my installation efforts have not met with >> success. >> My octave 2.1.50 has no trouble reading newly installed octave-forge >> m-files, but it cannot execute any oct-files. > > I think for octave-forge to work your octave had to be compiled > with --enable-shared --enable-dl options. No, not on Mac OS X :-( The --enable-shared --enable-dl options won't work on OS X. The current work-around is to edit config.h _after_ configuring (w/o --enable-shared --enable-dl options) so that the line: /* #undef HAVE_DYLD_API */ instead reads: #define HAVE_DYLD_API 1 This will (should) let you build and run .oct files. /Per ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------