From bug-octave-request at bevo dot che dot wisc dot edu Thu Feb 12 15:49:23 1998 Subject: Compiling octave on a ppc From: saludes at cvc dot uab dot es (Saludes) To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 12 Feb 1998 11:29:44 +0100 --Boundary_(ID_QqNtuxZqt+nqJ4VupuhxGA) Content-type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=text Content-description: text Content-disposition: ATTACHMENT; FILENAME=text X-Sun-Charset: us-ascii I'm trying to get a running octave on a PowerMac 7600/132. Compilation runs ok (with warnings) and octave works ok as far as I can see; But in some particular expressions, it exits without complaint after giving the right answer and displaying the next prompt. I think this happens when computing an expression involving a binary operator on two *literal numerics or chars*. A workaround is to assign a literal to a variable and then compute using this variable. I've attached below some examples and the system configuration. Looking forward to your suggestions, --Jordi Saludes saludes at cvc dot uab dot es --Boundary_(ID_QqNtuxZqt+nqJ4VupuhxGA) Content-type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=bugs Content-description: default Content-disposition: ATTACHMENT; FILENAME=bugs X-Sun-Charset: us-ascii X-Sun-Data-type: default-app [saludes at verisleny saludes]$ * Machinew configuration: Linux 2.0.30-osfmach3 #1 Wed Nov 12 16:06:55 PST 1997 ppc * Examples showing the bug: octave Octave, version 2.0.9 (powerpc-unknown-linux-gnu). Copyright (C) 1996, 1997 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> 2+3 ans = 5 octave:2> # EXITS! [saludes at verisleny saludes]$ octave Octave, version 2.0.9 (powerpc-unknown-linux-gnu). Copyright (C) 1996, 1997 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> a=2 a = 2 octave:2> a+3 # fine ans = 5 octave:3> sin(2/3) ans = 0.61837 octave:4> # EXITS! [saludes at verisleny saludes]$ octave Octave, version 2.0.9 (powerpc-unknown-linux-gnu). Copyright (C) 1996, 1997 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> x=2 x = 2 octave:2> sin(x/3) ans = 0.61837 # fine octave:3> [2 3] ans = 2 3 octave:4> # EXITS! [saludes at verisleny saludes]$ octave Octave, version 2.0.9 (powerpc-unknown-linux-gnu). Copyright (C) 1996, 1997 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> b=3 b = 3 octave:2> [b 4; 5 6] ans = # fine 3 4 5 6 octave:3> "a"+0 error: invalid conversion from string to real matrix octave:3> ["a" "bcd"] ans = abcd # EXITS! octave:4> [saludes at verisleny saludes]$ --Boundary_(ID_QqNtuxZqt+nqJ4VupuhxGA)--