octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building on macOS?


From: Ben Abbott
Subject: Re: building on macOS?
Date: Sun, 04 Nov 2018 18:41:46 -0800



On Nov 4, 2018, at 5:35 PM, Ben Abbott <address@hidden> wrote:

On Nov 4, 2018, at 5:13 PM, Dmitri A. Sergatskov <address@hidden> wrote:

On Sun, Nov 4, 2018 at 7:11 PM Ben Abbott <address@hidden> wrote:
Sebastian / Andrew / others?

I’ve made the switch to Mojave. I’m able to build a functional Octave GUI, but the CLI version is crashing when building the docs.

/bin/sh run-octave --norc --silent --no-history --path /Users/bpabbott/Development/mercurial/default/sources/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi', 'txt');"
fatal: caught signal Segmentation fault: 11 -- stopping myself...
make[2]: *** [doc/interpreter/voronoi.txt] Segmentation fault: 11
make[2]: *** Deleting file `doc/interpreter/voronoi.txt’

I’m not sure if this is due to the switch to 10.14 or due to a change to the sources. If either of you are still running 10.13, can you confirm you’re able to build the docs?


What happens if you type make after the crash? Does it crash again, or 
continue building?

Dmitri.

Crashes again. If I run manually, the error below occurs.

geometryimages ('doc/interpreter/', 'voronoi', 'txt');
error: fputs: invalid stream number = -1
error: called from
    geometryimages>image_as_txt at line 179 column 3
    geometryimages at line 38 column 5

Seems likely something changed with Mojave (macOS 10.14). But thought I’d ask before burning my free time on this.

Ben

I tried generating a txt file manually. No error.

function image_as_txt (d, nm)
  fid = fopen (fullfile (d, [nm ".txt"]), "wt");
  fputs (fid, "\n");
  fputs (fid, "+---------------------------------+\n");
  fputs (fid, "| Image unavailable in text mode. |\n");
  fputs (fid, "+---------------------------------+\n");
  fclose (fid);
endfunction
image_as_txt (‘./doc/interpreter/', 'foo')

Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]