From help-request at octave dot org Wed Jan 18 01:16:32 2006 Subject: RE: eps Toolkit - ftell that returns a scalar? was Re: subplot From: To: Date: Wed, 18 Jan 2006 15:14:25 +0800 Hi, I've now discovered, downloaded and installed a binary for 2.1.71 (from http://hpc.sourceforge.net), and epstk seems to be working fine. I first had a go at compiling the source on octave.org myself, but it didn't go so well - which isn't surprising as the only software I've tried to compile on a Mac was very simple, written by myself, and had a very short make file (if I used one at all). I'm most familiar with Windows Visual Studio and Delphi, though I was compiling software on Linux and Solaris several years ago. The './configure' suggested that I install Readline, and I managed to compile that from source and install it, but 'make' on Octave eventually failed with errors beginning with: ld: warning multiple definitions of symbol _xerbla_ ... soon followed by ld: Undefined symbols: Marray2 > operator- >(Marray2 > const&, Marray2> const&)... If anybody maintains a "How to compile Octave on OS X for Dummies" page, I would like to read it. If it isn't too complex me, I may have a go at compiling the next Testing release, or maybe even the current Development release. Thanks, Neil -----Original Message----- From: John W. Eaton [mailto:jwe at bevo dot che dot wisc dot edu] Sent: Tuesday, 17 January 2006 12:55 PM To: Francis, Neil (Minerals, Waterford) Cc: dasergatskov at gmail dot com; help@octave.org; stefan.mueller@fgan.de Subject: eps Toolkit - ftell that returns a scalar? was Re: subplot On 17-Jan-2006, Neil dot Francis at csiro dot au wrote: | The problem is that ftell does not return a scalar, but a "streamoff" | type (Octave version 2.1.53), which the "/" operator does not | understand. | | I'm now in search of a replacement ftell function that returns a | scalar, as I don't think there is a way to typecast streamoff to | scalar (?)... Version 2.1.53 is quite old. The current version of Octave (2.1.72) should work as you expect. jwe ------------------------------------------------------------- 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 -------------------------------------------------------------